public static string GetAlgorithmShortName(InventoryAlgorithmValue algorithm) { switch (algorithm) { case InventoryAlgorithmValue.FixedQ: return "Fixed Q (0)"; case InventoryAlgorithmValue.VariableQ: return "Variable Q (1)"; case InventoryAlgorithmValue.Unknown: default: return "Unknown"; } }
public static string GetAlgorithmName(InventoryAlgorithmValue algorithm) { switch (algorithm) { case InventoryAlgorithmValue.FixedQ: return "Algorithm 0 - Fixed Q"; case InventoryAlgorithmValue.VariableQ: return "Algorithm 1 - Variable Q"; case InventoryAlgorithmValue.Unknown: default: return "Unknown"; } }