| | |
| | | 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(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"); |