CameraBrand.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using TeamAAS_VP.Attributes;
  8. using TeamAAS_VP.Resources.Languages;
  9. using TeamAAS_VP.ValueConverter;
  10. namespace TeamAAS_VP.Enums
  11. {
  12. /// <summary>
  13. /// 相机品牌
  14. /// </summary>
  15. [TypeConverter(typeof(EnumLocalizationConverter))]
  16. public enum CameraBrand
  17. {
  18. /// <summary>
  19. /// 海康相机
  20. /// </summary>
  21. [Description("海康相机(MVS)")]
  22. [Localization(ResourceName = "CameraBrand_HikRobotMVS", ResourceType = typeof(Lang))]
  23. HikRobot_MVS = 0,
  24. /// <summary>
  25. /// 巴斯勒相机
  26. /// </summary>
  27. [Description("巴斯勒相机(Pylon)")]
  28. [Localization(ResourceName = "CameraBrand_Pylon", ResourceType = typeof(Lang))]
  29. Basler_Pylon = 1,
  30. /// <summary>
  31. /// 华睿科技
  32. /// </summary>
  33. [Description("大华(MV)")]
  34. [Localization(ResourceName = "CameraBrand_IRayple", ResourceType = typeof(Lang))]
  35. IRayple = 2,
  36. /// <summary>
  37. /// 康耐视
  38. /// </summary>
  39. [Description("康耐视(VP)")]
  40. [Localization(ResourceName = "CameraBrand_Cognex", ResourceType = typeof(Lang))]
  41. Cognex = 3,
  42. /// <summary>
  43. /// 大恒相机
  44. /// </summary>
  45. [Description("大恒相机(Galaxy)")]
  46. [Localization(ResourceName = "CameraBrand_Galaxy", ResourceType = typeof(Lang))]
  47. Galaxy = 4
  48. }
  49. }