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