#region << 版 本 注 释 >> /*---------------------------------------------------------------- * 命名空间:WIDESEAWCS_Tasks.ConveyorLineJob * 创建者:胡童庆 * 创建时间:2024/8/2 16:13:36 * 版本:V1.0.0 * 描述: * * ---------------------------------------------------------------- * 修改人: * 修改时间: * 版本:V1.0.1 * 修改说明: * *----------------------------------------------------------------*/ #endregion << 版 本 注 释 >> using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_QuartzJob.DeviceBase; namespace WIDESEAWCS_Tasks.ConveyorLineJob { public class ConveyorLineTaskCommand : DeviceCommand { public ushort InteractiveSignal { get; set; } [DataLength(25)] public string Barcode { get; set; } public int TargetAddress { get; set; } public int TaskNum { get; set; } } public enum SignalType { /// /// PLC入库口请求 /// InEntranceRequest, /// /// WCS入库口响应 /// InEntranceResponse, /// /// PLC入库口请求复位 /// InEntranceRequestReset, /// /// WCS入库口响应复位 /// InEntranceResponseReset, /// /// PLC出库口请求 /// OutEntranceRequest, /// /// WCS出库口响应 /// OutEntranceResponse, /// /// PLC出库口请求复位 /// OutEntranceRequestReset, /// /// WCS出库口响应复位 /// OutEntranceResponseReset, /// /// PLC入库站台请求 /// InStationRequest, /// /// WCS入库站台响应 /// InStationResponse, /// /// PLC入库站台请求复位 /// InStationRequestReset, /// /// WCS入库站台响应复位 /// InStationResponseReset, /// /// PLC出库站台请求 /// OutStationRequest, /// /// WCS出库站台响应 /// OutStationResponse, /// /// PLC出库站台请求复位 /// OutStationRequestReset, /// /// WCS出库站台响应复位 /// OutStationResponseReset, } public enum PLCSignalType { RequestInbound = 1, RequestInNextAddress = 2, ConveyorLineInFinish = 3, RequestOutbound = 4, RequestOutNextAddress = 5, ConveyorLineOutFinish = 6 } }