友好提示
This commit is contained in:
parent
62b3381288
commit
47c0914445
@ -178,7 +178,7 @@ public class ChargingController {
|
||||
|
||||
String pileNo = refreshBalanceData.getPileNo();
|
||||
String gunkey = "gun:".concat(pileNo).concat(refreshBalanceData.getGunId());
|
||||
if (CacheDataUtils.hori(gunkey)) return R.fail("等待上一条指令响应");
|
||||
if (CacheDataUtils.hori(gunkey)) return R.fail("余额下发失败,请重试");
|
||||
String skey = gunkey.concat(".seqhex");
|
||||
String seq = seqHex(skey);
|
||||
String refreshBalanceMsg = "6817".concat(seq).concat("0042").concat(pileNo)
|
||||
@ -260,7 +260,7 @@ public class ChargingController {
|
||||
}
|
||||
try {
|
||||
String gunkey = "gun:".concat(pileNo).concat(gunId);
|
||||
if (CacheDataUtils.hori(gunkey)) return R.fail("等待上一条指令响应");
|
||||
if (CacheDataUtils.hori(gunkey)) return R.fail("正在停止充电,如果失败请稍后再试一次");
|
||||
String skey = gunkey.concat(".seqhex");
|
||||
String seq = seqHex(skey);
|
||||
byte[] msg = translateStop(pileNo, gunId, version, seq);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user