From 7efbf921192559cad13a4f8086c46c3617ad2a05 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 31 十月 2024 08:34:42 +0800
Subject: [PATCH] 1、协议解析中,关阀报(83)中的RTU时钟改为关阀时间,但代码误注解掉了这行代码,修改之; 2、通信中间件测试web系统增加查询所在在线情况的命令下发。

---
 pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/AdapterImp_TcpUnit.java |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/AdapterImp_TcpUnit.java b/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/AdapterImp_TcpUnit.java
index 06a8ff4..5411286 100644
--- a/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/AdapterImp_TcpUnit.java
+++ b/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/AdapterImp_TcpUnit.java
@@ -1,9 +1,6 @@
 package com.dy.rtuMw.server;
 
-import com.dy.common.mw.channel.tcp.PrefixedDataAvailableHandle;
-import com.dy.common.mw.channel.tcp.TcpConfigVo;
-import com.dy.common.mw.channel.tcp.TcpIoSessionEventCallback;
-import com.dy.common.mw.channel.tcp.TcpUnitAdapter;
+import com.dy.common.mw.channel.tcp.*;
 import com.dy.common.mw.protocol.PrefixedDataAvailableHandleImp;
 import com.dy.rtuMw.server.forTcp.TcpIoSessionCallback;
 
@@ -30,4 +27,11 @@
 		return new TcpIoSessionCallback() ;
 	}
 
+	/**
+	 * 妯″潡鍋滄鏃剁殑鍥炶皟
+	 */
+	@Override
+	public TcpUnitStopCallback newUnitStopCallback() {
+		return new com.dy.rtuMw.server.forTcp.TcpUnitStopCallback() ;
+	}
 }

--
Gitblit v1.8.0