Commit 36f5cc2c6411c877ab1c1b9dda3400d27ab7b56d
1 parent
2a78f832
update..
Showing
2 changed files
with
3 additions
and
2 deletions
src/main/java/com/bsth/client/pd/handler/PdClientHandler.java
| 1 | package com.bsth.client.pd.handler; | 1 | package com.bsth.client.pd.handler; |
| 2 | 2 | ||
| 3 | +import com.bsth.client.ClientApp; | ||
| 3 | import com.bsth.client.GpsBeforeBuffer; | 4 | import com.bsth.client.GpsBeforeBuffer; |
| 4 | import com.bsth.client.msg.IMessageBody; | 5 | import com.bsth.client.msg.IMessageBody; |
| 5 | import com.bsth.client.pd.protocol.PdMessage; | 6 | import com.bsth.client.pd.protocol.PdMessage; |
| @@ -45,7 +46,7 @@ public class PdClientHandler extends IoHandlerAdapter{ | @@ -45,7 +46,7 @@ public class PdClientHandler extends IoHandlerAdapter{ | ||
| 45 | log.info("连网关设备编号:" + deviceId + "断开连接"); | 46 | log.info("连网关设备编号:" + deviceId + "断开连接"); |
| 46 | log.warn(deviceId + "网关设备注销"); | 47 | log.warn(deviceId + "网关设备注销"); |
| 47 | 48 | ||
| 48 | - //ClientApp.dconnect(deviceId); | 49 | + ClientApp.dconnect(deviceId); |
| 49 | } else { | 50 | } else { |
| 50 | log.info("连网关设备编号:" + deviceId + "断开连接"); | 51 | log.info("连网关设备编号:" + deviceId + "断开连接"); |
| 51 | } | 52 | } |