| | |
| | | package com.mes.s7.entity; |
| | | |
| | | import com.github.xingshuangs.iot.protocol.common.enums.EDataType; |
| | | import com.github.xingshuangs.iot.common.enums.EDataType; |
| | | import com.github.xingshuangs.iot.protocol.s7.serializer.S7Variable; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Builder; |
| | | import lombok.Data; |
| | | import lombok.NoArgsConstructor; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | |
| | | */ |
| | | @Data |
| | | @Builder |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | public class S7DataGHOne { |
| | | |
| | | |
| | | @S7Variable(address = "DB99.0", type = EDataType.INT16) |
| | | private Short requestInTempering; |
| | | @S7Variable(address = "DB99.0", type = EDataType.UINT16) |
| | | private Integer requestInTempering; |
| | | |
| | | @S7Variable(address = "DB99.2", type = EDataType.INT16) |
| | | private Short requestTemperingId; |
| | | @S7Variable(address = "DB99.2", type = EDataType.UINT16) |
| | | private Integer requestTemperingId; |
| | | |
| | | @S7Variable(address = "DB99.4", type = EDataType.INT16) |
| | | private Short placedNumber; |
| | | @S7Variable(address = "DB99.4", type = EDataType.UINT16) |
| | | private Integer placedNumber; |
| | | |
| | | @S7Variable(address = "DB99.6", type = EDataType.INT16) |
| | | private Short responseInTempering; |
| | | @S7Variable(address = "DB99.6", type = EDataType.UINT16) |
| | | private Integer responseInTempering; |
| | | |
| | | @S7Variable(address = "DB99.8", type = EDataType.INT16) |
| | | private Short loadTemperingId; |
| | | @S7Variable(address = "DB99.8", type = EDataType.UINT16) |
| | | private Integer loadTemperingId; |
| | | |
| | | } |