liurunyu
2024-05-16 f3d3eacf5af65ebfcfcc3b82e7488401ac545453
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package com.dy.common.mw.protocol.p206V202404;
 
import com.dy.common.mw.protocol.CodeParseParams;
 
public class ParseParamsForDownV202404 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 ParseParamsForDownV202404(){}
    
    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 ; 
    }
 
}