using System.Collections.Generic;
using System.Linq;
using WCS.Core;
using WCS.Entity;
using WCS.Entity.Protocol;
namespace WCS.Service.Extensions
{
public static class DeviceExtention
{
///
/// 双工位RGV获取需要取货的站点
///
///
///
public static List DRGVGetValidPickupPoint(this WCS_DEVICE[] deviceList)
{
return deviceList.ToList().Select(v => v.Device()).Where(v => v.Data.PH_STATUS && v.Data.TASKNUM > 10000 && !v.Data2.CONFIRM);
}
}
}