From c2976b80e8850be2d28dc2132c6659856b871f3c Mon Sep 17 00:00:00 2001
From: zhubaomin <zhubaomin>
Date: 星期四, 08 五月 2025 21:10:42 +0800
Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV

---
 pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/global/GlCreate.java |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/global/GlCreate.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/global/GlCreate.java
index 60e7d69..49f7648 100644
--- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/global/GlCreate.java
+++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/global/GlCreate.java
@@ -34,6 +34,21 @@
         return bsHead ;
     }
 
+
+    /**
+     * 0xf0闃�闂� 0x00姘存车
+     * @param controllerTypeByHex
+     * @param bs
+     * @param index
+     */
+    public static void createValveOrPump(String controllerTypeByHex, byte[] bs, int index){
+        if(controllerTypeByHex != null && controllerTypeByHex.equals("57")){
+            bs[index] = (byte)0x00 ;
+        }else{
+            bs[index] = (byte)0xF0 ;
+        }
+    }
+
     /**
      * 鐢熸垚鎺у埗鍣ㄥ湴鍧�
      * 6瀛楄妭BCD鐮侊紙12浣嶈鏀垮尯鍒掞級 + 2瀛楄妭HEX

--
Gitblit v1.8.0