From 18fc70a0c4f2bd6c69ccfd58c1b01edc03d87e73 Mon Sep 17 00:00:00 2001
From: Administrator <zhubaomin>
Date: 星期二, 23 七月 2024 15:45:45 +0800
Subject: [PATCH] 2024-07-23 朱宝民 PC端及小程序自动关阀(定时、定量),项目信息移入配置文件
---
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/CommonV1_0_1.java | 39 ++++++++++++++++++++-------------------
1 files changed, 20 insertions(+), 19 deletions(-)
diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/CommonV1_0_1.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/CommonV1_0_1.java
index c2964d5..3e347ff 100644
--- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/CommonV1_0_1.java
+++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/CommonV1_0_1.java
@@ -153,6 +153,7 @@
*/
public static String icCardType(byte type){
return switch (type) {
+ case 0 -> "鏃犲崱";
case 1 -> "鐢ㄦ埛鍗�";
case 2 -> "绠$悊鍛樺崱";
case 3 -> "璋冭瘯鍗�";
@@ -201,25 +202,25 @@
};
}
- /**
- * 澶勭悊IC鍗$紪鍙凤紝闈虫�诲埗瀹氱殑鍗忚瑕佹眰10浣岻C鍗$紪鍙�
- * @param icCardNo
- * @return
- */
- public static String[] dealIcCardNo(String icCardNo){
- if(icCardNo.length() > 10){
- String tail = icCardNo.substring(icCardNo.length() - 10) ;
- String head = icCardNo.substring(0, icCardNo.length() - 10) ;
- return new String[]{head , tail} ;
- }else if(icCardNo.length() < 10){
- while(icCardNo.length() != 10){
- icCardNo = "0" + icCardNo ;
- }
- return new String[]{null , icCardNo} ;
- }else{
- return new String[]{null , icCardNo} ;
- }
- }
+// /**
+// * 澶勭悊IC鍗$紪鍙凤紝闈虫�诲埗瀹氱殑鍗忚瑕佹眰10浣岻C鍗$紪鍙�
+// * @param icCardNo
+// * @return
+// */
+// public static String[] dealIcCardNo(String icCardNo){
+// if(icCardNo.length() > 10){
+// String tail = icCardNo.substring(icCardNo.length() - 10) ;
+// String head = icCardNo.substring(0, icCardNo.length() - 10) ;
+// return new String[]{head , tail} ;
+// }else if(icCardNo.length() < 10){
+// while(icCardNo.length() != 10){
+// icCardNo = "0" + icCardNo ;
+// }
+// return new String[]{null , icCardNo} ;
+// }else{
+// return new String[]{null , icCardNo} ;
+// }
+// }
/*
* 鍒嗘瀽鐗堟湰鍙�
--
Gitblit v1.8.0