| | |
| | | |
| | | if (stationManger.StationType == StationTypeEnum.StationType_OnlyOutbound.ObjToInt()) |
| | | { |
| | | commonConveyorLine.Communicator.Write("21", (short)256); |
| | | commonConveyorLine.Communicator.Write("21", new byte[] { 1, 0 }); |
| | | } |
| | | else |
| | | { |
| | | commonConveyorLine.Communicator.Write("23", (short)256); |
| | | commonConveyorLine.Communicator.Write("23", new byte[] { 1, 0 }); |
| | | } |
| | | content.OK(); |
| | | } |
| | |
| | | } |
| | | return content; |
| | | } |
| | | /// <summary> |
| | | /// AGV浣滀笟瀹屾垚 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("AgvSearchStatus"), AllowAnonymous] |
| | | public void AgvSearchStatus() |
| | | { |
| | | _taskService.AgvSearchStatus(); |
| | | } |
| | | } |
| | | } |