ZengTao
2025-06-18 cfaa77861170237f07da3113c7d505c70bf371be
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
package com.mes.s7.entity;
 
import com.github.xingshuangs.iot.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 S7DataCC {
 
    @S7Variable(address = "DB38.0", type = EDataType.UINT16)
    private Integer request;
 
    @S7Variable(address = "DB38.2", type = EDataType.UINT16)
    private Integer requestId;
 
    @S7Variable(address = "DB38.10", type = EDataType.UINT16)
    private Integer reportWord;
 
    @S7Variable(address = "DB38.12", type = EDataType.UINT16)
    private Integer reportId;
 
    @S7Variable(address = "DB38.18", type = EDataType.UINT16)
    private Integer inCar;
 
    @S7Variable(address = "DB38.20", type = EDataType.UINT16)
    private Integer taskWord;
 
    @S7Variable(address = "DB38.22", type = EDataType.UINT16)
    private Integer taskId;
 
    @S7Variable(address = "DB38.24", type = EDataType.UINT16)
    private Integer startSlot;
 
    @S7Variable(address = "DB38.26", type = EDataType.UINT16)
    private Integer endSlot;
 
    @S7Variable(address = "DB38.28", type = EDataType.UINT16)
    private Integer taskSending;
 
    @S7Variable(address = "DB38.40", type = EDataType.UINT16)
    private Integer confirmation;
 
    @S7Variable(address = "DB38.42", type = EDataType.UINT16)
    private Integer confirmationId;
 
 
}