@@ -360,7 +360,7 @@ public class DeviceMsgHandle {
return;
}
- if (!NormalChargeConstant.KEY_PORT_DETAIL_EXTEND.equals(cmd)) {
+ if (NormalChargeConstant.KEY_PORT_DETAIL_EXTEND.equals(type)) {
//163 解析
handle163(jsonObject,imei,pileCode);
@@ -37,7 +37,7 @@ public class DeviceConnectionMsg {
this.deviceSn=deviceSn;
this.ver = ver;
this.is18 = true;
- this.isDc = isDc == 1;
+ this.isDc = isDc == 0;
if(!ver.startsWith("1.8")){
this.is18=false;