From 3c2c295ec48587fe9d9f656e0baa74c71a3884f7 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期日, 27 十月 2024 16:46:45 +0800
Subject: [PATCH] 1、苏有勋把开关阀报(功能码83)报中的控制器时钟去除掉了,通信中间件解决这个报文时,把开阀报中的开阀时间当作控制器时钟,把关阀报中的关阀时间作为控制器时钟; 2、优化代码。

---
 pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/ParseParamsForDownV1_0_1.java |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/ParseParamsForDownV1_0_1.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/ParseParamsForDownV1_0_1.java
new file mode 100644
index 0000000..fbef8cb
--- /dev/null
+++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/ParseParamsForDownV1_0_1.java
@@ -0,0 +1,43 @@
+package com.dy.common.mw.protocol.p206V1_0_0;
+
+import com.dy.common.mw.protocol.CodeParseParams;
+
+public class ParseParamsForDownV1_0_1 implements CodeParseParams{
+
+	public String rtuResultSendWebUrl ;//rtu杩斿洖鍛戒护缁撴灉 鍙戝悜鐩殑鍦皐eb URL
+	public String protocolName ;
+	public String rtuAddr ;//鎺у埗鍣ㄥ湴鍧�
+	public String commandId ;
+	public String commandCode ;
+	public Object param ;
+	public Object attachment ;
+	
+	public ParseParamsForDownV1_0_1(){}
+	
+	public void clear(){
+		this.protocolName = null ; 
+		this.rtuAddr = null ; 
+		this.commandId = null ;
+		this.commandCode = null ; 
+		this.param = null ; 
+		this.attachment = null ; 
+	}
+	
+	public void setValue(
+			String rtuResultSendWebUrl,
+			String protocolName,
+			String rtuAddr,
+			String commandId,
+			String commandCode, 
+			Object param, 
+			Object attachment ){
+		this.rtuResultSendWebUrl = rtuResultSendWebUrl ;
+		this.protocolName = protocolName ;
+		this.rtuAddr = rtuAddr ;
+		this.commandId = commandId ;
+		this.commandCode = commandCode ; 
+		this.param = param ; 
+		this.attachment = attachment ; 
+	}
+
+}

--
Gitblit v1.8.0