|  |  | 
 |  |  | package com.dy.pipIrrGlobal.voPr; | 
 |  |  |  | 
 |  |  | import com.alibaba.fastjson2.annotation.JSONField; | 
 |  |  | import com.dy.common.po.BaseEntity; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonPropertyOrder; | 
 |  |  | import lombok.Data; | 
 |  |  |  | 
 |  |  | import java.util.Date; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | @Data | 
 |  |  | @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" ) | 
 |  |  |     private Double totalAmount; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 报警信息Json数组 | 
 |  |  |      * 报警信息Json数组和接收到报警时间 | 
 |  |  |      */ | 
 |  |  |     private String alarm; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 接收到报警时间 | 
 |  |  |      */ | 
 |  |  |     @JSONField(serialize = false) | 
 |  |  |     private Date alarmDt; | 
 |  |  | } |