| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- #ifndef __CONFIG_Hx__
- #define __CONFIG_Hx__
- #define VERSION "V0.0.1"
- #define PROD_ID 1
- #define PROD_TYPE 1
- #define PROD_POWER_TYPE 1
- #define LANGUAGE 0
- #define SMPLE_TIME 100 //ms
- #define SAVE_TIME 1000 //ms
- #define CASCADE_CNT 5
- #define MAX_CHN_COUNT 16
- #define PHASE_GROUP_CNT 8
- #define CHANNEL_DELAY_SEC 8
- /////////////customer demannd//////////////////////
- //#define CUST_GOM037 //xian
- //#define CUST_USASL
- //#define CUST_ANDERSON
- //#define CUST_HYPERTEC
- #define CUST_CGANGJIANG_RIVER
- #ifdef CUST_GOM037 //xian
- //#define GOM037_PDU_GC10_08K_80H //ac_in1_out1_40a_p8_5ch_nologo_cn
- //#define GOM037PDU_GC20_04K_125H //ac_in1_out1_40a_p4_5ch_nologo_cn
-
- #ifdef GOM037PDU_GC20_04K_125H
- #undef CHANNEL_DELAY_SEC
- #define CHANNEL_DELAY_SEC 5
- #endif
- #endif
- #ifdef CUST_USASL
- #define PDU_GC40_03K_125H //ac_in3_out3_40a_p8_12ch_nologo_en
- //#define PDU_GC60_04K_125H //ac_in3_out1_40a_p4_24ch_nologo_en
- #endif
- #ifdef CUST_ANDERSON
- #define USE_SMTP
- #define USE_NETSWITCH
- #define SW_STATIC_PORT_START
- #define SW_PORT_INDEX_START 0
- #define SW_PORT_INDEX_END 21
- //#define SW_STATIC_IP
- #ifdef SW_STATIC_IP
- #define SW_HOST_IP "192.168.234.1"
- #define SW_PDU_IP "192.168.234.132"
- #endif
-
- #undef MAX_CHN_COUNT
- #define MAX_CHN_COUNT 24
- #endif
- #ifdef CUST_HYPERTEC
- //ac_in3_out1_36ch_nologo_en_hypertec
-
- #undef PHASE_GROUP_CNT
- #undef CHANNEL_DELAY_SEC
- #define PHASE_GROUP_CNT 6
- #define CHANNEL_DELAY_SEC 6
- #endif
- #ifdef CUST_CGANGJIANG_RIVER
- #define __USE_CURL_SMTP
- #endif
- #define IS_IP 1
- ////////////////////////////////////////////////////
- #endif
|