cfg_russia_itk.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. #ifndef __CONFIG_Hx__
  2. #define __CONFIG_Hx__
  3. #define VERSION "V0.0.1"
  4. #define PROD_ID 0
  5. #define PROD_TYPE 1
  6. #define PROD_POWER_TYPE 1
  7. #define LANGUAGE 0
  8. #define SMPLE_TIME 30 //ms
  9. #define SAVE_TIME 60000 //ms
  10. #define MAX_CHN_COUNT 16
  11. #define PHASE_GROUP_CNT 8
  12. #define CHANNEL_DELAY_SEC 8
  13. #define USE_SMTP
  14. /////////////customer demannd//////////////////////
  15. //#define PRJ_XIAN_GOM037
  16. //#define PRJ_USA_SL
  17. //#define PRJ_ANDERSON
  18. //#define PRJ_HYPERTEC
  19. #define PRJ_RUSSIA_ITK
  20. //#define PRJ_GENERAL
  21. //#define PRJ_TEST
  22. #ifdef PRJ_TEST
  23. #define SMTP_SEND_BUILTIN
  24. #undef MAX_CHN_COUNT
  25. #define MAX_CHN_COUNT 24
  26. #endif
  27. #ifdef PRJ_XIAN_GOM037
  28. #define SMTP_SEND_BUILTIN
  29. #define GOM037_PDU_GC10_08K_80H //ac_in1_out1_40a_p8_5ch_nologo_cn
  30. //#define GOM037PDU_GC20_04K_125H //ac_in1_out1_40a_p4_5ch_nologo_cn
  31. #ifdef GOM037PDU_GC20_04K_125H
  32. #undef CHANNEL_DELAY_SEC
  33. #define CHANNEL_DELAY_SEC 5
  34. #endif
  35. #endif
  36. #ifdef PRJ_USA_SL
  37. #define SMTP_SEND_BUILTIN
  38. #define PDU_GC40_03K_125H //ac_in3_out3_40a_p8_12ch_nologo_en
  39. //#define PDU_GC60_04K_125H //ac_in3_out1_40a_p4_24ch_nologo_en
  40. #endif
  41. #ifdef PRJ_RUSSIA_ITK
  42. #define SMTP_SEND_BUILTIN
  43. #endif
  44. #ifdef PRJ_ANDERSON
  45. //#define USE_MQTT
  46. //#define MQTT_SERVER_BUILTIN
  47. #define SMTP_SEND_BUILTIN
  48. #define USE_NETSWITCH
  49. #define SW_STATIC_PORT_START
  50. #define SW_PORT_INDEX_START 0
  51. #define SW_PORT_INDEX_END 21
  52. //#define SW_STATIC_IP
  53. #ifdef SW_STATIC_IP
  54. #define SW_HOST_IP "192.168.234.1"
  55. #define SW_PDU_IP "192.168.234.132"
  56. #endif
  57. #undef MAX_CHN_COUNT
  58. #define MAX_CHN_COUNT 24
  59. #endif
  60. #ifdef PRJ_HYPERTEC
  61. //ac_in3_out1_36ch_nologo_en_hypertec
  62. #define SMTP_SEND_BUILTIN
  63. #undef PHASE_GROUP_CNT
  64. #undef CHANNEL_DELAY_SEC
  65. #define PHASE_GROUP_CNT 6
  66. #define CHANNEL_DELAY_SEC 6
  67. #endif
  68. #endif