"Previous Value", values, i + 6);
BigDecimal previousValue = new BigDecimal(previousValueStr);
String previousTypeStr = GeneralImport.addField(csvElement,
"Previous Type", values, i + 7);
ReadType previousType = ReadType.getReadType(previousTypeStr);
String presentDateStr = GeneralImport.addField(csvElement,
"Present Date", values, i + 8);
HhStartDate presentDate = new HhStartDate(presentDateStr);
String presentValueStr = GeneralImport.addField(csvElement,
"Present Value", values, i + 9);
BigDecimal presentValue = new BigDecimal(presentValueStr);
String presentTypeStr = GeneralImport.addField(csvElement,
"Present Type", values, i + 10);
ReadType presentType = ReadType.getReadType(presentTypeStr);
bill.insertRead(tpr, coefficient, units, meterSerialNumber,
mpanStr, previousDate, previousValue, previousType,
presentDate, presentValue, presentType);
}
} else if (action.equals("update")) {