|  |  |  | 
|---|
|  |  |  | // 6、流量计故障关阀;7、紧急关阀;8、用户远程开阀;9、用户远程关阀; | 
|---|
|  |  |  | public Byte type ; | 
|---|
|  |  |  | public Double totalAmount; //累计流量:5字节BCD码,取值范围0~9999999999,单位为m3。 | 
|---|
|  |  |  | public String clientNum ;//农户编号 | 
|---|
|  |  |  | public String icAddr ;//ic卡地址 | 
|---|
|  |  |  | public String icCardNo;//IC卡编号 | 
|---|
|  |  |  | public String icCardAddr;//ic卡地址 | 
|---|
|  |  |  | public Double remainMoney ;//剩余金额:用户余额4字节BCD码,取值范围0.00~999999.99,单位为元 | 
|---|
|  |  |  | public String openDt ;//用水户用水开始时间:6字节BCD码,顺序是年月日时分秒,其中公元年=2000+年。 | 
|---|
|  |  |  | public String closeDt ;//用水户用水结束时间:6字节BCD码,顺序是年月日时分秒,其中公元年=2000+年。 | 
|---|
|  |  |  | public Double thisAmount ;//用水户本次用水量:累计流量5字节BCD码,取值范围0~9999999999,单位为m3。 | 
|---|
|  |  |  | public Double thisMoney ;//用水户本次消费金额:用户余额4字节BCD码,取值范围0.00~999999.99,单位为元。 | 
|---|
|  |  |  | public Integer thisTime ;//用水户本次用水时长:用水时长2字节BCD码,取值范围0~9999,单位为分钟。 | 
|---|
|  |  |  | public Byte priceType ;//水价类型(1:水卡水价,2:控制器水价) | 
|---|
|  |  |  | public Double price ;//水价 | 
|---|
|  |  |  | public Byte cardType ;//卡类型 | 
|---|
|  |  |  | public String rtuDt ;//控制器时钟 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String toString(){ | 
|---|
|  |  |  | 
|---|
|  |  |  | sb.append("      累计流量:"); | 
|---|
|  |  |  | sb.append(totalAmount==null?"":totalAmount); | 
|---|
|  |  |  | sb.append("\n"); | 
|---|
|  |  |  | sb.append("      农户编号:"); | 
|---|
|  |  |  | sb.append(clientNum); | 
|---|
|  |  |  | sb.append("      IC卡编号:"); | 
|---|
|  |  |  | sb.append(icCardNo); | 
|---|
|  |  |  | sb.append("\n"); | 
|---|
|  |  |  | sb.append("      ic卡地址:"); | 
|---|
|  |  |  | sb.append(icAddr); | 
|---|
|  |  |  | sb.append(icCardAddr); | 
|---|
|  |  |  | sb.append("\n"); | 
|---|
|  |  |  | sb.append("      剩余金额(元):"); | 
|---|
|  |  |  | sb.append(remainMoney ==null?"": remainMoney); | 
|---|
|  |  |  | 
|---|
|  |  |  | sb.append("      本次用水时长(分钟):"); | 
|---|
|  |  |  | sb.append(thisTime==null?"":thisTime); | 
|---|
|  |  |  | sb.append("\n"); | 
|---|
|  |  |  | sb.append("      水价类型:"); | 
|---|
|  |  |  | sb.append(priceType ==null?"": (priceType==1?"IC卡水价":(priceType==2?"控制器水价":"未知"))); | 
|---|
|  |  |  | sb.append("\n"); | 
|---|
|  |  |  | sb.append("      水价:"); | 
|---|
|  |  |  | sb.append(price ==null?"": price); | 
|---|
|  |  |  | sb.append("\n"); | 
|---|
|  |  |  | sb.append("      卡类型:"); | 
|---|
|  |  |  | sb.append(cardType==null?"未知":CommonV1_0_1.icCardType(cardType)) ; | 
|---|
|  |  |  | sb.append("\n"); | 
|---|
|  |  |  | sb.append("      控制器时钟:"); | 
|---|
|  |  |  | sb.append(rtuDt==null?"":rtuDt); | 
|---|
|  |  |  | sb.append("\n"); | 
|---|