From 95ea4b60f3466cbc8ec85c0eb9f1076308a53a0b Mon Sep 17 00:00:00 2001 From: ZZ Date: Thu, 9 Sep 2021 13:21:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=B9=E7=8E=87=E6=A8=A1=E5=9E=8B=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/xhpc/pp/controller/ChargingController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/ChargingController.java b/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/ChargingController.java index 2af18488..893ef6b1 100644 --- a/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/ChargingController.java +++ b/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/ChargingController.java @@ -108,7 +108,7 @@ public class ChargingController { CacheRateModel cacheRateModel = REDIS.getCacheObject("rateModel:".concat(stationRateModelId.toString())); String rateModel = RateModelRequestLogic.translate(cacheRateModel); String skey = pkey.concat(".seqhex"); - String rateModelMsg = "68C2".concat(seqHex(skey)).concat("0058").concat(pileNo) + String rateModelMsg = "685E".concat(seqHex(skey)).concat("0058").concat(pileNo) .concat(String.format("%04X", stationRateModelId)) .concat(rateModel); rateModelMsg = rateModelMsg.concat(CRCCalculator.calcCrc(rateModelMsg.substring(4)));