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 S7DataWLTwo {
|
|
|
@S7Variable(address = "DB19.0", type = EDataType.INT16)
|
private Short taskRunning;
|
|
@S7Variable(address = "DB49.46", type = EDataType.INT16)
|
private Short slot;
|
|
@S7Variable(address = "DB49.48", type = EDataType.INT16)
|
private Short startCell;
|
|
@S7Variable(address = "DB49.50", type = EDataType.INT16)
|
private Short endCell;
|
|
@S7Variable(address = "DB49.52", type = EDataType.INT16)
|
private Short plcTaskState;
|
|
@S7Variable(address = "DB49.116", type = EDataType.INT16)
|
private Short inPlace;
|
|
@S7Variable(address = "DB49.124", type = EDataType.INT16)
|
private Short slotState;
|
|
@S7Variable(address = "DB49.118", type = EDataType.FLOAT32)
|
private Short d06SlotState;
|
|
@S7Variable(address = "DB49.118", type = EDataType.FLOAT32)
|
private Short speed;
|
|
@S7Variable(address = "DB49.2", type = EDataType.STRING)
|
private String glassIdIn;
|
|
@S7Variable(address = "DB49.24", type = EDataType.STRING)
|
private String glassIdOut;
|
|
@S7Variable(address = "DB49.94", type = EDataType.STRING)
|
private String glassId;
|
|
@S7Variable(address = "DB49.112", type = EDataType.BOOL)
|
private Boolean deviceState;
|
|
}
|