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
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 S7DataMB {
 
 
    @S7Variable(address = "DB19.6", type = EDataType.FLOAT32)
    private Float speed;
 
    @S7Variable(address = "DB49.10", type = EDataType.INT32)
    private Integer width;
 
    @S7Variable(address = "DB49.2", type = EDataType.INT32)
    private Integer toEdingId;
 
    @S7Variable(address = "DB49.6", type = EDataType.INT32)
    private Integer glassId;
 
    @S7Variable(address = "DB49.14", type = EDataType.INT32)
    private Integer height;
 
    @S7Variable(address = "DB49.18", type = EDataType.INT16)
    private Short thickness;
 
    @S7Variable(address = "DB49.0.3", type = EDataType.BOOL)
    private Boolean mesControl;
 
}