Add impact and JSON results showing for ES.
This commit is contained in:
@@ -255,7 +255,7 @@ async function DecodeAd2File(extensionlessFilePath) {
|
||||
}
|
||||
}
|
||||
|
||||
async function DecodeVehFile(extensionlessFilePath) {
|
||||
async function DecodePfhFile(extensionlessFilePath) {
|
||||
let dbf;
|
||||
try {
|
||||
dbf = await DBFFile.open(`${extensionlessFilePath}.PFH`);
|
||||
@@ -270,7 +270,7 @@ async function DecodeVehFile(extensionlessFilePath) {
|
||||
}
|
||||
}
|
||||
|
||||
async function DecodePfhFile(extensionlessFilePath) {
|
||||
async function DecodeVehFile(extensionlessFilePath) {
|
||||
let dbf;
|
||||
try {
|
||||
dbf = await DBFFile.open(`${extensionlessFilePath}V.VEH`);
|
||||
@@ -282,8 +282,8 @@ async function DecodePfhFile(extensionlessFilePath) {
|
||||
if (!dbf) return {};
|
||||
let records = await dbf.readRecords(1);
|
||||
return _.pick(records[0], [
|
||||
// "IMPACT_1",
|
||||
// "IMPACT_2",
|
||||
"IMPACT_1",
|
||||
"IMPACT_2",
|
||||
// "DB_V_CODE",
|
||||
// "PLATE_NO",
|
||||
// "PLATE_ST",
|
||||
|
||||
Reference in New Issue
Block a user