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