| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013 |
- #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 6
- #define CHANNEL_DELAY 6
- #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 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 1
- #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
|