From b9675b8776553828294bc635879d317b7bb83cc2 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 29 十一月 2023 20:09:52 +0800 Subject: [PATCH] 1、meterNo改为rtuAddr; 2、去掉一些main方法; 3、pom.xml中依赖common和global的<scope>provided</scope>改为<scope>compile</scope> 4、pipIrr-mwTest-server一些修改; 5、.gitignore文件提交。 --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/Command.java | 11 ----------- 1 files changed, 0 insertions(+), 11 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 7bb4162..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 @@ -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