From 29eab346b55c74fb1ed3212ff7dcb0c24c7662fa Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 15 五月 2025 11:22:31 +0800
Subject: [PATCH] 示范区项目,虚拟卡表的占用状态及剩余金额需要设置成默认值,即不占用,不减费。修改原来的实现,增加设备剩余金额为默认值10000,配置项名称也做了达意修改。

---
 pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1/ParseParamsForDownV1.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1/ParseParamsForDownV1.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1/ParseParamsForDownV1.java
index 04cca4f..782c3f2 100644
--- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1/ParseParamsForDownV1.java
+++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1/ParseParamsForDownV1.java
@@ -6,6 +6,7 @@
 
 	public String rtuResultSendWebUrl ;//rtu杩斿洖鍛戒护缁撴灉 鍙戝悜鐩殑鍦皐eb URL
 	public String protocolName ;
+	public Short protocolVersion ;
 	public String rtuAddr ;//鎺у埗鍣ㄥ湴鍧�
 	public String commandId ;
 	public String commandCode ;
@@ -16,7 +17,8 @@
 	
 	public void clear(){
 		this.protocolName = null ; 
-		this.rtuAddr = null ; 
+		this.protocolVersion = null ;
+		this.rtuAddr = null ;
 		this.commandId = null ;
 		this.commandCode = null ; 
 		this.param = null ; 
@@ -26,6 +28,7 @@
 	public void setValue(
 			String rtuResultSendWebUrl,
 			String protocolName,
+			Short protocolVersion,
 			String rtuAddr,
 			String commandId,
 			String commandCode, 
@@ -33,6 +36,7 @@
 			Object attachment ){
 		this.rtuResultSendWebUrl = rtuResultSendWebUrl ;
 		this.protocolName = protocolName ;
+		this.protocolVersion = protocolVersion ;
 		this.rtuAddr = rtuAddr ;
 		this.commandId = commandId ;
 		this.commandCode = commandCode ; 

--
Gitblit v1.8.0