CameraBrand.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. }
  56. }