Commit 9d207828 by 谢海旭

调整测试用例

1 parent d7bd42c8
......@@ -37,7 +37,7 @@ public class ParamSettingTest {
ProxyInfo proxyInfo = ProxyHelper.getProxyInfo(host);
if (proxyInfo != null) {
ParamSettingReqData data = new ParamSettingReqData();
data.setPointId(Ocpp16Helper.strToBcd("55031412782305", data.getPointId()));
data.setPileId(Ocpp16Helper.strToBcd("55031412782305", data.getPileId()));
data.setAuthStatus((byte) 0);
data.setMaxPower((byte) 100);
......
......@@ -46,7 +46,7 @@ public class TimeSettingTest {
String cp56Time2a = ByteUtils.cp56Time2a(date);
TimeSettingReqData data = new TimeSettingReqData();
data.setPointId(Ocpp16Helper.strToBcd("55031412782305", data.getPointId()));
data.setPileId(Ocpp16Helper.strToBcd("55031412782305", data.getPileId()));
data.setTime(HexUtil.decodeHex(cp56Time2a));
System.out.println("Cp56Time2a: " + cp56Time2a);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!