using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SiemenDevice.Model { public class SOpcReadItem { /// /// 1读取心跳 /// public string HandShake { get; set; } /// /// 2设备编号 /// public string SrmNo { get; set; } /// /// 3是否有报警 /// public string Alarm { get; set; } /// /// 4载货台是否有货 /// public string LiftFull { get; set; } /// /// 5设备模式 /// public string Mode { get; set; } /// /// 6当前列 /// public string PosX { get; set; } /// /// 7当前层 /// public string PosY { get; set; } /// /// 8当前排 /// public string PosZ { get; set; } /// /// 9当前列坐标 /// public string PosXmm { get; set; } /// /// 10当前层坐标 /// public string PosYmm { get; set; } /// /// 11当前排坐标 /// public string PosZmm { get; set; } /// /// 12取货完成 /// public string PickFinish { get; set; } /// /// 13放货完成 /// public string DeliveryFinish { get; set; } /// /// 14任务完成 /// public string TaskFinish { get; set; } /// /// 15当前巷道 /// public string ActualLane { get; set; } /// /// 16任务状态 /// public string State { get; set; } /// /// 17报警代码 /// public string AlarmCode { get; set; } /// /// 18任务号 /// public string TaskNo { get; set; } /// /// 19确认收到下发的任务信号 /// public string Ack { get; set; } public string Stb { get; set; } public string TaskFinishConfirm { get; set; } /// /// 3任务类型 /// public string Command { get; set; } /// /// 4急停 /// public string EmergencyStop { get; set; } /// /// 5起始列 /// public string SourcePosX { get; set; } /// /// 6起始层 /// public string SourcePosY { get; set; } /// /// 7起始排 /// public string SourcePosZ { get; set; } /// /// 8目标列 /// public string DestinationPosX { get; set; } /// /// 9目标层 /// public string DestinationPosY { get; set; } /// /// 10目标排 /// public string DestinationPosZ { get; set; } /// /// 13解除报警 /// public string CancleAlarm { get; set; } /// /// 15托盘类型 /// public string PalletType { get; set; } /// /// 16高度 /// public string High { get; set; } public SOpcReadItem() { HandShake = "DB541.0"; PickFinish = "DB541.28"; LiftFull = "DB541.8"; Mode = "DB541.4"; Alarm = "DB541.6"; TaskFinish = "DB541.32"; DeliveryFinish = "DB541.30"; ActualLane = "DB541.38"; SrmNo = "DB541.2"; AlarmCode = "DB541.34"; State = "DB541.36"; PosZ = "DB541.10"; PosX = "DB541.12"; PosY = "DB541.14"; PosXmm = "DB541.16"; PosYmm = "DB541.20"; PosZmm = "DB541.24"; TaskNo = "DB541.40"; Ack = "DB540.32"; TaskFinishConfirm = "DB540.24"; Stb = "DB540.30"; EmergencyStop = "DB540.20"; CancleAlarm = "DB540.22"; Command = "DB540.18"; SourcePosX = "DB540.6"; SourcePosY = "DB540.8"; SourcePosZ = "DB540.10"; DestinationPosX = "DB540.12"; DestinationPosY = "DB540.14"; DestinationPosZ = "DB540.16"; PalletType = "DB540.4"; High = "DB540.26"; } } }