| | |
| | | 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.p206V1.DataV1; |
| | | import com.dy.common.mw.protocol.p206V2.DataV2; |
| | | import com.dy.common.mw.protocol.p206V202404.DataV202404; |
| | | import com.dy.common.mw.protocol.p206V202404.upVos.DataCd80_5BVo; |
| | | import com.dy.common.po.BaseEntity; |
| | |
| | | } |
| | | |
| | | |
| | | 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); |
| | | public void valueFrom(DataV1 dV1, com.dy.common.mw.protocol.p206V1.upVos.DataCd84Vo cdData) throws Exception{ |
| | | this.dt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(dV1.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 ; |
| | | } |
| | | |
| | | public void valueFrom(DataV2 dV2, com.dy.common.mw.protocol.p206V2.upVos.DataCd84Vo cdData) throws Exception{ |
| | | this.dt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(dV2.dt); |
| | | this.rtuDt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(cdData.rtuDt); |
| | | //this.orderNo = cdData.orderNo ; |
| | | this.icCardAddr = cdData.cardAddr ; |