| | |
| | | using AutoMapper; |
| | | using HslCommunication.WebSocket; |
| | | using WIDESEAWCS_Tasks.å¹²èä»; |
| | | using WIDESEAWCS_Tasks.æ¿æä»; |
| | | |
| | | namespace WIDESEAWCS_Tasks |
| | | { |
| | |
| | | gMReadData.R_GM_TaskNum = commonStackerCrane.CurrentTaskNum.ObjToInt(); |
| | | gMReadData.R_GM_WorkType = commonStackerCrane.GetValue<StackerCraneDBName, short>(StackerCraneDBName.WorkType); |
| | | gMReadData.R_GM_TrayType = commonStackerCrane.GetValue<StackerCraneDBName, short>(StackerCraneDBName.TrayType); |
| | | gMReadData.R_GM_Column = commonStackerCrane.Communicator.Read<short>("DB11.42.0"); |
| | | string gMData = JsonConvert.SerializeObject(gMReadData); |
| | | _webSocketServer.PublishAllClientPayload(gMData); |
| | | } |