| 1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using WCS.Core;
- using WCS.Entity.Protocol.Station;
- namespace WCS.WorkEngineering.Systems
- {
- public class 成品提升机 : DeviceSystem<Device<IStation520, IStation521>>
- {
- protected override bool ParallelDo => true;
- public override void Do(Device<IStation520, IStation521> obj)
- {
- if(obj.Data.VoucherNo!=obj.Data2.VoucherNo)
- {
- return;
- }
- if (obj.Data2.Request != 0)
- return;
- }
- public override bool Select(Device dev)
- {
- return "5001,5011,5022".Split(',').Contains(dev.Code);
- }
- }
- }
|