Added ClosestMatchFileName,
Changed dummy to match HgCV
This commit is contained in:
@ -25,7 +25,7 @@ public class ProcessData : IProcessData
|
||||
public int Green { get; set; }
|
||||
public string Text { get; set; }
|
||||
public int TotalDelta { get; set; }
|
||||
public string Recipe { get; set; }
|
||||
public string ClosestMatchFileName { get; set; }
|
||||
|
||||
List<object> Shared.Properties.IProcessData.Details => _Details;
|
||||
|
||||
@ -260,8 +260,8 @@ public class ProcessData : IProcessData
|
||||
totalDeltaCollection.Add(new(file, totalDelta));
|
||||
}
|
||||
totalDeltaCollection = (from l in totalDeltaCollection orderby l.TotalDelta select l).ToList();
|
||||
Recipe = Path.GetFileNameWithoutExtension(totalDeltaCollection[0].File);
|
||||
string[] closestMatchFileNameSplit = Recipe.Split('-');
|
||||
ClosestMatchFileName = Path.GetFileNameWithoutExtension(totalDeltaCollection[0].File);
|
||||
string[] closestMatchFileNameSplit = ClosestMatchFileName.Split('-');
|
||||
Text = closestMatchFileNameSplit.Last().TrimStart();
|
||||
TotalDelta = totalDeltaCollection[0].TotalDelta;
|
||||
string textFileName = Get(fileRead, ".txt", $"{TotalDelta} - {Text}");
|
||||
|
Reference in New Issue
Block a user