Files

45 lines
871 B
C#

public enum LeStatus
{
Created,
OnConveyor,
InStorage,
OnLhd,
/// <summary>
/// on an input place of a device to which the Le is not directly moved on by the conveyor
/// </summary>
OnInputPlace,
InDestinationZone,
/// <summary>
/// on an output place of a device from which the Le is not directly taken by the conveyor
/// </summary>
OnOutputPlace,
/// <summary>
/// When the LE leaves the system it is marked as deleted
/// </summary>
Deleted,
/// <summary>
/// see <see cref="ModelEnumParser.UnmappedEnumValue"/>
/// </summary>
Unmapped
}
public static class LeStatusGroups
{
public static readonly LeStatus[] Storage = new[]
{
LeStatus.InStorage,
LeStatus.OnLhd,
LeStatus.OnInputPlace,
LeStatus.OnOutputPlace
};
public static readonly LeStatus[] Conveyor = new[]
{
LeStatus.OnConveyor,
LeStatus.InDestinationZone
};
}