package com.mes.s7.entity; import com.github.xingshuangs.iot.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.UINT16) private Integer requestOne; @S7Variable(address = "DB49.46", type = EDataType.UINT16) private Integer widthOne; @S7Variable(address = "DB49.48", type = EDataType.UINT16) private Integer heightOne; @S7Variable(address = "DB49.50", type = EDataType.UINT16) private Integer thicknessOne; @S7Variable(address = "DB49.52", type = EDataType.UINT16) private Integer requestTwo; @S7Variable(address = "DB49.98", type = EDataType.UINT16) private Integer widthTwo; @S7Variable(address = "DB49.100", type = EDataType.UINT16) private Integer heightTwo; @S7Variable(address = "DB49.102", type = EDataType.UINT16) private Integer thicknessTwo; @S7Variable(address = "DB49.2", type = EDataType.STRING, count = 14) private String plcGlassIdOne; @S7Variable(address = "DB49.24", type = EDataType.STRING, count = 14) private String mesGlassIdOne; @S7Variable(address = "DB49.54", type = EDataType.STRING, count = 14) private String plcGlassIdTwo; @S7Variable(address = "DB49.76", type = EDataType.STRING, count = 14) private String mesglassIdTwo; }