liurunyu
2024-05-06 4b32f94e12f0afab074eee93a96eeb722b5bb090
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/ParseParamsForDownV1_0_1.java
New file
@@ -0,0 +1,43 @@
package com.dy.common.mw.protocol.p206V1_0_0;
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 String commandCode ;
   public Object param ;
   public Object attachment ;
   public ParseParamsForDownV1_0_1(){}
   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 ;
   }
}