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); }
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); }