桁架码垛区补空托盘任务生成.cs 934 B

1234567891011121314151617181920212223242526272829303132333435
  1. using PlcSiemens.Core.Extension;
  2. using ServiceCenter.Extensions;
  3. using ServiceCenter.SqlSugars;
  4. using System.ComponentModel;
  5. using WCS.Core;
  6. using WCS.Entity;
  7. using WCS.Entity.Protocol.Station;
  8. using WCS.WorkEngineering.Worlds;
  9. using DeviceFlags = WCS.WorkEngineering.Extensions.DeviceFlags;
  10. using TaskStatus = WCS.Entity.TaskStatus;
  11. namespace WCS.WorkEngineering.Systems
  12. {
  13. /// <summary>
  14. /// 桁架码垛区补空托盘任务生成
  15. /// </summary>
  16. // [BelongTo(typeof(SortingPalletizingWorld))]
  17. [Description("码垛区补空托盘任务生成")]
  18. public class PalletizCreateEmptyTray : DeviceSystem<Device<IStation520>>
  19. {
  20. protected override bool ParallelDo => true;
  21. public override void Do(Device<IStation520> obj)
  22. {
  23. }
  24. public override bool Select(Device dev)
  25. {
  26. return dev.Code == nameof(PalletizCreateEmptyTray);
  27. }
  28. }
  29. }