ZengTao
2025-05-20 bda66fa3ff0a5d0fb8acd8af0013d5bdb4197093
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
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 S7Data {
 
 
    @S7Variable(address = "DB19.14", type = EDataType.INT16)
    private Integer taskState;
 
    @S7Variable(address = "DB19.18", type = EDataType.INT16)
    private Integer damageCount;
 
    @S7Variable(address = "DB19.20", type = EDataType.INT16)
    private Integer rawGlassWidth;
 
    @S7Variable(address = "DB19.22", type = EDataType.INT16)
    private Integer rawGlassHeight;
 
    @S7Variable(address = "DB19.24", type = EDataType.INT16)
    private Integer slot;
 
    @S7Variable(address = "DB19.26", type = EDataType.INT16)
    private Integer totalCount;
 
    @S7Variable(address = "DB19.28", type = EDataType.INT16)
    private Integer finishCount;
 
    @S7Variable(address = "DB19.x16.0", type = EDataType.BOOL)
    private Integer taskRunning;
 
    @S7Variable(address = "DB19.30", type = EDataType.INT16)
    private Integer inkageState;
 
 
}