Summary of changes (CRD.java, CRDConfiguration.java, CRDHeader.java, CRDParser.java, and CRDParserTest.java):
- Two classes are added,
FrRangeMeasurement, which extend from
- The configuration records are stored as a Map in the class
CRDConfiguration, and the system configuration records are also store in a list, to support 2-color range system.
- Comment lines can occur anywhere within a file, especially the begining of the file.
- Handle 'na'. The literal “na” is used instead of “-1” for fields that are not applicable or not avaiable.
- The configuration records can occur after H2 or H3, not only H4, for the case of many targets and single system configuration.
- Add a method
toCrdString()to all configuration records and data records.
getH4CrdString(), to the class
CRDHeader, so that a crd file can be reproduced.
testIssue938() in the class
CRDParserTest to check if it is working correctly.