OutboundSiteInteractionSystems.cs 948 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System.Threading.Tasks;
  2. using WCS.Core;
  3. using WCS.WorkEngineering.Extensions;
  4. namespace WCS.WorkEngineering.Systems
  5. {
  6. /// <summary>
  7. /// 出库站点交互
  8. /// </summary>
  9. public class OutboundSiteInteractionSystems : DeviceSystem<Station>
  10. {
  11. protected override bool ParallelDo => true;
  12. protected override bool SaveLogsToFile => true;
  13. public override void Do(Station obj)
  14. {
  15. var IsThereATask = false;
  16. #region 判断站点是否有任务
  17. #endregion
  18. if (IsThereATask)
  19. {
  20. //TODO判断当前站台是否是一楼
  21. if (true) //一楼无任务站台开始呼叫空轮出库任务
  22. {
  23. }
  24. }
  25. else {
  26. }
  27. }
  28. public override bool Select(Device dev)
  29. {
  30. throw new NotImplementedException();
  31. }
  32. }
  33. }