mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-22 03:17:39 -05:00
feat(engine): add IsOverallBest flag to NestProgress
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
f73bb2bc2f
commit
e789fe312d
2 files changed
+4
-1
No files matched your search
@@ -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