pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/CommonV1_0_1.java
@@ -147,7 +147,7 @@
      return b ;
   }
   /**
    * 得到IC卡类型名称 ( 卡类型(1:用户卡;2:管理员卡;3:调试卡;4:开关阀卡;5:清空卡))
    * 得到IC卡类型名称 ( 卡类型(1:用户卡;2:管理员卡;3:调试卡;4:巡检卡;5:清空卡))
    * @param type 字节
    * @return 名称
    */
@@ -157,7 +157,7 @@
         case 1 -> "用户卡";
         case 2 -> "管理员卡";
         case 3 -> "调试卡";
         case 4 -> "开关阀卡";
         case 4 -> "巡检卡";
         case 5 -> "清空卡";
         default -> "未知";
      };
@@ -175,16 +175,20 @@
    * 7:紧急关闭;
    * 8:用户远程开阀;
    * 9:用户远程关阀;
    * 10:开关阀卡关阀;
    * 11:开关阀卡刷卡卡开阀;
    * 10:巡检卡关阀;
    * 11:巡检卡刷卡卡开阀;
    * 12:黑名单命令关阀;
    * 13:远程定时关阀;
    * 14:远程定量关阀;
    * 16:管道无水自动关阀;(王江海协议)
    * )
    * @param type 字节
    * @return 名称
    */
   public static String openCloseValveType(byte type){
   public static String openCloseValveType(Byte type){
      if(type == null){
         return "" ;
      }
      return switch (type) {
         case 1 -> "刷卡开阀";
         case 2 -> "刷卡关阀";
@@ -195,11 +199,12 @@
         case 7 -> "紧急关阀";
         case 8 -> "用户远程开阀";
         case 9 -> "用户远程关阀";
         case 10 -> "开关阀卡关阀";
         case 11 -> "开关阀卡开阀";
         case 10 -> "巡检卡关阀";
         case 11 -> "巡检卡开阀";
         case 12 -> "黑名单命令关阀";
         case 13 -> "远程定时关阀";
         case 14 -> "远程定量关阀";
         case 16 -> "管道无水自动关阀";
         default -> "未知";
      };
   }