| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- #ifndef __CONFIG_Hx__
- #define __CONFIG_Hx__
- #define VERSION "V0.0.1"
- #define PROD_ID 0
- #define PROD_TYPE 1
- /////////////customer demannd//////////////////////
- //#define PRJ_XIAN_AC_I1_O1_P4
- //#define PRJ_XIAN_AC_I1_O1_P8
- //#define PRJ_USASL_AC_I3_O1
- //#define PRJ_USASL_AC_I3_O3
- //#define PRJ_ITK_AC_I1_O1
- #define PRJ_ITK_AC_I3_O1
- //#define PRJ_STSC_I3_O3
- //#define PRJ_INSPUR_DC_I_DC_O
- //#define PRJ_ANDERSON_AC_I3_O3
- //#define PRJ_HYPERTEC_AC_I3_O1
- //#define PRJ_TEST
- #if (defined PRJ_XIAN_AC_I1_O1_P4) || (defined PRJ_XIAN_AC_I1_O1_P8) //GOM037
- #define LANGUAGE 0 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define MAX_CHN_COUNT 16
- #define PHASE_GROUP 8
- #ifdef PRJ_XIAN_AC_I1_O1_P4
- //#define GOM037PDU_GC20_04K_125H //ac_in1_out1_40a_p4_5ch_nologo_cn
- #define CHANNEL_DELAY 5
- #else
- //#define GOM037_PDU_GC10_08K_80H //ac_in1_out1_40a_p8_5ch_nologo_cn
- #define CHANNEL_DELAY 8
- #endif
- #define USE_SMTP
- #define SMTP_SEND_BUILTIN
- #define PROD_POWER_TYPE 0
- #define IN_INDEX_MAP {3,2,0,1}
- #elif (defined PRJ_USASL_AC_I3_O1) || (defined PRJ_USASL_AC_I3_O3)
- #define LANGUAGE 1 //english
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define MAX_CHN_COUNT 16
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define USE_SMTP
- #define SMTP_SEND_BUILTIN
- //#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
- #ifdef PRJ_USASL_AC_I3_O1
- #define PROD_POWER_TYPE 5
- #else
- #define PROD_POWER_TYPE 3
- #endif
- #elif (defined PRJ_ITK_AC_I1_O1) || (defined PRJ_ITK_AC_I3_O1)
- #define LANGUAGE 2 //russia
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define MAX_CHN_COUNT 16
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
-
- #define USE_LOGO_ITK
- #define USE_SMTP
- #define SMTP_SEND_BUILTIN
- #ifdef PRJ_ITK_AC_I1_O1
- #define PROD_POWER_TYPE 0
- #else
- #define PROD_POWER_TYPE 5
- #endif
- #elif (defined PRJ_LITECH_AC_I1_O1) || (defined PRJ_LITECH_AC_I3_O1)
- #define LANGUAGE 1 //english
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define MAX_CHN_COUNT 16
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
-
- #define USE_LOGO_LITECH
- #define USE_SMTP
- #define SMTP_SEND_BUILTIN
- #ifdef PRJ_LITECH_AC_I1_O1
- #define PROD_POWER_TYPE 0
- #else
- #define PROD_POWER_TYPE 5
- #endif
- #elif defined PRJ_STSC_I3_O3
- #define LANGUAGE 1 //english
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define MAX_CHN_COUNT 24
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define USE_SMTP
- #define SMTP_SEND_BUILTIN
- #define PROD_POWER_TYPE 3
- #elif defined PRJ_ANDERSON_AC_I3_O3
- #define LANGUAGE 1 //english
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define MAX_CHN_COUNT 24
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define USE_SMTP
- #define SMTP_SEND_BUILTIN
- #define PROD_POWER_TYPE 3
- #elif defined PRJ_HYPERTEC_AC_I3_O1
- //ac_in3_out1_36ch_nologo_en_hypertec
- #define LANGUAGE 1 //english
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define MAX_CHN_COUNT 16
- #define PHASE_GROUP 6
- #define CHANNEL_DELAY 6
-
- #define USE_LOGO_HYPERTEC
- #define USE_SMTP
- #define SMTP_SEND_BUILTIN
- #define PROD_POWER_TYPE 5
- #elif defined PRJ_INSPUR_DC_I_DC_O
- #define LANGUAGE 0 //english
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define MAX_CHN_COUNT 16
- #define PHASE_GROUP 6
- #define CHANNEL_DELAY 6
- #define USE_SMTP
- #define SMTP_SEND_BUILTIN
- #define PROD_POWER_TYPE 1
- #elif defined PRJ_TEST
- #define LANGUAGE 0 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define MAX_CHN_COUNT 2//4
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
-
- //#define USE_SMTP
- //#define SMTP_SEND_BUILTIN
- //#define USE_MQTT
- //#define MQTT_SERVER_BUILTIN
- #define PROD_POWER_TYPE 3
- #else
- #error define a PRJ_XXXX please!
- #endif
- #endif
|