Added ClosestMatchFileName,

Changed dummy to match HgCV
This commit is contained in:
2022-03-15 13:37:00 -07:00
parent 7a94484d0e
commit 360d2ee4d8
4 changed files with 28 additions and 39 deletions

View File

@ -33,6 +33,7 @@ public class Description : IDescription, Shared.Properties.IDescription
public int Red { get; set; }
public int Green { get; set; }
public int TotalDelta { get; set; }
public string ClosestMatchFileName { get; set; }
string IDescription.GetEventDescription() => "File Has been read and parsed";
@ -82,6 +83,7 @@ public class Description : IDescription, Shared.Properties.IDescription
nameof(Red),
nameof(Green),
nameof(TotalDelta),
nameof(ClosestMatchFileName),
};
return results;
}
@ -169,11 +171,12 @@ public class Description : IDescription, Shared.Properties.IDescription
Lot = processData.Text,
PSN = string.Empty,
Reactor = logistics.ProcessJobID,
Recipe = processData.Recipe,
Recipe = string.Empty,
//
Red = processData.Red,
Green = processData.Green,
TotalDelta = processData.TotalDelta,
ClosestMatchFileName = processData.ClosestMatchFileName,
};
results.Add(description);
}
@ -214,6 +217,7 @@ public class Description : IDescription, Shared.Properties.IDescription
Red = -1,
Green = -1,
TotalDelta = -1,
ClosestMatchFileName = nameof(ClosestMatchFileName),
};
return result;
}