左晓为主开发手持机充值管理机
zuoxiao
2024-05-09 b8f8323cc39091d3119101923251a0455da87f55
henanlibrary/src/main/java/com/dayu/henanlibrary/card/UserCard.java
@@ -72,7 +72,7 @@
                    byte[] electricityPriceBytes = new byte[4];
                    System.arraycopy(zero, 4, electricityPriceBytes, 0, electricityPriceBytes.length);
                    userCard.electricityPrice = HexUtil.hexToFloat(HexUtil.bytesToHex(electricityPriceBytes));
                    userCard.electricityPrice = HexUtil.hexToFloatLowHigh(electricityPriceBytes);
                    userCard.state = BcdUtil.bcdToStr(zero[8]);
                    byte[] balanceBytes = new byte[4];
                    System.arraycopy(zero, 9, balanceBytes, 0, balanceBytes.length);
@@ -154,7 +154,7 @@
            System.arraycopy(swipeNumbers, 0, data, 2, swipeNumbers.length);
            byte[] electricityPrices = HexUtil.hexToByteArray(HexUtil.folatToHexString(electricityPrice));
            byte[] electricityPrices = HexUtil.hexToByteArray(HexUtil.floatToHexLowHigh(electricityPrice));
            System.arraycopy(electricityPrices, 0, data, 4, electricityPrices.length);
            try {