New file |
| | |
| | | package com.dy.pipIrrGlobal.voRm; |
| | | |
| | | import com.alibaba.fastjson2.annotation.JSONField; |
| | | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @author ZhuBaoMin |
| | | * @date 2024-07-23 17:12 |
| | | * @LastEditTime 2024-07-23 17:12 |
| | | * @Description 整点报数据视图对象 |
| | | */ |
| | | |
| | | @Data |
| | | public class VoOnHour { |
| | | private static final long serialVersionUID = 202407231713001L; |
| | | |
| | | /** |
| | | * 取水口ID |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | private Long intakeId; |
| | | |
| | | /** |
| | | * 取水口编号 |
| | | */ |
| | | private String intakeNum; |
| | | |
| | | /** |
| | | * 阀控器地址 |
| | | */ |
| | | private String rtuAddr; |
| | | |
| | | /** |
| | | * 数据接收时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date receiveTime; |
| | | |
| | | /** |
| | | * 瞬时流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double instantAmount; |
| | | |
| | | /** |
| | | * 累计流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double totalAmount; |
| | | |
| | | /** |
| | | * 损失流量,从当日0时到当前的漏损累计流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double lossAmount; |
| | | |
| | | /** |
| | | * 水压 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterPress; |
| | | |
| | | /** |
| | | * 蓄电池电压 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double batteryVolt; |
| | | |
| | | /** |
| | | * 信号强度 |
| | | */ |
| | | private Integer signalValue; |
| | | |
| | | /** |
| | | * 水价 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterPrice; |
| | | } |