ZengTao
2025-05-22 b4ff04d7dd22f0e48bf386cd422e885aef08fed7
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
package com.mes.s7.entity;
 
import com.github.xingshuangs.iot.protocol.common.enums.EDataType;
import com.github.xingshuangs.iot.protocol.s7.serializer.S7Variable;
import lombok.Data;
 
/**
 * @Author : zhoush
 * @Date: 2025/4/30 14:19
 * @Description:
 */
@Data
public class S7DataDLPTwo {
 
 
    @S7Variable(address = "DB3.3118", type = EDataType.BOOL)
    private Boolean mesControl;
 
    @S7Variable(address = "DB19.4", type = EDataType.INT16)
    private Short requestMes;
 
    @S7Variable(address = "DB19.6", type = EDataType.INT16)
    private Short mesReply;
 
    @S7Variable(address = "DB19.308", type = EDataType.INT16)
    private Short from1;
 
    @S7Variable(address = "DB19.310", type = EDataType.INT16)
    private Short from2;
 
    @S7Variable(address = "DB19.312", type = EDataType.INT16)
    private Short from3;
 
    @S7Variable(address = "DB19.314", type = EDataType.INT16)
    private Short from4;
 
    @S7Variable(address = "DB19.316", type = EDataType.INT16)
    private Short from5;
 
    @S7Variable(address = "DB19.318", type = EDataType.INT16)
    private Short from6;
 
    @S7Variable(address = "DB19.320", type = EDataType.INT16)
    private Short to1;
 
    @S7Variable(address = "DB19.322", type = EDataType.INT16)
    private Short to2;
 
    @S7Variable(address = "DB19.324", type = EDataType.INT16)
    private Short to3;
 
    @S7Variable(address = "DB19.326", type = EDataType.INT16)
    private Short to4;
 
    @S7Variable(address = "DB19.328", type = EDataType.INT16)
    private Short to5;
 
    @S7Variable(address = "DB19.330", type = EDataType.INT16)
    private Short to6;
 
    @S7Variable(address = "DB19.332", type = EDataType.INT16)
    private Short state1;
 
    @S7Variable(address = "DB19.334", type = EDataType.INT16)
    private Short state2;
 
    @S7Variable(address = "DB19.336", type = EDataType.INT16)
    private Short state3;
 
    @S7Variable(address = "DB19.338", type = EDataType.INT16)
    private Short state4;
 
    @S7Variable(address = "DB19.340", type = EDataType.INT16)
    private Short state5;
 
    @S7Variable(address = "DB19.342", type = EDataType.INT16)
    private Short state6;
 
    @S7Variable(address = "DB19.176", type = EDataType.STRING, count = 22)
    private String id1;
 
    @S7Variable(address = "DB19.198", type = EDataType.STRING, count = 22)
    private String id2;
 
    @S7Variable(address = "DB19.220", type = EDataType.STRING, count = 22)
    private String id3;
 
    @S7Variable(address = "DB19.242", type = EDataType.STRING, count = 22)
    private String id4;
 
    @S7Variable(address = "DB19.264", type = EDataType.STRING, count = 22)
    private String id5;
 
    @S7Variable(address = "DB19.286", type = EDataType.STRING, count = 22)
    private String id6;
 
 
}