From 598271eff3de5d746e20e2c4b7848c75bb5c1092 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 12 六月 2024 09:51:31 +0800 Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV --- pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/test/CommandP206V100Ctrl.java | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/test/CommandP206V100Ctrl.java b/pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/test/CommandP206V100Ctrl.java index 039c6ef..cff7e63 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/test/CommandP206V100Ctrl.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/test/CommandP206V100Ctrl.java @@ -1,6 +1,9 @@ package com.dy.pipIrrMwTestWeb.test; +import com.dy.common.mw.protocol.Command; +import com.dy.common.mw.protocol.CommandType; import com.dy.common.mw.protocol.p206V1_0_0.CodeV1_0_1; +import com.dy.common.mw.protocol.p206V1_0_0.ProtocolConstantV206V1_0_0; import com.dy.common.mw.protocol.p206V1_0_0.downVos.Com97Vo; import com.dy.common.mw.protocol.p206V1_0_0.downVos.Com98Vo; import com.dy.common.webUtil.BaseResponse; @@ -24,7 +27,8 @@ public BaseResponse<String> test() { //return this.connect() ;//杩炴帴閫氫俊涓棿浠舵祴璇� //return this.cd97() ; - return this.cd98() ; + //return this.cd98() ; + return this.online() ; } /** @@ -50,6 +54,16 @@ comVo.icCardNo = CommandP206V100Ctrl.icCardNo ; return this.sendCom2Mw(this.command(CodeV1_0_1.cd_98, comVo, null)) ; } + //鍦ㄧ嚎鎯呭喌 + private BaseResponse online(){ + Command com = new Command() ; + com.id = Command.defaultId;//瀹為檯搴旂敤涓紝鏇挎崲鎴愭暟鎹簱璁板綍id + com.protocol = ProtocolConstantV206V1_0_0.protocolName ; + com.code = CodeLocal.onLine ; + com.type = CommandType.innerCommand ; + com.rtuResultSendWebUrl = rtuResultSendWebUrl ; + return this.sendCom2Mw(com) ; + } } -- Gitblit v1.8.0