| | |
| | | |
| | | index ++ ;//水泵/阀 0xf0:阀门 0x00:水泵 |
| | | |
| | | index ++ ;//当前用水方式 1个HEX 0x00:正常刷卡开泵/阀用水 |
| | | index ++ ;//当前用水方式 |
| | | cdData.opType = bs[index]; |
| | | |
| | | index++ ; |
| | | cdData.icCardAddr = ByteUtil.bytes2Hex(bs, false, index, 4) ; |
| | |
| | | cdData.eleTotalAmount = ByteUtil.BCD2Long_LE(bs, index, index + 4)/100.0D ; |
| | | |
| | | index += 5 ; |
| | | cdData.moneyRemainUser = ByteUtil.BCD2Long_LE(bs, index, index + 4)/100.0D ; |
| | | cdData.moneyRemainUser = ByteUtil.BCD2Long_LE(bs, index, index + 4)/10000.0D ;//2025-02-24,剩余金额改为4位小数 |
| | | |
| | | index += 5 ; |
| | | cdData.waterRemainUser = ByteUtil.BCD2Long_LE(bs, index, index + 4)/100.0D ; |