CameraBrand.cs 2.0 KB

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