湿拉满轮帘线芯股第一次扫码.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. using System.ComponentModel;
  2. using WCS.Core;
  3. using WCS.Entity.Protocol.BCR;
  4. using WCS.Entity.Protocol.Station;
  5. using WCS.WorkEngineering.Extensions;
  6. using DeviceFlags = WCS.WorkEngineering.Extensions.DeviceFlags;
  7. namespace WCS.WorkEngineering.Systems
  8. {
  9. /// <summary>
  10. /// 湿拉满轮帘线芯股第一次扫码
  11. /// </summary>
  12. //[BelongTo(typeof(SortingMainLineWorld))]
  13. [Description("湿拉满轮帘线芯股第一次扫码")]
  14. public class 湿拉满轮帘线芯股第一次扫码 : DeviceSystem<Device<IStation520, IStation521, IStation523, IBCR83>>
  15. {
  16. protected override bool ParallelDo => true;
  17. protected override bool SaveLogsToFile => true;
  18. public override void Do(Device<IStation520, IStation521, IStation523, IBCR83> obj)
  19. {
  20. var bcrCodeList = obj.Data4.GetBcrCodeList();
  21. //获取当前站台对应的编码信息
  22. //WmsApi.EnteMainLine(bcrCodeList, obj.Entity.Code);
  23. }
  24. public override bool Select(Device dev)
  25. {
  26. return dev.HasFlag(DeviceFlags.满轮主线第一次扫码);
  27. }
  28. }
  29. }