| | |
| | | import com.fasterxml.jackson.annotation.JsonPropertyOrder; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serial; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | |
| | | */ |
| | | |
| | | @Data |
| | | @JsonPropertyOrder({ "intakeId", "rtuAddr", "intakeNum", "isOnLine"}) |
| | | @JsonPropertyOrder({ "intakeId", "rtuAddr", "protocol", "protocolVersion", "intakeNum", "isOnLine", "isBinded", "alarm" ,"instantAmount", "totalAmount"}) |
| | | public class VoOnLineIntake implements BaseEntity { |
| | | private static final long serialVersionUID = 202405271703001L; |
| | | |
| | |
| | | * 阀控器地址 |
| | | */ |
| | | private String rtuAddr; |
| | | /** |
| | | * 阀控器通信协议 |
| | | */ |
| | | private String protocol; |
| | | /** |
| | | * 阀控器通信协议 |
| | | */ |
| | | private Integer protocolVersion; |
| | | |
| | | /** |
| | | * 取水口编号 |
| | |
| | | private Double lat; |
| | | |
| | | /** |
| | | * 瞬时流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double instantAmount; |
| | | |
| | | /** |
| | | * 累计流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |