| | |
| | | if (command != null && command.JoinStatus == 1) |
| | | { |
| | | #region ç©¿æ¢è½¦ä»»å¡å®æ |
| | | if (command.TaskTypeComplete > (short)ShuttleCarTaskComplete.Standby) |
| | | if (command.TaskTypeComplete > (short)ShuttleCarTaskComplete.Standby && command.Status == command.TaskTypeComplete) |
| | | { |
| | | var Status = _taskService.ShuttleCarTaskCompleted(command.number, command.TaskTypeComplete).Status; |
| | | shuttleCar.SetValue(ShuttleCarDBName.ConfirmComplete, Status, shuttleCar.DeviceCode); |
| | |
| | | #endregion |
| | | |
| | | #region å建移车å
çµä»»å¡ |
| | | if (command.Err_Status == (short)ShuttleCarErr.LowBattery || command.ElectricQuantity == (short)ShuttleCarErr.LowBattery) |
| | | if (command.Err_Status == (short)ShuttleCarErr.LowBattery || command.ElectricQuantity <= (short)ShuttleCarErr.LowBattery) |
| | | { |
| | | //çæå åæºç§»è½¦ä»»å¡&ç©¿æ¢è½¦å
çµä»»å¡ |
| | | var ShuttleCar = QueryCode(shuttleCar.DeviceCode);//å
çµç»ç¹å¾
确认ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ |
| | |
| | | #endregion |
| | | |
| | | #region è·åç§»è½¦ä»»å¡ |
| | | Get_CarTask(shuttleCar,command); |
| | | Get_CarTask(shuttleCar, command); |
| | | #endregion |
| | | |
| | | } |