feat(engine): introduce whole-job nesting contracts
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace OpenNest;
|
||||
|
||||
/// <summary>Read-only stock settings and remaining requirements for a single candidate trial.</summary>
|
||||
public sealed class PlatePlacementRequest
|
||||
{
|
||||
public PlatePlacementRequest(NestPlateStock stock, IEnumerable<NestJobPart> parts)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(stock);
|
||||
Stock = stock;
|
||||
Parts = NestJob.Own(parts);
|
||||
}
|
||||
|
||||
public NestPlateStock Stock { get; }
|
||||
public IReadOnlyList<NestJobPart> Parts { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user