|
@@ -787,13 +787,13 @@ public class DeviceMsgHandle {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (portStatus.equals(PortStatusConstant.INSERT_GUN) || portStatus.equals(PortStatusConstant.BOOKED)) {
|
|
if (portStatus.equals(PortStatusConstant.INSERT_GUN) || portStatus.equals(PortStatusConstant.BOOKED)) {
|
|
|
- deviceOnline(portStatus, imei, port, StatusConstant.FREE, StatusConstant.INSERT_GUNS_NO);
|
|
|
|
|
|
|
+ deviceOnline(portStatus, imei, port, StatusConstant.FREE, StatusConstant.INSERT_GUNS_YES);
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (portStatus.equals(PortStatusConstant.CHARGING_END)) {
|
|
if (portStatus.equals(PortStatusConstant.CHARGING_END)) {
|
|
|
//7状态的时候 充满停止以后 认为未插枪 不允许充电 因为启动不了,必须要重新拔枪
|
|
//7状态的时候 充满停止以后 认为未插枪 不允许充电 因为启动不了,必须要重新拔枪
|
|
|
- deviceOnline(portStatus, imei, port, (byte) StatusConstant.FREE, StatusConstant.INSERT_GUNS_YES);
|
|
|
|
|
|
|
+ deviceOnline(portStatus, imei, port, (byte) StatusConstant.FREE, StatusConstant.INSERT_GUNS_NO);
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
|