From ea58523b67ad59002a1191c3c564258c5b81f6f2 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 06 五月 2025 17:35:16 +0800
Subject: [PATCH] Revert "1、实现万用token(0000-0000-1234-9876-5); 2、web端单独实现命令结果等待器,并修改相关部分; 3、web端实现透传命令; 4、修改一些不当注释; 5、优化一些代码。"

---
 pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_92_A2_Down.java |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_92_A2_Down.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_92_A2_Down.java
index 26eb4b6..a67201e 100644
--- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_92_A2_Down.java
+++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_92_A2_Down.java
@@ -94,11 +94,7 @@
             bs[index] = cvo.projectNo.byteValue() ;
 
             index ++ ;
-            if(cvo.controllerType.equals("01")){
-                bs[index] = (byte)0xF0 ;
-            }else{
-                bs[index] = (byte)0x00 ;
-            }
+            GlCreate.createValveOrPump(cvo.controllerType, bs, index) ;
 
             index ++ ;
             GlCreate.createIcCardNo(cvo.icCardNo, bs, index);
@@ -125,7 +121,7 @@
             if(cvo.moneyRemain == null){
                 cvo.moneyRemain = 0.0 ;
             }
-            strTemp = "" + (Double.valueOf(cvo.moneyRemain * 100)).intValue() ;
+            strTemp = "" + (Double.valueOf(cvo.moneyRemain * 10000)).intValue() ;
             bTemp = ByteUtil.string2BCD_LE(strTemp) ;
             bTempLen = bTemp.length ;
             count = 0 ;

--
Gitblit v1.8.0