| | |
| | | /** |
| | | * 本次使用电量 |
| | | */ |
| | | public Double thisEle; |
| | | public Double clThisEle; |
| | | |
| | | public void valueFrom(DataV1_0_1 dV1_0_1, DataCd83OpenVo dataCd83OpenVo) throws Exception { |
| | | this.opDt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(dV1_0_1.dt); |
| | |
| | | this.clOrderNo = null;//江海协议特有 |
| | | this.clEleTotalAmount = null;//江海协议特有 |
| | | this.clWaterRemainUser = null;//江海协议特有 |
| | | this.thisEle = null;//江海协议特有 |
| | | this.clThisEle = null;//江海协议特有 |
| | | } |
| | | |
| | | public void valueFrom84(DataV202404 dataV202404, DataCd84Vo cdData) throws Exception { |
| | |
| | | this.clOrderNo = null;//江海协议特有 |
| | | this.clEleTotalAmount = null;//江海协议特有 |
| | | this.clWaterRemainUser = null;//江海协议特有 |
| | | this.thisEle = null;//江海协议特有 |
| | | this.clThisEle = null;//江海协议特有 |
| | | } |
| | | |
| | | public void valueFrom85(DataV202404 dataV202404, DataCd85Vo cdData) throws Exception { |
| | |
| | | this.clOrderNo = cdData.orderNo; |
| | | this.clEleTotalAmount = cdData.eleTotalAmount; |
| | | this.clWaterRemainUser = cdData.waterRemain; |
| | | this.thisEle = cdData.thisEle; |
| | | this.clThisEle = cdData.thisEle; |
| | | } |
| | | |
| | | public void updateFrom(DataV1_0_1 dV1_0_1, DataCd83OpenVo dataCd83OpenVo, boolean clearCloseValve) throws Exception { |
| | |
| | | this.openDt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(dataCd83OpenVo.openDt); |
| | | |
| | | if (clearCloseValve) { |
| | | 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.clOpenDt = null; |
| | | this.closeDt = null; |
| | | |
| | | this.clOrderNo = null;//江海协议特有 |
| | | this.clEleTotalAmount = null;//江海协议特有 |
| | | this.clWaterRemainUser = null;//江海协议特有 |
| | | this.thisEle = null;//江海协议特有 |
| | | this.clearCloseValue(); |
| | | } |
| | | } |
| | | |
| | |
| | | this.closeDt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(dataCd83CloseVo.closeDt) ; |
| | | |
| | | 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.thisEle = null;//江海协议特有 |
| | | this.clearOpenValue(); |
| | | } |
| | | } |
| | | |
| | | public void clearCloseValue(){ |
| | | 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.clOpenDt = null; |
| | | this.closeDt = null; |
| | | |
| | | this.clOrderNo = null;//江海协议特有 |
| | | this.clEleTotalAmount = null;//江海协议特有 |
| | | this.clWaterRemainUser = null;//江海协议特有 |
| | | this.clThisEle = null;//江海协议特有 |
| | | } |
| | | public void clearOpenValue(){ |
| | | this.opDt = null ; |
| | | this.opType = null ; |
| | | this.opTotalAmount = null ; |
| | | this.opIcCardNo = null ; |
| | | this.opIcCardAddr = null ; |
| | | this.opRemainMoney = null ; |
| | | this.openDt = null ; |
| | | } |
| | | } |