| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015 |
- #ifndef __CONFIG_Hx__
- #define __CONFIG_Hx__
- #define VERSION "V1.4.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_INSPUR_DC_I_DC_O_NEW_96
- //#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_GOWONE_125A_AC_I3_O1
- //#define PRJ_Malaysia_AC_I3_O1
- //#define PRJ_TEST_AC_I3_O3
- //#define PRJ_ESOUTH_DC_I1_O4_RGB5
- //#define PRJ_CHANGCHUN_AC_I1_O1_OLED
- //#define PRJ_JUNGONG_KEKONG_AC_I1_O1_OLED
- //#define PRJ_INSPUR_AC_I1_O1
- //#define PRJ_TIDA_AC_I3_O1
- //#define PRJ_INST2302_DC_OLED
- //#define PRJ_INST2106_AC_I1_O1_OLED
- //#define PRJ_YST_AC_I1_O1
- //#define PRJ_YUNNAN_AC_I1_O1
- //#define PRJ_BYD_UPS_AC_I1_O1
- //#define PRJ_DUALWIRES_AC_I3_O2
- //#define PRJ_2405_AC_I1_O1_OLED
- //#define PRJ_2503_AC_I1_O1_OLED
- //#define PRJ_IP_AC_I3_O3
- //#define PRJ_IP_AC_I3_O1
- //#define PRJ_IP_AC_I1_O1
- //#define PRJ_IP_AC_WANGXIAOPIN_I3_O3
- //#define PRJ_IP_XXXXXXXXXX_AC_I1_O1
- //#define PRJ_IP_YUNNAN_AC_I1_O1
- //#define PRJ_IP_CHONGQING_AC_I1_O1
- //#define PRJ_IP_AOSENS_AC_I1_O1
- //#define PRJ_IP_AOSENS_DC_I_O
- //#define PRJ_IP_DEBIAO_AC_I3_O1
- //#define PRJ_IP_GOX001_7_AC_I3_O1
- //#define PRJ_IP_GOX001_4_AC_I3_O1
- //#define PRJ_IP_GANGKEDA_AC_I3_O1
- //#define PRJ_709_AC_I3_O1_OLED
- //#define PRJ_TCT_AC_I3_O1
- //#define PRJ_New_Malaysia_AC_I3_O1
- //#define PRJ_RAO_AC_I1_O1
- //#define PRJ_GJ20_07K_2IN_OLED
- //#define PRJ_GJ20_08K_2IN_OLED
- #define PRJ_JUNGONG_AC_I1_O1
- //#define PRJ_CHANGCUN_20260701_AC_I3_O1_OLED
- //#define PRJ_WANGXIAOPING_YS10085_AC_I1_O1_MS
- #define USE_MAIL
- #define MAIL_SEND_BUILTIN
- #define CHIP_T113i 0
- #define CHIP_T113s 1
- #define USE_MQTT
- #define MQTT_SERVER_BUILTIN
- //#define GNSS_ENABLE //EC200N-CN, 不支持gnss
- #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_TIDA_AC_I3_O1)
-
- #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_BEEP 1
- #define USE_LED 1
- #define BRD_MAX 6
- #elif (defined PRJ_IP_GANGKEDA_AC_I3_O1)
- #define LANGUAGE 0 //english
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 7
- #define CHANNEL_DELAY 7
- #define PROD_POWER_TYPE 5
- #define USE_BEEP 1
- #define USE_LED 1
- #define SENSOR_ACCESS_NONE
- #define BRD_MAX 6
- #define MONWAY 3 // 1总检测 2分监分控 3分监不控
- #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
- #define USE_WATCHDOG
- #define SENSOR_ACCESS_NONE
- #elif defined PRJ_709_AC_I3_O1_OLED
- #define LANGUAGE 0 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 5
- #define CHANNEL_DELAY 14
- #define PROD_POWER_TYPE 5
- #define BRD_MAX 5
- #define ROTATE 180
- #define USE_UI
- #define USE_WATCHDOG
- #define USE_BEEP 1
- #define USE_LED 1
- #define FLIP_TIME 3
- #define SURRPORT_20KHZ_PWM
-
- #define KZBSJ_ENABLE
- #elif defined PRJ_CHANGCUN_20260701_AC_I3_O1_OLED
- #define LANGUAGE 0 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 5
- #define CHANNEL_DELAY 5
- #define PROD_POWER_TYPE 5
- #define BRD_MAX 3
- #define ROTATE 180
- #define USE_UI
- #define USE_WATCHDOG
- #define USE_BEEP 1
- #define USE_LED 1
- #define FLIP_TIME 3
- #define SURRPORT_20KHZ_PWM
-
- #define KZBSJ_ENABLE
- #elif defined PRJ_WANGXIAOPING_YS10085_AC_I1_O1_MS
- #define LANGUAGE 1 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 24
- #define CHANNEL_DELAY 24
- #define PROD_POWER_TYPE 0
- #define BRD_MAX 3
- #define ROTATE 0
- #define USE_WATCHDOG
- #define USE_BEEP 1
- #define USE_LED 1
- #define FLIP_TIME 3
- #define SURRPORT_20KHZ_PWM
-
- #define KZBSJ_ENABLE
- #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
- #define SENSOR_ACCESS_NONE
- #define USE_BEEP 1
- #define USE_LED 1
- // #define NEW_GPIO
- #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_INSPUR_DC_I_DC_O_NEW_96
- #define LANGUAGE 0 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 600000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 24
- #define CHANNEL_DELAY 24
- #define PROD_POWER_TYPE 1
- #define USE_WATCHDOG
- #define BRD_MAX 15
- #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
- #define SENSOR_ACCESS_NONE
- #define USE_BEEP 1
- #define USE_LED 1
- #define KZBSJ_ENABLE
- #define RADIUS_ENABLE
- #define LDAD_ENABLE
- #define USE_Cellular
- #define USE_WIFI
- #elif defined PRJ_JUNGONG_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
- #define SENSOR_ACCESS_NONE
- #define USE_BEEP 1
- #define USE_LED 1
- // #define KZBSJ_ENABLE
- // #define RADIUS_ENABLE
- // #define LDAD_ENABLE
- // #define USE_Cellular
- // #define USE_WIFI
- #define BRD_MAX 1
- #define BIG_DATA
- #define USE_UI
- #define NO_SENSOR_UI
- #define MONWAY 1
- #define USE_WATCHDOG
- #define FLIP_TIME 5
- //#define IN_INDEX_MAP {2,3,1,0}
- #elif defined PRJ_2405_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 4
- #define CHANNEL_DELAY 4
- #define PROD_POWER_TYPE 0
- #define BRD_MAX 3
- #define USE_UI
- #elif defined PRJ_2503_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 BRD_MAX 4
- #define USE_UI
- #define USE_WATCHDOG
- #define FLIP_TIME 5
- #elif (defined PRJ_GJ20_08K_2IN_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 BRD_MAX 3
- #define USE_UI
- //#define NO_SENSOR_UI
- #define USE_WATCHDOG
- #define FLIP_TIME 5
- #elif (defined PRJ_GJ20_07K_2IN_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 BRD_MAX 4
- #define USE_UI
- //#define NO_SENSOR_UI
- #define USE_WATCHDOG
- #define FLIP_TIME 5
- #elif defined PRJ_JUNGONG_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 BRD_MAX 2
- #define USE_UI
- #define NO_SENSOR_UI
- #define USE_WATCHDOG
- #define FLIP_TIME 5
- #elif defined PRJ_CHANGCHUN_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 9
- #define CHANNEL_DELAY 9
- #define PROD_POWER_TYPE 0
- #define BRD_MAX 5
- #define ROTATE 180
- #define USE_UI
-
- #define USE_WATCHDOG
- #define USE_BEEP 1
- #define USE_LED 1
- #define FLIP_TIME 5
- #define SENSOR_ACCESS_NONE
- #elif defined PRJ_INSPUR_AC_I1_O1
- #define LANGUAGE 0 //chinese
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 20
- #define CHANNEL_DELAY 20
- #define PROD_POWER_TYPE 0
- #define BRD_MAX 6
-
- #define USE_BEEP 1
- #define USE_LED 1
- #define ROTATE 0
- #define USE_WATCHDOG
- #define SENSOR_ACCESS_NONE
- #elif defined PRJ_JUNGONG_KEKONG_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 3
- #define CHANNEL_DELAY 3
- #define PROD_POWER_TYPE 0
- #define BRD_MAX 5
- #define ROTATE 180
- #define USE_UI
-
- #define USE_WATCHDOG
- #define USE_BEEP 1
- #define USE_LED 1
- #define FLIP_TIME 5
- #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
- #define SENSOR_ACCESS_NONE
- #elif defined PRJ_TCT_AC_I3_O1
- #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 PROD_POWER_TYPE 5
- #define USE_WATCHDOG
- //#define USE_LOGO_GOWONE
- #define ROTATE 180
- #define USE_BEEP 1
- #define USE_LED 1
- #define BRD_MAX 3
- #define SENSOR_ACCESS_NONE
- #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_WANGXIAOPIN_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 USE_BEEP 1
- #define USE_LED 1
- #define PROD_POWER_TYPE 3
- #define BRD_MAX 1
- #define MONWAY 1
- #elif defined PRJ_GOWONE_125A_AC_I3_O1
- #define LANGUAGE 1 // //english
- #define SMPLE_TIME 30 // ms
- #define SAVE_TIME 60000 // ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 12
- #define CHANNEL_DELAY 12
- #define PROD_POWER_TYPE 5
- #define USE_WATCHDOG
- #define USE_LOGO_GOWONE
- #define USE_BEEP 1
- #define USE_LED 1
- #define BRD_MAX 10
-
- #define SURRPORT_20KHZ_PWM
- #define SENSOR_ACCESS_NONE
- //#define DRY_NONE
- #elif defined PRJ_Malaysia_AC_I3_O1
- #define LANGUAGE 1 // //english
- #define SMPLE_TIME 30 // ms
- #define SAVE_TIME 60000 // ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 10
- #define CHANNEL_DELAY 10
- #define PROD_POWER_TYPE 5
- #define USE_WATCHDOG
- #define USE_LOGO_LITECH
- #define NEW_GPIO
- #define USE_BEEP 1
- #define USE_LED 1
-
- #define BRD_MAX 8
- #elif defined PRJ_New_Malaysia_AC_I3_O1
- #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 5
- #define USE_WATCHDOG
- // #define USE_LOGO_LITECH
- #define NEW_GPIO
- #define USE_BEEP 1
- #define USE_LED 1
-
- #define BRD_MAX 3
- #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
- //#define USE_SMART_DETECTION_CTRL 1
- #define NEW_GPIO
- #elif defined PRJ_YST_AC_I1_O1
- #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 0
-
- #define USE_BEEP 1
- #define USE_LED 1
- #define USE_BREAKER_ALARM
-
- #elif defined PRJ_YUNNAN_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
-
- #define USE_BREAKER_ALARM
- #define USE_BEEP 1
- #define USE_LED 1
- #define USE_Cellular
- #define BRD_MAX 5
- #elif defined PRJ_BYD_UPS_AC_I1_O1
- #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 0
-
- #define USE_BREAKER_ALARM
- #define USE_BEEP 1
- #define USE_LED 1
- #define SENSOR_ACCESS_NONE
- #define BRD_MAX 2
- #elif defined PRJ_DUALWIRES_AC_I3_O2
- #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 6
- #define BRD_MAX 12
- #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
- #define BRD_MAX 1
- #elif (defined PRJ_RAO_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
- #define BRD_MAX 4
- #elif (defined PRJ_IP_XXXXXXXXXX_AC_I1_O1)
- #define LANGUAGE 1
- #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 BRD_MAX 1
- #define USE_BEEP 1
- #define USE_LED 1
- #define MONWAY 1 // 1总检测 2分监分控 3分监不控
-
- #elif (defined PRJ_IP_YUNNAN_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
- #define BRD_MAX 1
- #define USE_Cellular
- #elif (defined PRJ_IP_CHONGQING_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
- #define BRD_MAX 5
- #elif (defined PRJ_IP_AOSENS_AC_I1_O1)
- #define LANGUAGE 1
- #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
- #define BRD_MAX 1
- #define NOT_USE_CONTROL
- #elif (defined PRJ_IP_AOSENS_DC_I_O)
- #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 1
- #define USE_BEEP 1
- #define USE_LED 1
- #define BRD_MAX 1
- #elif (defined PRJ_IP_DEBIAO_AC_I3_O1)
- #define LANGUAGE 1
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 4
- #define CHANNEL_DELAY 8
- #define PROD_POWER_TYPE 5
- #define USE_BEEP 1
- #define BRD_MAX 3
- #define USE_LED 1
- #elif (defined PRJ_IP_GOX001_7_AC_I3_O1)
- #define LANGUAGE 0
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 7
- #define CHANNEL_DELAY 7
- #define PROD_POWER_TYPE 5
- #define USE_BEEP 1
- #define BRD_MAX 3
- #define USE_LED 1
- #elif (defined PRJ_IP_GOX001_4_AC_I3_O1)
- #define LANGUAGE 0
- #define SMPLE_TIME 30 //ms
- #define SAVE_TIME 60000 //ms
- #define CASCADE_CNT 0
- #define PHASE_GROUP 4
- #define CHANNEL_DELAY 4
- #define PROD_POWER_TYPE 5
- #define USE_BEEP 1
- #define BRD_MAX 3
- #define USE_LED 1
- #else
- #error define a PRJ_XXXX please!
- #endif
- #endif
|