| | |
| | | cdData.icCardNo = GlParse.parseIcCardNo(bs, index, 6, 2) ; |
| | | |
| | | index += 8 ; |
| | | int chargeMoney = ByteUtil.BCD2Int_BE(bs, index, index + 4) ; |
| | | Long chargeMoney = ByteUtil.BCD2Long_LE(bs, index, index + 4) ; |
| | | cdData.chargeMoney = chargeMoney/100.0D; |
| | | |
| | | index += 5 ; |
| | | int chargeWater = ByteUtil.BCD2Int_BE(bs, index, index + 4) ; |
| | | Long chargeWater = ByteUtil.BCD2Long_LE(bs, index, index + 4) ; |
| | | cdData.chargeWater = chargeWater/100.0D; |
| | | |
| | | index += 5 ; |
| | | cdData.flowNo = ByteUtil.BCD2String_BE(bs, index, index + 5) ; |
| | | cdData.flowNo = ByteUtil.BCD2String_LE(bs, index, index + 5) ; |
| | | |
| | | index += 6 ; |
| | | byte flag = bs[index] ; |