示例#1
0
        public int[] GetVideoTypes(Enum.EquipmentType type)
        {
            int[] vt = null;
            switch (type)
            {
            case Enum.EquipmentType.PC:
                vt = new int[] { 5, 6, 7, 8 };
                break;

            case Enum.EquipmentType.IPAD:
                vt = new int[] { 1, 2, 3, 4 };
                break;
            }
            return(vt);
        }
示例#2
0
        public string GetEquipmentType(Enum.EquipmentType type)
        {
            string re = "";

            switch (type)
            {
            case Enum.EquipmentType.PC:
                re = "PC";
                break;

            case Enum.EquipmentType.IPAD:
                re = "IPAD";
                break;
            }
            return(re);
        }