package com.dy.common.mw.protocol.pMeterV1_0_1; import com.dy.common.mw.protocol.CodeParseParams; public class ParseParamsForDownV1_0_1 implements CodeParseParams{ public String protocolName ; public String rtuAddr ;//IMEI号(电信平台设备IMEI) public String meterNo ;//水表号 public Integer productId ;//电信平台产品ID,当不在电信平台运行时,为null public String deviceId ;//电信平台设备ID,当不在电信平台运行时,为null public String commandId ; public String commandCode ; public Object param ; public Object attachment ; public ParseParamsForDownV1_0_1(){} public void clear(){ this.protocolName = null ; this.rtuAddr = null ; this.meterNo = null ; this.productId = null ; this.deviceId = null ; this.commandId = null ; this.commandCode = null ; this.param = null ; this.attachment = null ; } public void setValue( String protocolName, String rtuAddr, String meterNo, Integer productId, String deviceId, String commandId, String commandCode, Object param, Object attachment ){ this.protocolName = protocolName ; this.rtuAddr = rtuAddr ; this.meterNo = meterNo ; this.productId = productId ; this.deviceId = deviceId ; this.commandId = commandId ; this.commandCode = commandCode ; this.param = param ; this.attachment = attachment ; } }