CameraBrand.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. namespace LampInspectionMachine.Cameralibs
  8. {
  9. public enum CameraBrand
  10. {
  11. /// <summary>
  12. /// 海康相机
  13. /// </summary>
  14. [Description("海康相机(MVS)")]
  15. HikRobot_MVS = 0,
  16. /// <summary>
  17. /// 巴斯勒相机
  18. /// </summary>
  19. [Description("巴斯勒相机(Pylon)")]
  20. Basler_Pylon = 1,
  21. }
  22. public enum TriggerSource
  23. {
  24. /// <summary>
  25. /// 软触发
  26. /// </summary>
  27. [Description("软触发")]
  28. Software,
  29. /// <summary>
  30. /// 线路0
  31. /// </summary>
  32. [Description("线路0")]
  33. Line0,
  34. /// <summary>
  35. /// 线路1
  36. /// </summary>
  37. [Description("线路1")]
  38. Line1,
  39. /// <summary>
  40. /// 线路2
  41. /// </summary>
  42. [Description("线路2")]
  43. Line2,
  44. /// <summary>
  45. /// 线路3
  46. /// </summary>
  47. [Description("线路3")]
  48. Line3,
  49. }
  50. public enum TriggerPolarity
  51. {
  52. RisingEdge,
  53. FallingEdge
  54. }
  55. }