Browse Source

请自阅

Shun 2 years ago
parent
commit
41272f8cbf
1 changed files with 45 additions and 21 deletions
  1. 45 21
      README.md

+ 45 - 21
README.md

@@ -1,24 +1,3 @@
-# 采集协议
-OPC UA Client   
-OPC DA Client   
-OPC DA Http   
-ModbusClient TCP/UDP/RTU/Ascii   
-S7Client 所有CPU型号   
-数据库采集(DB)  SqlServer/MySql/Oracle/SQLite   
-can线 采集   
-
-# 转发协议
-Kafka Admin/Consumer/Producer   
-MQTT Client   
-RabbitMQ Publisher/Consumer   
-
-# 协议服务端(用于数据模拟)
-1. MQTT 			Service   
-2. MQTT 			WebSocketService   
-3. OPC 				UA Service   
-4. Modbus			[Service] [TCP/RTU/Ascii]   
-5. S7				Service   
-
 # 阐述
 1. 所有协议公共函数支持同步异步   
 2. 所有协议读取写入协议参数统一   
@@ -31,6 +10,51 @@ RabbitMQ Publisher/Consumer
 9. 事件结果统一   
 10. Core: 支持HTTP、TCP客户端、TCP服务端、UDP、WS客户端、WS服务端、串口、脚本、redis、反射、自定义订阅、虚拟点   
 
+# 采集协议
+1. OpcUaClient   		
+2. OpcDaClient   
+3. OpcDaHttp   
+4. ModbusClient  
+5. S7  
+6. DB  SqlServer/MySql/Oracle/SQLite   
+7. Can  
+
+```sharp
+namespace YSAI.Core.@interface
+{
+    /// <summary>
+    /// 数采接口
+    /// </summary>
+    public interface IDaq : IOn, IOff, IRead, IWrite, ISubscribe, IGetStatus, IEvent, IDisposable
+    {
+    }
+}
+```
+
+# 转发协议
+1. Kafka   
+2. MqttClient   
+3. RabbitMQ    
+
+```sharp
+namespace YSAI.Core.@interface
+{
+    /// <summary>
+    /// 转发接口
+    /// </summary>
+    public interface IRelay : IOn, IOff, IProducer, IConsumer, IGetStatus, IEvent, IDisposable
+    {
+    }
+}
+```
+
+# 协议服务端(用于数据模拟)
+1. MqttService   
+2. MqttWebSocketService   
+3. OpcUaService   
+4. ModbusService 
+5. S7Service   
+
 # 更新表
 
 #### 2023-02-15