huang
2025-10-22 78d73df2f8e0c6855d65eb1f2c6df08e0f99bab1
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
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 S7DataSP {
 
 
    @S7Variable(address = "DB151.0", type = EDataType.UINT16)
    private Integer plcRequest;
 
    @S7Variable(address = "DB151.2", type = EDataType.UINT16)
    private Integer plcRequestId;
 
    @S7Variable(address = "DB151.10", type = EDataType.UINT16)
    private Integer plcReport;
 
    @S7Variable(address = "DB151.12", type = EDataType.UINT16)
    private Integer plcReportId;
 
    @S7Variable(address = "DB151.20", type = EDataType.UINT16)
    private Integer mesSend;
 
    @S7Variable(address = "DB151.22", type = EDataType.UINT16)
    private Integer mesSendId;
 
    @S7Variable(address = "DB151.24", type = EDataType.UINT16)
    private Integer slot;
 
    @S7Variable(address = "DB151.26", type = EDataType.UINT16)
    private Integer rawGlassHeight;
 
    @S7Variable(address = "DB151.28", type = EDataType.UINT16)
    private Integer rawGlassWidth;
 
    @S7Variable(address = "DB151.40", type = EDataType.UINT16)
    private Integer mesConfirm;
}