1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| package com.dy.common.mw.protocol;
|
| /**
| * @Author: liurunyu
| * @Date: 2024/11/3 13:12
| * @Description 只有驱动+协议解析器才知道RTU真实的状态,所认提供此接口,向外通知设备的一些状态
| */
| public interface Notify {
| /**
| * RTU信息通知
| * @param rtuAddr
| * @param protocolName
| * @param protocolVersion
| * @param info
| */
| public void notify(String rtuAddr,
| String protocolName,
| Short protocolVersion,
| NotifyInfo ...info) ;
| }
|
|