Commit 2087c3cd by zhouhaibao

[+]修复配置异常

1 parent 4acdef06
package cn.com.glsx.charging.modules.gbt.ocpp16.tcp.base; package cn.com.glsx.charging.modules.gbt.ocpp16.tcp.base;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.RemoteRestartRspHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.BalanceUpdateRspHandler;
import java.util.Map;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.BmsAbortChargingReqHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.BmsAbortChargingReqHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ChargingCompletionReqHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ChargingCompletionReqHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ChargingHandshakeReqHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ChargingHandshakeReqHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ErrorMessageReqHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.MachineChargingReqHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.protocol.MachineAbortChargingReq;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.google.common.collect.Maps;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.DefaultReqHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.DefaultReqHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ErrorMessageReqHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.HeartbeatReqHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.HeartbeatReqHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.LoginReqHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.LoginReqHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.MachineChargingReqHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ModelChargingReqHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ModelChargingReqHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ModelSetRspHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ModelSetRspHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ModelValReqHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ModelValReqHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ParamSettingReqHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ParamSettingReqHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ParamSettingRspHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ParamSettingRspHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.RemoteRestartRspHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ShutdownMachineReqHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ShutdownMachineReqHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ShutdownMachineRespHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.ShutdownMachineRespHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.StartMachineReqHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.StartMachineReqHandler;
...@@ -29,6 +24,9 @@ import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.TimeSettingRspHandler ...@@ -29,6 +24,9 @@ import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.TimeSettingRspHandler
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.TransactionRecordsReqHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.TransactionRecordsReqHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.TransactionRecordsRespHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.TransactionRecordsRespHandler;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.UploadRealTimeReqHandler; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.handler.UploadRealTimeReqHandler;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.google.common.collect.Maps;
import java.util.Map;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Getter; import lombok.Getter;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
...@@ -111,7 +109,7 @@ public final class TcpMapper { ...@@ -111,7 +109,7 @@ public final class TcpMapper {
public static TcpMapper CMD_REQ_BALANCE_UPDATE = regist(0x42, "远程账户余额更新", null); public static TcpMapper CMD_REQ_BALANCE_UPDATE = regist(0x42, "远程账户余额更新", null);
public static TcpMapper CMD_RSP_BALANCE_UPDATE = regist(0x41, "余额更新应答", ModelSetRspHandler.class); public static TcpMapper CMD_RSP_BALANCE_UPDATE = regist(0x41, "余额更新应答", BalanceUpdateRspHandler.class);
public static TcpMapper CMD_REQ_REMOTE_RESTART = regist(0x92, "远程重启", null); public static TcpMapper CMD_REQ_REMOTE_RESTART = regist(0x92, "远程重启", null);
......
...@@ -2,7 +2,6 @@ package cn.com.glsx.charging.modules.gbt.ocpp16.tcp.protocol; ...@@ -2,7 +2,6 @@ package cn.com.glsx.charging.modules.gbt.ocpp16.tcp.protocol;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.base.TcpMapper; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.base.TcpMapper;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.base.TcpRsp; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.base.TcpRsp;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.data.BalanceUpdateRspData;
import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.data.RemoteRestartRspData; import cn.com.glsx.charging.modules.gbt.ocpp16.tcp.data.RemoteRestartRspData;
/** /**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!