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