| | |
| | | package com.dy.common.mw.protocol; |
| | | |
| | | import com.dy.common.mw.protocol.p206V1_0_0.*; |
| | | |
| | | /** |
| | | * 从RTU收到数据 |
| | | */ |
| | |
| | | ProtocolUnit.getInstance().adapter.getSingleActionFromRtu(this.protocolName).doAction(this); |
| | | } |
| | | |
| | | public void matchedCommand(String commandId, Object toRtuMidResultParam, String rtuResultSendWebUrl){ |
| | | public void matchedCommand(String commandId, String rtuResultSendWebUrl){ |
| | | this.commandId = commandId ; |
| | | if(this.data != null){ |
| | | this.data.setCommandId(commandId); |
| | | } |
| | | /* |
| | | if(toRtuMidResultParam != null){ |
| | | if(protocolName != null && protocolName.equals(ProtocolConstantV206V1_0_0.protocolName)){ |
| | | if(upCode != null && upCode.equals(CodeV1_0_1.cd_97)){ |
| | |
| | | } |
| | | } |
| | | } |
| | | */ |
| | | this.rtuResultSendWebUrl = rtuResultSendWebUrl ; |
| | | if(this.data != null){ |
| | | this.data.setRtuResultSendWebUrl(rtuResultSendWebUrl); |