| | |
| | | public void valueFrom85(DataV202404 dataV202404, DataCd85Vo cdData) throws Exception { |
| | | this.clOpenDt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(cdData.startDt); |
| | | this.closeDt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(cdData.endDt); |
| | | this.opType = cdData.opType; |
| | | this.opType = cdData.clType; |
| | | this.clIcCardAddr = cdData.icCardAddr; |
| | | this.clIcCardNo = cdData.icCardNo; |
| | | this.clTotalAmount = cdData.waterTotalAmount; |
| | |
| | | } |
| | | } |
| | | |
| | | public void updateFrom(DataV202404 dataV202404, DataCd84Vo dataCd84Vo, Boolean clearCloseValve) throws Exception { |
| | | this.opDt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(dataV202404.dt); |
| | | this.opType = null; |
| | | this.opTotalAmount = dataCd84Vo.waterTotalAmount; |
| | | this.opIcCardNo = dataCd84Vo.icCardNo; |
| | | this.opIcCardAddr = dataCd84Vo.icCardAddr; |
| | | this.opRemainMoney = dataCd84Vo.moneyRemainUser; |
| | | this.openDt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(dataCd84Vo.openDt); |
| | | if (clearCloseValve != null && clearCloseValve.booleanValue()) { |
| | | this.clDt = null; |
| | | this.clType = null; |
| | | this.clTotalAmount = null; |
| | | this.clIcCardNo = null; |
| | | this.clIcCardAddr = null; |
| | | this.clRemainMoney = null; |
| | | this.clThisAmount = null; |
| | | this.clThisMoney = null; |
| | | this.clThisTime = null; |
| | | this.clPrice = null; |
| | | this.clOpenDt = null; |
| | | this.closeDt = null; |
| | | |
| | | this.clOrderNo = null;//江海协议特有 |
| | | this.clEleTotalAmount = null;//江海协议特有 |
| | | this.clWaterRemainUser = null;//江海协议特有 |
| | | this.clThisEle = null;//江海协议特有 |
| | | } |
| | | } |
| | | |
| | | |
| | | public void updateFrom(DataV1 dV1, com.dy.common.mw.protocol.p206V1.upVos.DataCd83CloseVo dataCd83CloseVo, boolean clearOpenValve) throws Exception { |
| | | this.clDt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(dV1.dt); |
| | |
| | | this.clThisEle = null;//江海协议特有 |
| | | } |
| | | } |
| | | |
| | | |
| | | public void updateFrom(DataV202404 dataV202404, DataCd85Vo cdData, boolean clearOpenValve) throws Exception { |
| | | this.clDt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(dataV202404.dt); |
| | | this.clType = cdData.clType; |
| | | this.clTotalAmount = cdData.waterTotalAmount; |
| | | this.clIcCardNo = cdData.icCardNo; |
| | | this.clIcCardAddr = cdData.icCardAddr; |
| | | this.clRemainMoney = cdData.moneyRemain; |
| | | this.clThisAmount = cdData.thisWater; |
| | | this.clThisMoney = cdData.thisMoney; |
| | | this.clThisTime = cdData.thisDuration; |
| | | this.clPrice = null; |
| | | this.clOpenDt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(cdData.startDt); |
| | | this.closeDt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(cdData.endDt) ; |
| | | |
| | | if(clearOpenValve){ |
| | | this.opDt = null ; |
| | | this.opType = null ; |
| | | this.opTotalAmount = null ; |
| | | this.opIcCardNo = null ; |
| | | this.opIcCardAddr = null ; |
| | | this.opRemainMoney = null ; |
| | | this.openDt = null ; |
| | | |
| | | this.clOrderNo = null;//江海协议特有 |
| | | this.clEleTotalAmount = null;//江海协议特有 |
| | | this.clWaterRemainUser = null;//江海协议特有 |
| | | this.clThisEle = null;//江海协议特有 |
| | | } |
| | | } |
| | | } |