|  |  |  | 
|---|
|  |  |  | bs[index] = cvo.projectNo.byteValue() ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | index ++ ; | 
|---|
|  |  |  | if(cvo.controllerType.equals("01")){ | 
|---|
|  |  |  | bs[index] = (byte)0xF0 ; | 
|---|
|  |  |  | }else{ | 
|---|
|  |  |  | bs[index] = (byte)0x00 ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | GlCreate.createValveOrPump(cvo.controllerType, bs, index) ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | index ++ ; | 
|---|
|  |  |  | GlCreate.createIcCardNo(cvo.icCardNo, bs, index); | 
|---|
|  |  |  | 
|---|
|  |  |  | if(cvo.moneyRemain == null){ | 
|---|
|  |  |  | cvo.moneyRemain = 0.0 ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | strTemp = "" + (Double.valueOf(cvo.moneyRemain * 100)).intValue() ; | 
|---|
|  |  |  | strTemp = "" + (Double.valueOf(cvo.moneyRemain * 10000)).intValue() ; | 
|---|
|  |  |  | bTemp = ByteUtil.string2BCD_LE(strTemp) ; | 
|---|
|  |  |  | bTempLen = bTemp.length ; | 
|---|
|  |  |  | count = 0 ; | 
|---|