注册请求费率
This commit is contained in:
parent
e8798ada8b
commit
5c9c71a4a3
@ -102,7 +102,8 @@ public class ChargingPileBinaryHandler implements ClientBinaryHandler {
|
||||
cachePile.put("tcfg", false);
|
||||
REDIS.setCacheMap(pilekey, cachePile);
|
||||
regHandler(handler, pileNo, req);
|
||||
} else if (SERVICE_RMCR.equals(serviceName) && OK.equals(resultCode)) {
|
||||
}
|
||||
if (SERVICE_RMCR.equals(serviceName) && OK.equals(resultCode)) {
|
||||
setCachePileRM(pilekey);
|
||||
}
|
||||
if (result.getBinary() != null) {
|
||||
@ -164,6 +165,7 @@ public class ChargingPileBinaryHandler implements ClientBinaryHandler {
|
||||
ChargingStationDto cacheStation = REDIS.getCacheObject("station:".concat(cachePile.get("stationId").toString()));
|
||||
cachePile.put("rateModelId", cacheStation.getRateModelId());
|
||||
REDIS.setCacheMap(pilekey, cachePile);
|
||||
log.info("rate model responds success √");
|
||||
}
|
||||
|
||||
private List<byte[]> parseDataList(byte[] data) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user