|  |  | 
 |  |  | @Data | 
 |  |  | public class DataCd84Vo { | 
 |  |  |  | 
 |  |  |     //public Byte opType;//开关阀类型(1:刷卡开阀;2:刷卡关阀;3:中心站开阀;4:中心站关阀;5:欠费关阀;6:流量计故障关阀;7:紧急关闭;8:用户远程开阀;9:用户远程关阀;10:开关阀卡关阀;11:开关阀卡刷卡卡开阀;) | 
 |  |  |     //public Byte cardType ;//卡类型(1:用户卡;2:管理员卡;3:调试卡;4:开关阀卡;5:清空卡) | 
 |  |  |     //public String cardAddr ;//IC卡地址(8位字符) | 
 |  |  |     public Byte opType;//开关阀类型(1:刷卡开阀;2:刷卡关阀;3:中心站开阀;4:中心站关阀;5:欠费关阀;6:流量计故障关阀;7:紧急关闭;8:用户远程开阀;9:用户远程关阀;10:开关阀卡关阀;11:开关阀卡刷卡卡开阀;) | 
 |  |  |     public Byte cardType ;//卡类型(0:无卡;1:用户卡;2:管理员卡;3:调试卡;4:开关阀卡;5:清空卡) | 
 |  |  |     public String cardAddr ;//IC卡地址(8位字符) | 
 |  |  |     public String cardNo ;//IC卡编号 | 
 |  |  |     public Double remainMoney ;//剩余金额:用户余额4字节BCD码,取值范围0.00~999999.99,单位为元 | 
 |  |  |     public Double totalAmount; //累计流量(水表上的累计流量):5字节BCD码,取值范围0~9999999999,单位为m3。 | 
 |  |  | 
 |  |  |     public String toString(){ | 
 |  |  |         StringBuilder sb = new StringBuilder() ; | 
 |  |  |         sb.append("   终端开阀工作报:\n"); | 
 |  |  | //        sb.append("      开阀类型:"); | 
 |  |  | //        sb.append(opType==null?"未知": CommonV1_0_1.openCloseValveType(opType)); | 
 |  |  | //        sb.append("\n"); | 
 |  |  | //        sb.append("      IC卡类型:"); | 
 |  |  | //        sb.append(cardType==null?"未知":CommonV1_0_1.icCardType(cardType)) ; | 
 |  |  | //        sb.append("\n"); | 
 |  |  | //        sb.append("      IC卡地址:"); | 
 |  |  | //        sb.append(cardAddr); | 
 |  |  | //        sb.append("\n"); | 
 |  |  |         sb.append("      开阀类型:"); | 
 |  |  |         sb.append(opType==null?"未知": CommonV1_0_1.openCloseValveType(opType)); | 
 |  |  |         sb.append("\n"); | 
 |  |  |         sb.append("      IC卡类型:"); | 
 |  |  |         sb.append(cardType==null?"未知":CommonV1_0_1.icCardType(cardType)) ; | 
 |  |  |         sb.append("\n"); | 
 |  |  |         sb.append("      IC卡地址:"); | 
 |  |  |         sb.append(cardAddr); | 
 |  |  |         sb.append("\n"); | 
 |  |  |         sb.append("      IC卡编号:"); | 
 |  |  |         sb.append(cardNo); | 
 |  |  |         sb.append("\n"); |