jek 1 rok pred
rodič
commit
4778567618

+ 1 - 1
src/main/java/com/zhili/zkstationserver/dto/ExchangeRecordInfo.java

@@ -73,7 +73,7 @@ public class ExchangeRecordInfo {
         targetSoc = Byte.toUnsignedInt(data[251]) * 0.4f;
         sourceSoh = Byte.toUnsignedInt(data[252]) * 0.4f;
         targetSoh = Byte.toUnsignedInt(data[253]) * 0.4f;
-        exchangePower = BytesUtil.toIntWithLowerFirst(ArrayUtils.subarray(data, 254, 258)) * 0.2f;
+        exchangePower = BytesUtil.toIntWithLowerFirst(ArrayUtils.subarray(data, 254, 258)) * 0.4f;
         powerFee = BytesUtil.toIntWithLowerFirst(ArrayUtils.subarray(data, 258, 262)) * 0.2f;
         serviceFee = BytesUtil.toIntWithLowerFirst(ArrayUtils.subarray(data, 262, 266)) * 0.2f;
         startTime = BytesUtil.composeTimeString(ArrayUtils.subarray(data, 266, 274));