ZengTao
2025-05-26 f9db8b289da17dfe430c018f63721fd09e73edfd
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
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.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
 
/**
 * @Author : zhoush
 * @Date: 2025/4/30 14:19
 * @Description:
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class S7DataMBExtra {
 
 
    @S7Variable(address = "DB49.0", type = EDataType.INT16)
    private Short requestOne;
 
    @S7Variable(address = "DB49.46", type = EDataType.INT16)
    private Short widthOne;
 
    @S7Variable(address = "DB49.48", type = EDataType.INT16)
    private Short heightOne;
 
    @S7Variable(address = "DB49.50", type = EDataType.INT16)
    private Short thicknessOne;
 
    @S7Variable(address = "DB49.52", type = EDataType.INT16)
    private Short requestTwo;
 
    @S7Variable(address = "DB49.98", type = EDataType.INT16)
    private Short widthTwo;
 
    @S7Variable(address = "DB49.100", type = EDataType.INT16)
    private Short heightTwo;
 
    @S7Variable(address = "DB49.102", type = EDataType.INT16)
    private Short thicknessTwo;
 
    @S7Variable(address = "DB49.2", type = EDataType.STRING, count = 22)
    private String plcGlassIdOne;
 
    @S7Variable(address = "DB49.24", type = EDataType.STRING, count = 22)
    private String mesGlassIdOne;
 
    @S7Variable(address = "DB49.54", type = EDataType.STRING, count = 22)
    private String plcGlassIdTwo;
 
    @S7Variable(address = "DB49.76", type = EDataType.STRING, count = 22)
    private String mesglassIdTwo;
 
}