| | |
| | | |
| | | boolean[] status2 = siemensNet.getByteTransform().TransBool(result.Content, i * 10 + 7, 1); |
| | | statusEntity.setEnableIn(status2[1]);//启动入库 |
| | | statusEntity.setRunBlock(status2[2]);//重新规划路线 |
| | | |
| | | Integer palletHeight = null; |
| | | if (status[7]) { |
| | |
| | | int stationIdx = findIndex(command.getStationId()); |
| | | |
| | | short[] data = new short[2]; |
| | | data[0] = command.getStationId().shortValue(); |
| | | data[0] = (short) 0; |
| | | data[1] = command.getTargetStaNo().shortValue(); |
| | | |
| | | OperateResult writeTaskNo = siemensNet.Write("DB13." + (stationIdx * 48 + (taskWriteIdx * 12)), command.getTaskNo()); |