革博士V2程序
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

59 lignes
1.1 KiB

  1. #define BY
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace GeBoShi.SysCtrl
  9. {
  10. public enum LightChannelEnum
  11. {
  12. [Description("通道1")]
  13. CH1 = 1,
  14. [Description("通道2")]
  15. CH2 = 2,
  16. [Description("通道3")]
  17. CH3 = 3,
  18. [Description("通道4")]
  19. CH4 = 4,
  20. [Description("通道5")]
  21. CH5 = 5,
  22. [Description("通道6")]
  23. CH6 = 6,
  24. }
  25. public enum DOName
  26. {
  27. #if BY
  28. 三色灯红灯 = 8,
  29. 三色灯绿灯 = 10,
  30. 三色灯黄灯 = 9,
  31. 三色灯蜂鸣器 = 11,
  32. #else
  33. 三色灯红灯 = 8,
  34. 三色灯绿灯 = 9,
  35. 三色灯黄灯 = 10,
  36. 三色灯蜂鸣器 = 11,
  37. #endif
  38. 启动 = 0,
  39. 复位 = 9,
  40. 停止 = 1,
  41. 打标 = 2,
  42. 日光灯 = 15,
  43. }
  44. public enum DIName
  45. {
  46. 启动按钮 = 14,
  47. 暂停按钮 = 1,
  48. 复位按钮 = 2,
  49. 门磁 = 11,
  50. }
  51. }