Initial working ATA scrubbing.
This commit is contained in:
@@ -287,7 +287,7 @@ async function DecodeVehFile(extensionlessFilePath) {
|
||||
// "V_ENGINE",
|
||||
// "V_COLOR",
|
||||
// "V_TONE",
|
||||
"V_STAGE",
|
||||
"V_STAGE",
|
||||
// "PAINT_CD1",
|
||||
// "PAINT_CD2",
|
||||
// "PAINT_CD3",
|
||||
@@ -400,7 +400,7 @@ async function DecodePflFile(extensionlessFilePath,) {
|
||||
let dbf = await DBFFile.open(`${extensionlessFilePath}.PFL`);
|
||||
let records = await dbf.readRecords();
|
||||
let pflLines = records.map((record) => {
|
||||
return _.transform(
|
||||
return (
|
||||
_.pick(record, [
|
||||
"LBR_TYPE", "LBR_DESC", "LBR_RATE"
|
||||
])
|
||||
@@ -415,7 +415,7 @@ async function DecodeStlFile(extensionlessFilePath,) {
|
||||
let dbf = await DBFFile.open(`${extensionlessFilePath}.STL`);
|
||||
let records = await dbf.readRecords();
|
||||
let pflLines = records.map((record) => {
|
||||
return _.transform(
|
||||
return (
|
||||
_.pick(record, [
|
||||
"TTL_TYPECD", "T_AMT", 'T_HRS', "NT_HRS"
|
||||
])
|
||||
@@ -431,7 +431,7 @@ async function DecodePfmFile(extensionlessFilePath,) {
|
||||
let dbf = await DBFFile.open(`${extensionlessFilePath}.PFM`);
|
||||
let records = await dbf.readRecords();
|
||||
let pflLines = records.map((record) => {
|
||||
return _.transform(
|
||||
return (
|
||||
_.pick(record, [
|
||||
"MAT_TYPE", "CAL_PRETHR"
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user