|  |  |  | 
|---|
|  |  |  | import com.dy.common.mw.protocol.CodeParseParams; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public class ParseParamsForDownV1_0_1 implements CodeParseParams{ | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String rtuResultSendWebUrl ;//rtu返回命令结果 发向目的地web URL | 
|---|
|  |  |  | public String protocolName ; | 
|---|
|  |  |  | public String rtuAddr ;//控制器地址 | 
|---|
|  |  |  | public String commandId ; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setValue( | 
|---|
|  |  |  | String protocolName, | 
|---|
|  |  |  | String rtuAddr, | 
|---|
|  |  |  | String rtuResultSendWebUrl, | 
|---|
|  |  |  | String protocolName, | 
|---|
|  |  |  | String rtuAddr, | 
|---|
|  |  |  | String commandId, | 
|---|
|  |  |  | String commandCode, | 
|---|
|  |  |  | Object param, | 
|---|
|  |  |  | Object attachment ){ | 
|---|
|  |  |  | this.protocolName = protocolName ; | 
|---|
|  |  |  | this.rtuAddr = rtuAddr ; | 
|---|
|  |  |  | this.rtuResultSendWebUrl = rtuResultSendWebUrl ; | 
|---|
|  |  |  | this.protocolName = protocolName ; | 
|---|
|  |  |  | this.rtuAddr = rtuAddr ; | 
|---|
|  |  |  | this.commandId = commandId ; | 
|---|
|  |  |  | this.commandCode = commandCode ; | 
|---|
|  |  |  | this.param = param ; | 
|---|