123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using System.ComponentModel;
- using WCS.Core;
- using WCS.Entity.Protocol.Station;
- using WCS.WorkEngineering.Worlds;
- namespace WCS.WorkEngineering.Systems
- {
- /// <summary>
- /// 堆垛机系统
- /// </summary>
- [BelongTo(typeof(MainWorld))]
- [Description("堆垛机系统")]
- public class SrmSystems : DeviceSystem<Device<IStation520, IStation521, IStation522>>
- {
- //TODO:堆垛机相关信息未完善等待完善之后再处理
- /// <summary>
- /// 取货点设备集合
- /// </summary>
- private List<Device<IStation520, IStation521, IStation522>> PickUpDevices;
- public SrmSystems()
- {
- PickUpDevices = World.Devices.Where(v => v.Code is "1601" or "1603" or "1605" or "1611" or "1613" or "1615" or "2527" or "2528" or "2727" or "")
- .Select(v => new Device<IStation520, IStation521, IStation522>(v)).ToList();
- }
- protected override bool ParallelDo => true;
- protected override bool SaveLogsToFile => true;
- public override void Do(Device<IStation520, IStation521, IStation522> obj)
- {
- throw new NotImplementedException();
- }
- public override bool Select(Device dev)
- {
- throw new NotImplementedException();
- }
- }
- }
|