feat(engine): add IsOverallBest flag to NestProgress
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -191,7 +191,8 @@ namespace OpenNest
|
||||
int plateNumber,
|
||||
List<Part> best,
|
||||
Box workArea,
|
||||
string description)
|
||||
string description,
|
||||
bool isOverallBest = false)
|
||||
{
|
||||
if (progress == null || best == null || best.Count == 0)
|
||||
return;
|
||||
@@ -233,6 +234,7 @@ namespace OpenNest
|
||||
BestParts = clonedParts,
|
||||
Description = description,
|
||||
ActiveWorkArea = workArea,
|
||||
IsOverallBest = isOverallBest,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -46,5 +46,6 @@ namespace OpenNest
|
||||
public List<Part> BestParts { get; set; }
|
||||
public string Description { get; set; }
|
||||
public Box ActiveWorkArea { get; set; }
|
||||
public bool IsOverallBest { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user