common/ProductionUiCordonel/ProductionProcesses/Enum/ProductionProcessState.cs
2026-04-23 17:50:07 +02:00

34 lines
760 B
C#

using System;
namespace ProductionUiCordonelLegacy.ProductionProcesses.Enum
{
public enum ProductionProcessState
{
Waiting,
Started,
Done,
Error
}
public static class ProductionProcessStateHelper
{
public static String GetTextFromProductionProcessState(ProductionProcessState sate)
{
switch (sate)
{
case ProductionProcessState.Waiting:
return "Warte";
case ProductionProcessState.Started:
return "Läuft";
case ProductionProcessState.Done:
return "Fertig";
default:
return "Fehler";
}
}
}
}