feat: implement new order methods, transport enums, and conveyor telegram overrides

This commit is contained in:
2026-05-16 15:57:04 +02:00
parent 0a36e2c5f9
commit eb82e4e0b2
9 changed files with 482 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
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
};
}

View File

@@ -0,0 +1,16 @@
public enum TransportOrderStatus
{
Initial,
Pending,
InProgress,
Transmitted,
InDestinationZone,
InSequencer,
Finished,
Cancelled,
/// <summary>
/// see <see cref="ModelEnumParser.UnmappedEnumValue"/>
/// </summary>
Unmapped
}

View File

@@ -0,0 +1,42 @@
public enum TransportOrderType
{
/// <summary>
/// Used for OrdersHost which is created by Wcs (empty le to buffer or le with no other order back to miniload)
/// </summary>
Transport,
/// <summary>
/// Used for OrdersHost which is created via a message from Wms
/// </summary>
TransportHost,
/// <summary>
/// Used for OrdersMiniload to store a le from input lane into shelf or drive thru from input lane to output lane
/// </summary>
Storage,
/// <summary>
/// used for OrdersMiniload to retrieve a le from shelf and put it to the output lane
/// </summary>
Retrieval,
/// <summary>
/// used for OrdersMiniload to restore a le from shelf to shelf
/// </summary>
Restorage,
/// <summary>
/// used for clearing a device or storage location.
/// </summary>
Clear,
/// <summary>
/// Datenabgleich
/// </summary>
DataSync,
/// <summary>
/// see <see cref="ModelEnumParser.UnmappedEnumValue"/>
/// </summary>
Unmapped
}