| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328 |
- #ifndef __CONFIG_Hx__
- #define __CONFIG_Hx__
- #define VERSION "V0.0.2"
- #define PROD_ID 0
- /////////////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_STSC_I3_O1_OLED
- //#define PRJ_LITECH_AC_I1_O1
- //#define PRJ_LITECH_AC_I3_O1
- //#define PRJ_INSPUR_DC_I_DC_O
- //#define PRJ_ANDERSON_AC_I3_O3
- //#define PRJ_HYPERTEC_AC_I3_O1
- //#define PRJ_SG_I3_O3
- //#define PRJ_TEST
- //#define PRJ_TEST_AC_I1_O1
- //#define PRJ_TEST_AC_I3_O1
- #define PRJ_TEST_AC_I3_O3
- //#define PRJ_ESOUTH_DC_I1_O4_RGB5
- //#define PRJ_IP_AC_I3_O3
- //#define PRJ_INST2302_DC_OLED
- //#define PRJ_INST2106_AC_I1_O1_OLED
- //#define PRJ_IP_AC_I3_O1
- //#define PRJ_IP_AC_I1_O1
- #define USE_MAIL
- #define MAIL_SEND_BUILTIN
- #define CHIP_T113i 0
- #define CHIP_T113s 1
- #define USE_MQTT
- #define MQTT_SERVER_BUILTIN
- //#define USE_CELL
- //#define USE_WIFI
- //#define USE_BOARD_UPGRADE
- #if (CHIP_TYPE == CHIP_T113s)
- #define USE_WATCHDOG
- #endif
- #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 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 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 PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- //#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 PHASE_GROUP 8
- #define CHANNEL_DELAY 8
-
- #define USE_LOGO_ITK
- #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 USE_LOGO_LITECH
- #ifdef PRJ_LITECH_AC_I1_O1
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define PROD_POWER_TYPE 0
- #else
- #define PHASE_GROUP 6
- #define CHANNEL_DELAY 6
- #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 PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define PROD_POWER_TYPE 3
- #define NORTH_USER_SPECILS //north user specification
- #elif defined PRJ_STSC_I3_O1_OLED
- #define LANGUAGE 0 //english
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define PROD_POWER_TYPE 5
- #define USE_UI
- #define USE_BEEP
- #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 PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define USE_NF_CTRL
- #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 PHASE_GROUP 6
- #define CHANNEL_DELAY 6
-
- #define USE_LOGO_HYPERTEC
- #define PROD_POWER_TYPE 5
- #elif defined PRJ_INSPUR_DC_I_DC_O
- #define LANGUAGE 0 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 6
- #define CHANNEL_DELAY 6
- #define PROD_POWER_TYPE 1
- #elif defined PRJ_SG_I3_O3
- #define LANGUAGE 0 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 6
- #define CHANNEL_DELAY 6
- #define PROD_POWER_TYPE 3
- #elif defined PRJ_TEST
- #define LANGUAGE 0 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define PROD_POWER_TYPE 5
- #elif defined PRJ_TEST_AC_I1_O1
- #define LANGUAGE 0 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define PROD_POWER_TYPE 0
- #elif defined PRJ_TEST_AC_I3_O1
- #define LANGUAGE 0 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define PROD_POWER_TYPE 5
- #elif defined PRJ_TEST_AC_I3_O3
- #define LANGUAGE 0 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define PROD_POWER_TYPE 3
- #define BRD_MAX 2
- #define MONWAY 1
- #elif defined PRJ_IP_AC_I3_O3
- #define LANGUAGE 0
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define PROD_POWER_TYPE 3
- #define NOT_USE_CONTROL
- #elif defined PRJ_INST2302_DC_OLED
- #define LANGUAGE 0 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define PROD_POWER_TYPE 1
- #define USE_UI
- #define USE_SCREEN_LED
- //#define USE_SCREEN_LCD
- #elif defined PRJ_INST2106_AC_I1_O1_OLED
- #define LANGUAGE 0 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define PROD_POWER_TYPE 0
- #define USE_UI
- #define ROTATE 180
- #define FLIP_TIME 3
-
- #elif defined PRJ_ESOUTH_DC_I1_O4_RGB5
- #define LANGUAGE 0 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define PROD_POWER_TYPE 1
-
- #define SCREEN_RGB
- #define USE_WATCHDOG
- #define BRD_MAX 10
- #elif (defined PRJ_IP_AC_I3_O1)
- #define LANGUAGE 0
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define PROD_POWER_TYPE 5
- #define USE_BEEP 1
- //#define NOT_USE_CONTROL
- #elif (defined PRJ_IP_AC_I1_O1)
- #define LANGUAGE 0
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 8
- #define CHANNEL_DELAY 8
- #define PROD_POWER_TYPE 0
- #define USE_BEEP 1
- #define USE_LED 1
- #else
- #error define a PRJ_XXXX please!
- #endif
- #endif
|