| | |
| | | //电池电量百分比 |
| | | shuttleProtocol.setBatteryPower(modbusTcpNet.getByteTransform().TransInt16(content,4)); |
| | | //电池温度 |
| | | shuttleProtocol.setBatteryTemp(modbusTcpNet.getByteTransform().TransInt16(content,6)); |
| | | shuttleProtocol.setBatteryTemp(modbusTcpNet.getByteTransform().TransUInt16(content, 6)); |
| | | //错误编号 |
| | | shuttleProtocol.setErrorCode(modbusTcpNet.getByteTransform().TransInt16(content,8)); |
| | | //Plc输出状态IO |
| | |
| | | //读到的二维码Y方向偏移量 |
| | | shuttleProtocol.setCodeOffsetY(modbusTcpNet.getByteTransform().TransInt16(content,20)); |
| | | //当前的电压值 |
| | | shuttleProtocol.setCurrentVoltage(modbusTcpNet.getByteTransform().TransInt16(content,22)); |
| | | shuttleProtocol.setCurrentVoltage(modbusTcpNet.getByteTransform().TransUInt16(content, 22)); |
| | | //当前的模拟量值 |
| | | shuttleProtocol.setCurrentAnalogValue(modbusTcpNet.getByteTransform().TransInt16(content,24)); |
| | | //当前的升降伺服速度 |