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 S7DataWL1 {
|
|
|
@S7Variable(address = "DB49.0", type = EDataType.INT16)
|
private Integer task_running;
|
|
@S7Variable(address = "DB49.46", type = EDataType.INT16)
|
private Integer slot;
|
|
@S7Variable(address = "DB49.48", type = EDataType.INT16)
|
private Integer start_cell;
|
|
@S7Variable(address = "DB49.50", type = EDataType.INT16)
|
private Integer end_cell;
|
|
@S7Variable(address = "DB49.52", type = EDataType.INT16)
|
private Integer plc_task_state;
|
|
@S7Variable(address = "DB49.116", type = EDataType.INT16)
|
private Integer in_place;
|
|
@S7Variable(address = "DB49.124", type = EDataType.INT16)
|
private Integer slotState;
|
|
@S7Variable(address = "DB49.R118", type = EDataType.FLOAT32)
|
private Integer speed;
|
|
@S7Variable(address = "DB49.2", type = EDataType.STRING, count = 22)
|
private String glass_id_in;
|
|
@S7Variable(address = "DB49.24", type = EDataType.STRING, count = 22)
|
private String glass_id_out;
|
|
@S7Variable(address = "DB49.94", type = EDataType.STRING, count = 18)
|
private String glass_id;
|
|
@S7Variable(address = "DB49.X122.0", type = EDataType.BOOL)
|
private Boolean deviceState;
|
|
}
|