Files
OpenNest/Source/OpenNest.Core/Quantity.cs
2021-05-18 09:21:33 -04:00

19 lines
333 B
C#

namespace OpenNest
{
public struct Quantity
{
public int Nested { get; internal set; }
public int Required { get; set; }
public int Remaining
{
get
{
var x = Required - Nested;
return x < 0 ? 0: x;
}
}
}
}