From 1d0f5db6afa0edfebb64fd6e42860c681e4124ef Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 07 十二月 2023 18:43:54 +0800 Subject: [PATCH] git停止管理pipIrr-web-sell.iml文件 --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/Command.java | 13 +------------ 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/Command.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/Command.java index 0638c78..2449b3b 100644 --- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/Command.java +++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/Command.java @@ -62,7 +62,7 @@ public String toString(){ String s = "鍛戒护id=" + id + "\n" ; s += (protocol == null ? "" : ("鍗忚=" + protocol + "\n")); - s += (rtuAddr == null ? "" : ("IMEI鍙�=" + rtuAddr + "\n")); + s += (rtuAddr == null ? "" : ("Rtu鍦板潃=" + rtuAddr + "\n")); s += "鍛戒护绫诲瀷=" + (type.equals(CommandType.innerCommand)?"鍐呴儴鍛戒护":"缁堢鍛戒护") + "\n" ; s += (code == null ? "" : ("鍔熻兘鐮�=" + code + "\n")) ; s += "杩斿洖涓棿浠跺鍛戒护澶勭悊缁撴灉=" + (noRtMwDealRes == null?"杩斿洖":(noRtMwDealRes?"涓嶈繑鍥�":"杩斿洖") + "\n") ; @@ -152,17 +152,6 @@ return this ; } - /* - public static void main(String[] args){ - String json = "{\"attachment\":null,\"code\":\"03\",\"deviceId\":\"d8c9601f214747d98d47a4736e5\",\"id\":\"999999999\",\"meterNo\":\"23040600377\",\"productId\":16873252,\"param\":\"0002\",\"protocol\":\"HAC_NBhV2_5\",\"rtuAddr\":\"863318060168996\",\"type\":\"outerCommand\"}" ; - try { - Command com = jsonToObject(json) ; - System.out.println(com.param); - } catch (Exception e) { - e.printStackTrace(); - } - } - */ public String getId() { return id; -- Gitblit v1.8.0