| package com.dy.pipIrrGlobal.voRm; | 
|   | 
| import com.alibaba.fastjson2.annotation.JSONField; | 
| import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import com.fasterxml.jackson.annotation.JsonProperty; | 
| import lombok.Data; | 
|   | 
| import java.util.Date; | 
|   | 
| /** | 
|  * @author ZhuBaoMin | 
|  * @date 2024-07-25 11:29 | 
|  * @LastEditTime 2024-07-25 11:29 | 
|  * @Description 工作报视图对象 | 
|  */ | 
|   | 
| @Data | 
| public class VoWork { | 
|     private static final long serialVersionUID = 202407251130001L; | 
|   | 
|     /** | 
|      * 取水口ID | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     private Long intakeId; | 
|   | 
|     /** | 
|      * 取水口编号 | 
|      */ | 
|     private String intakeNum; | 
|   | 
|     /** | 
|      * 阀控器地址 | 
|      */ | 
|     private String rtuAddr; | 
|   | 
|     /** | 
|      * 农户姓名 | 
|      */ | 
|     private String clientName; | 
|   | 
|     /** | 
|      * 农户地址 | 
|      */ | 
|     private String clientAddr; | 
|   | 
|     /** | 
|      * IC卡编号 | 
|      */ | 
|     private String icNum; | 
|   | 
|     /** | 
|      * IC卡地址 | 
|      */ | 
|     private String icAddr; | 
|   | 
|     /** | 
|      * 数据接收时间 | 
|      */ | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     private Date receiveTime; | 
|   | 
|     /** | 
|      * 订单号 | 
|      */ | 
|     private String orderNo; | 
|   | 
|     /** | 
|      * 水位(单位0.001米) | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.000" ) | 
|     private Double waterLevel; | 
|   | 
|     /** | 
|      * 水压(单位0.01千帕) | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double waterPress; | 
|   | 
|     /** | 
|      * 瞬时流量(单位0.01m3/小时) | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double waterInstant; | 
|   | 
|     /** | 
|      * 水表累计流量(单位0.01m3) | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double waterTotal; | 
|   | 
|     /** | 
|      * 电表累计电量(单位0.01度) | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double eleTotal; | 
|   | 
|     /** | 
|      * 用户剩余金额(单位0.01元) | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double moneyRemain; | 
|   | 
|     /** | 
|      * 用户剩余水量(单位0.01m3) | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double waterRemain; | 
|   | 
|     /** | 
|      * 本次使用电量(单位0.01度) | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double thisEle; | 
|   | 
|     /** | 
|      * 本次使用水量(单位0.01m3) | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double thisWater; | 
|   | 
|     /** | 
|      * 本次使用金额(单位0.01元) | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double thisMoney; | 
|   | 
|     /** | 
|      * 本次使用时长(单位:分钟  最大9999分钟) | 
|      */ | 
|     private Integer thisDuration; | 
|   | 
|     /** | 
|      * 当前水量单价(单位0.01元 最大99.99元) | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double waterPrice; | 
|   | 
|     /** | 
|      * 当前电量单价(单位0.01元 最大99.99元) | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double elePrice; | 
|   | 
|     /** | 
|      * 交流A相电压(单位0.1伏特) | 
|      */ | 
|     @JsonProperty("aVolt") | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double aVolt; | 
|   | 
|     /** | 
|      * 交流B相电压(单位0.1伏特) | 
|      */ | 
|     @JsonProperty("bVolt") | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double bVolt; | 
|   | 
|     /** | 
|      * 交流C相电压(单位0.1伏特) | 
|      */ | 
|     @JsonProperty("cVolt") | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double cVolt; | 
|   | 
|     /** | 
|      * 交流A相电流(单位0.1安培) | 
|      */ | 
|     @JsonProperty("aCurrent") | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double aCurrent; | 
|   | 
|     /** | 
|      * 交流B相电流数据(单位0.1安培) | 
|      */ | 
|     @JsonProperty("bCurrent") | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double bCurrent; | 
|   | 
|     /** | 
|      * 交流C相电流(单位0.1安培) | 
|      */ | 
|     @JsonProperty("cCurrent") | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double cCurrent; | 
|   | 
|     /** | 
|      * 后备电池电压(单位0.01伏特) | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double batteryVolt; | 
|   | 
|     /** | 
|      * 水表远传电压(单位0.01伏特) | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double waterMeterTransVolt; | 
|   | 
|     /** | 
|      * 水表工作电压(单位0.01伏特) | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double waterMeterWorkVolt; | 
|   | 
| } |