|  |  | 
 |  |  | import com.baomidou.mybatisplus.annotation.IdType; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableId; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableName; | 
 |  |  | import com.dy.common.mw.protocol.p206V1_0_0.DataV1_0_1; | 
 |  |  | import com.dy.common.mw.protocol.p206V1_0_0.upVos.DataCd84Vo; | 
 |  |  | import com.dy.common.mw.protocol.p206V202404.DataV202404; | 
 |  |  | import com.dy.common.mw.protocol.p206V202404.upVos.DataCd80_5BVo; | 
 |  |  | import com.dy.common.po.BaseEntity; | 
 |  |  | 
 |  |  |     @TableId(type = IdType.INPUT) | 
 |  |  |     public Long id; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 农户实体ID(外键) | 
 |  |  |      */ | 
 |  |  |     @Schema(description = "农户实体外键", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     public Long clientId; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 农户姓名 | 
 |  |  |      */ | 
 |  |  |     @Schema(description = "农户姓名", requiredMode = Schema.RequiredMode.REQUIRED) | 
 |  |  |     public String clientName; | 
 |  |  |     /** | 
 |  |  |      * 控制器实体ID(外键) | 
 |  |  |      */ | 
 |  |  | 
 |  |  |         this.waterMeterTransVolt = cdData.waterMeterTransVolt ; | 
 |  |  |         this.waterMeterWorkVolt = cdData.waterMeterWorkVolt ; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     public void valueFrom(DataV1_0_1 dV1_0_1, DataCd84Vo cdData) throws Exception{ | 
 |  |  |         this.dt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(dV1_0_1.dt); | 
 |  |  |         this.rtuDt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(cdData.rtuDt); | 
 |  |  |         //this.orderNo = cdData.orderNo ; | 
 |  |  |         this.icCardAddr = cdData.cardAddr ; | 
 |  |  |         this.icCardNo = cdData.cardNo ; | 
 |  |  |         //this.waterLevel = cdData.waterLevel ; | 
 |  |  |         //this.waterPress = cdData.waterPress ; | 
 |  |  |         this.waterInstant = cdData.instantAmount ; | 
 |  |  |         this.waterTotal = cdData.totalAmount ; | 
 |  |  |         //this.eleTotal = cdData.eleTotal ; | 
 |  |  |         this.moneyRemain = cdData.remainMoney ; | 
 |  |  |         //this.waterRemain = cdData.waterRemain ; | 
 |  |  |         //this.thisEle = cdData.thisEle ; | 
 |  |  |         //this.thisWater = cdData.thisWater ; | 
 |  |  |         //this.thisMoney = cdData.thisMoney ; | 
 |  |  |         //this.thisDuration = cdData.thisDuration ; | 
 |  |  |         //this.waterPrice = cdData.waterPrice ; | 
 |  |  |         //this.elePrice = cdData.elePrice ; | 
 |  |  |         //this.aVolt = cdData.aVolt ; | 
 |  |  |         //this.bVolt = cdData.bVolt ; | 
 |  |  |         //this.cVolt = cdData.cVolt ; | 
 |  |  |         //this.aCurrent = cdData.aCurrent ; | 
 |  |  |         //this.bCurrent = cdData.bCurrent ; | 
 |  |  |         //this.cCurrent = cdData.cCurrent ; | 
 |  |  |         //this.batteryVolt = cdData.batteryVolt ; | 
 |  |  |         //this.waterMeterTransVolt = cdData.waterMeterTransVolt ; | 
 |  |  |         //this.waterMeterWorkVolt = cdData.waterMeterWorkVolt ; | 
 |  |  |     } | 
 |  |  | } |