| | |
| | | { |
| | | if (task.TaskStatus == (int)TaskStatusEnum.已宿) |
| | | { |
| | | //using (StationServiceClient client = new StationServiceClient()) |
| | | //{ |
| | | // var res = await client.OutboundFinishConfirmAsync((int)EDevice.Station, true, rgvLocation); |
| | | //} |
| | | using (StationServiceClient client = new StationServiceClient()) |
| | | { |
| | | var res = await client.OutboundFinishConfirmAsync((int)EDevice.Station, true, rgvLocation, false); |
| | | } |
| | | continue; |
| | | } |
| | | |
| | |
| | | //ç»PLCæ¨éä»»å¡å®æç¡®è®¤ä¿¡å· |
| | | using (StationServiceClient client = new StationServiceClient()) |
| | | { |
| | | var res = await client.OutboundFinishConfirmAsync((int)EDevice.Station, true, rgvLocation); |
| | | var res = await client.OutboundFinishConfirmAsync((int)EDevice.Station, true, rgvLocation, true); |
| | | if (!res.result) |
| | | { |
| | | SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound = $"{rgvLocation.ToString()}-ä¸ååºåºä»»å¡ 失败,OutboundFinishConfirmAsync è¿å:{res.resMsg}"; |
| | |
| | | } |
| | | else |
| | | { |
| | | |
| | | using (StationServiceClient client = new StationServiceClient()) |
| | | { |
| | | var res = await client.OutboundFinishConfirmAsync((int)EDevice.Station, false, rgvLocation, false); |
| | | } |
| | | } |
| | | } |
| | | } |