| File was renamed from hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/s7/entity/S7DataWLOne.java |
| | |
| | | |
| | | import com.github.xingshuangs.iot.protocol.common.enums.EDataType; |
| | | import com.github.xingshuangs.iot.protocol.s7.serializer.S7Variable; |
| | | import lombok.Builder; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | |
| | | * @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; |
| | |
| | | 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; |
| | |
| | | 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; |
| | | |
| | | } |