| | |
| | | { |
| | | commonStackerCrane.SetValue(StackerCraneDBName.AGVAlwASRSGetGoods, ASRSRqtGetGoods); |
| | | WriteDebug($"{commonStackerCrane.DeviceName}请æ±åè´§", $"WCSå
许åè´§,ä»»å¡å·ã{task.TaskNum}ã"); |
| | | if (task.TaskState == TaskOutStatusEnum.SC_OutExecuting.ObjToInt()) |
| | | { |
| | | task.TaskState = TaskOutStatusEnum.SC_OutGetFinish.ObjToInt(); |
| | | _taskRepository.UpdateData(task); |
| | | } |
| | | } |
| | | else |
| | | { |
| | |
| | | |
| | | shuttleCar.SetValue(ShuttleCarDBName.ASRSGetGoodsDone, ASRSGetGoodsDone, shuttleCar.DeviceCode); |
| | | if (ASRSGetGoodsDone) |
| | | { |
| | | if (_taskService.TaskOutboundTypes.Contains(task.TaskType) && task.TaskState == TaskOutStatusEnum.SC_OutExecuting.ObjToInt()) |
| | | { |
| | | task.TaskState = TaskOutStatusEnum.SC_OutGetFinish.ObjToInt(); |
| | | _taskRepository.UpdateData(task); |
| | | } |
| | | WriteDebug($"{commonStackerCrane.DeviceName}åè´§å®æ", $"ã{shuttleCar.DeviceName}ã,ä»»å¡å·ã{task.TaskNum}ã"); |
| | | } |
| | | |
| | | shuttleCar.SetValue(ShuttleCarDBName.ASRSPutAGoodsDone, ASRSPutAGoodsDone, shuttleCar.DeviceCode); |
| | | if (ASRSPutAGoodsDone) |