| | |
| | | task.ExceptionMessage = $"ã{task.SourceAddress}ãåå
¥3楼åºåºç®±æ¾å°ä½å¤±è´¥"; |
| | | task.Remark = $"{device.DeviceCode}_Outboundboxon_{1}_{task.SourceAddress}"; throw; |
| | | } |
| | | |
| | | |
| | | } |
| | | BaseDal.UpdateData(task); |
| | | } |
| | |
| | | task.ExceptionMessage = $"ã{task.TargetAddress}ãåå
¥4楼空箱æ¾å°ä½å¤±è´¥"; |
| | | task.Remark = $"{device.DeviceCode}_Emptyboxplacedinposition_{1}_{task.TargetAddress}"; |
| | | } |
| | | |
| | | |
| | | } |
| | | BaseDal.UpdateData(task); |
| | | } |
| | |
| | | task.ExceptionMessage = $"ã{task.SourceAddress}ãåå
¥4楼åºåºåç®±å®æå¤±è´¥"; |
| | | task.Remark = $"{device.DeviceCode}_Outboundboxretrievalcompleted_{1}_{task.SourceAddress}"; |
| | | } |
| | | |
| | | |
| | | } |
| | | BaseDal.UpdateData(task); |
| | | } |
| | |
| | | task.ExceptionMessage = $"ã{Address}ãå
³é请æ±è¿å
¥å¤±è´¥ï¼"; |
| | | task.Remark = $"{device.DeviceCode}_RequestToEnter_{false}_{Address}"; |
| | | } |
| | | |
| | | |
| | | } |
| | | BaseDal.UpdateData(task); |
| | | } |
| | |
| | | task.ExceptionMessage = $"ãTSJR3Fã3楼读ç 触å失败ï¼"; |
| | | task.Remark = $"{device.DeviceCode}_Codereadingtriggered_{1}_TSJR3F"; |
| | | } |
| | | |
| | | |
| | | } |
| | | task.TaskState = (int)TaskStatusEnum.CheckPalletCodeing; |
| | | BaseDal.UpdateData(task); |
| | |
| | | var task = BaseDal.QueryFirst(x => x.PalletCode == Rgv.content.podID); |
| | | if (task == null) throw new Exception($"æªæ¾å°ä»»å¡,ä»»å¡ç¼å·ã{Rgv.content.taskID}ã"); |
| | | //ç§»åº |
| | | if (task.TaskType == TaskTypeEnum.CPMoveInventory.ObjToInt()) |
| | | if (task.TaskType == TaskTypeEnum.CPMoveInventory.ObjToInt() && string.IsNullOrEmpty(task.WMSTaskNum)) |
| | | { |
| | | if (Rgv.messageType == 72) |
| | | { |
| | |
| | | if (task.TaskType == (int)TaskTypeEnum.CPInbound && task.TaskState == (int)TaskStatusEnum.Execut) |
| | | { |
| | | task.TaskState = (int)TaskStatusEnum.WaiCheckShape; |
| | | //BaseDal.UpdateData(task);//ç»è´¨æ£é¨åå
¥å¯å¨ä¿¡å· |
| | | var device = Storage.Devices.FirstOrDefault(x => x.DeviceCode == "F1") as OtherDevice; |
| | | if (device == null) task.ExceptionMessage = "æªæ¾å°1楼质æ£é¨è®¾å¤ä¿¡æ¯"; |
| | | else |
| | | if (task.SourceAddress != "OUT-01") |
| | | { |
| | | if (device.IsConnected) |
| | | device.SetValue(QualityInspectionCommandEnum.StartqualityInspection, true, task.SourceAddress); |
| | | //BaseDal.UpdateData(task);//ç»è´¨æ£é¨åå
¥å¯å¨ä¿¡å· |
| | | var device = Storage.Devices.FirstOrDefault(x => x.DeviceCode == "F1") as OtherDevice; |
| | | if (device == null) task.ExceptionMessage = "æªæ¾å°1楼质æ£é¨è®¾å¤ä¿¡æ¯"; |
| | | else |
| | | task.ExceptionMessage = "1楼质æ£é¨è®¾å¤è¿æ¥å¤±è´¥"; |
| | | { |
| | | if (device.IsConnected) |
| | | device.SetValue(QualityInspectionCommandEnum.StartqualityInspection, true, task.SourceAddress); |
| | | else |
| | | task.ExceptionMessage = "1楼质æ£é¨è®¾å¤è¿æ¥å¤±è´¥"; |
| | | } |
| | | } |
| | | TaskFeedback(task, 4); |
| | | } |
| | |
| | | { |
| | | if (locationStatusEnum == LocationStatusEnum.Free) //å¦æèµ·ç¹å®æå°±ç»è´§ä½èµå¼æçå· |
| | | { |
| | | stationManger.Remark =""; |
| | | stationManger.Remark = ""; |
| | | stationManger.IsOccupied = LocationStatusEnum.Free.ObjToInt(); |
| | | } |
| | | else |