예제 #1
0
        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";
            }
        }
예제 #2
0
        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";
            }
        }