ZengTao
2025-05-22 b4ff04d7dd22f0e48bf386cd422e885aef08fed7
hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/s7/entity/S7DataWL.java
File was renamed from hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/s7/entity/S7DataWLOne.java
@@ -2,6 +2,7 @@
import com.github.xingshuangs.iot.protocol.common.enums.EDataType;
import com.github.xingshuangs.iot.protocol.s7.serializer.S7Variable;
import lombok.Builder;
import lombok.Data;
/**
@@ -10,14 +11,15 @@
 * @Description:
 */
@Data
public class S7DataWLOne {
@Builder
public class S7DataWL {
    @S7Variable(address = "DB19.0", type = EDataType.INT16)
    @S7Variable(address = "DB49.0", type = EDataType.INT16)
    private Short taskRunning;
    @S7Variable(address = "DB49.46", type = EDataType.INT16)
    private Short slot;
    private Short currentCell;
    @S7Variable(address = "DB49.48", type = EDataType.INT16)
    private Short startCell;
@@ -26,7 +28,7 @@
    private Short endCell;
    @S7Variable(address = "DB49.52", type = EDataType.INT16)
    private Short plcTaskState;
    private Short TaskState;
    @S7Variable(address = "DB49.116", type = EDataType.INT16)
    private Short inPlace;
@@ -35,18 +37,18 @@
    private Short slotState;
    @S7Variable(address = "DB49.118", type = EDataType.FLOAT32)
    private Short speed;
    private Float speed;
    @S7Variable(address = "DB49.2", type = EDataType.STRING)
    @S7Variable(address = "DB49.2", type = EDataType.STRING, count = 22)
    private String glassIdIn;
    @S7Variable(address = "DB49.24", type = EDataType.STRING)
    @S7Variable(address = "DB49.24", type = EDataType.STRING, count = 22)
    private String glassIdOut;
    @S7Variable(address = "DB49.94", type = EDataType.STRING)
    @S7Variable(address = "DB49.94", type = EDataType.STRING, count = 22)
    private String glassId;
    @S7Variable(address = "DB49.112", type = EDataType.BOOL)
    @S7Variable(address = "DB49.112.0", type = EDataType.BOOL)
    private Boolean deviceState;
}