MainLineScanCode.cs 800 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using WCS.Core;
  7. using WCS.Entity.Protocol.Station;
  8. namespace WCS.WorkEngineering.Systems
  9. {
  10. public class MainLineScanCode : DeviceSystem<Device<IStation520, IStation521, IStation522>>
  11. {
  12. protected override bool ParallelDo => throw new NotImplementedException();
  13. protected override bool SaveLogsToFile => throw new NotImplementedException();
  14. public override void Do(Device<IStation520, IStation521, IStation522> obj)
  15. {
  16. throw new NotImplementedException();
  17. }
  18. public override bool Select(Device dev)
  19. {
  20. return new int[] { 1701, 2101,1717, 2117}.Contains(int.Parse(dev.Code));
  21. }
  22. }
  23. }