cfg.h 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689
  1. #ifndef __CONFIG_Hx__
  2. #define __CONFIG_Hx__
  3. #define VERSION "V1.3.2"
  4. /////////////customer demannd//////////////////////
  5. //#define PRJ_XIAN_AC_I1_O1_P4
  6. //#define PRJ_XIAN_AC_I1_O1_P8
  7. //#define PRJ_USASL_AC_I3_O1
  8. //#define PRJ_USASL_AC_I3_O3
  9. //#define PRJ_ITK_AC_I1_O1
  10. //#define PRJ_ITK_AC_I3_O1
  11. //#define PRJ_STSC_I3_O3
  12. //#define PRJ_STSC_I3_O1_OLED
  13. //#define PRJ_LITECH_AC_I1_O1
  14. //#define PRJ_LITECH_AC_I3_O1
  15. //#define PRJ_INSPUR_DC_I_DC_O
  16. //#define PRJ_INSPUR_DC_I_DC_O_NEW_96
  17. //#define PRJ_ANDERSON_AC_I3_O3
  18. //#define PRJ_HYPERTEC_AC_I3_O1
  19. //#define PRJ_SG_I3_O3
  20. //#define PRJ_TEST
  21. //#define PRJ_TEST_AC_I1_O1
  22. //#define PRJ_TEST_AC_I3_O1
  23. //#define PRJ_GOWONE_125A_AC_I3_O1
  24. //#define PRJ_Malaysia_AC_I3_O1
  25. //#define PRJ_TEST_AC_I3_O3
  26. //#define PRJ_ESOUTH_DC_I1_O4_RGB5
  27. //#define PRJ_CHANGCHUN_AC_I1_O1_OLED
  28. //#define PRJ_JUNGONG_KEKONG_AC_I1_O1_OLED
  29. //#define PRJ_INSPUR_AC_I1_O1
  30. //#define PRJ_TIDA_AC_I3_O1
  31. //#define PRJ_INST2302_DC_OLED
  32. //#define PRJ_INST2106_AC_I1_O1_OLED
  33. //#define PRJ_YST_AC_I1_O1
  34. //#define PRJ_YUNNAN_AC_I1_O1
  35. //#define PRJ_BYD_UPS_AC_I1_O1
  36. //#define PRJ_DUALWIRES_AC_I3_O2
  37. //#define PRJ_2405_AC_I1_O1_OLED
  38. #define PRJ_2503_AC_I1_O1_OLED
  39. //#define PRJ_IP_AC_I3_O3
  40. //#define PRJ_IP_AC_I3_O1
  41. //#define PRJ_IP_AC_I1_O1
  42. //#define PRJ_IP_YUNNAN_AC_I1_O1
  43. //#define PRJ_IP_CHONGQING_AC_I1_O1
  44. //#define PRJ_IP_AOSENS_AC_I1_O1
  45. //#define PRJ_IP_AOSENS_DC_I_O
  46. //#define PRJ_IP_DEBIAO_AC_I3_O1
  47. //#define PRJ_IP_GOX001_7_AC_I3_O1
  48. //#define PRJ_IP_GOX001_4_AC_I3_O1
  49. #define USE_MAIL
  50. #define MAIL_SEND_BUILTIN
  51. #define CHIP_T113i 0
  52. #define CHIP_T113s 1
  53. #define USE_MQTT
  54. #define MQTT_SERVER_BUILTIN
  55. //#define GNSS_ENABLE //EC200N-CN, 不支持gnss
  56. #define USE_BOARD_UPGRADE
  57. #if (CHIP_TYPE == CHIP_T113s)
  58. #define USE_WATCHDOG
  59. #endif
  60. #if (defined PRJ_XIAN_AC_I1_O1_P4) || (defined PRJ_XIAN_AC_I1_O1_P8) //GOM037
  61. #define LANGUAGE 0 //chinese
  62. #define SMPLE_TIME 30 //ms
  63. #define SAVE_TIME 60000 //ms
  64. #define CASCADE_CNT 0
  65. #define PHASE_GROUP 8
  66. #ifdef PRJ_XIAN_AC_I1_O1_P4
  67. //#define GOM037PDU_GC20_04K_125H //ac_in1_out1_40a_p4_5ch_nologo_cn
  68. #define CHANNEL_DELAY 5
  69. #else
  70. //#define GOM037_PDU_GC10_08K_80H //ac_in1_out1_40a_p8_5ch_nologo_cn
  71. #define CHANNEL_DELAY 8
  72. #endif
  73. #define PROD_POWER_TYPE 0
  74. #define IN_INDEX_MAP {3,2,0,1}
  75. #elif (defined PRJ_TIDA_AC_I3_O1)
  76. #define LANGUAGE 0 //english
  77. #define SMPLE_TIME 30 //ms
  78. #define SAVE_TIME 60000 //ms
  79. #define CASCADE_CNT 0
  80. #define PHASE_GROUP 8
  81. #define CHANNEL_DELAY 8
  82. #define PROD_POWER_TYPE 5
  83. #define USE_BEEP 1
  84. #define USE_LED 1
  85. #define BRD_MAX 6
  86. #elif (defined PRJ_USASL_AC_I3_O1) || (defined PRJ_USASL_AC_I3_O3)
  87. #define LANGUAGE 1 //english
  88. #define SMPLE_TIME 30 //ms
  89. #define SAVE_TIME 60000 //ms
  90. #define CASCADE_CNT 0
  91. #define PHASE_GROUP 8
  92. #define CHANNEL_DELAY 8
  93. //#define PDU_GC40_03K_125H //ac_in3_out3_40a_p8_12ch_nologo_en
  94. //#define PDU_GC60_04K_125H //ac_in3_out1_40a_p4_24ch_nologo_en
  95. #ifdef PRJ_USASL_AC_I3_O1
  96. #define PROD_POWER_TYPE 5
  97. #else
  98. #define PROD_POWER_TYPE 3
  99. #endif
  100. #elif (defined PRJ_ITK_AC_I1_O1) || (defined PRJ_ITK_AC_I3_O1)
  101. #define LANGUAGE 2 //russia
  102. #define SMPLE_TIME 30 //ms
  103. #define SAVE_TIME 60000 //ms
  104. #define CASCADE_CNT 0
  105. #define PHASE_GROUP 8
  106. #define CHANNEL_DELAY 8
  107. #define USE_LOGO_ITK
  108. #ifdef PRJ_ITK_AC_I1_O1
  109. #define PROD_POWER_TYPE 0
  110. #else
  111. #define PROD_POWER_TYPE 5
  112. #endif
  113. #elif (defined PRJ_LITECH_AC_I1_O1) || (defined PRJ_LITECH_AC_I3_O1)
  114. #define LANGUAGE 1 //english
  115. #define SMPLE_TIME 30 //ms
  116. #define SAVE_TIME 60000 //ms
  117. #define CASCADE_CNT 0
  118. #define USE_LOGO_LITECH
  119. #ifdef PRJ_LITECH_AC_I1_O1
  120. #define PHASE_GROUP 8
  121. #define CHANNEL_DELAY 8
  122. #define PROD_POWER_TYPE 0
  123. #else
  124. #define PHASE_GROUP 6
  125. #define CHANNEL_DELAY 6
  126. #define PROD_POWER_TYPE 5
  127. #endif
  128. #elif defined PRJ_STSC_I3_O3
  129. #define LANGUAGE 1 //english
  130. #define SMPLE_TIME 30 //ms
  131. #define SAVE_TIME 60000 //ms
  132. #define CASCADE_CNT 0
  133. #define PHASE_GROUP 8
  134. #define CHANNEL_DELAY 8
  135. #define PROD_POWER_TYPE 3
  136. #define NORTH_USER_SPECILS //north user specification
  137. #elif defined PRJ_STSC_I3_O1_OLED
  138. #define LANGUAGE 0 //english
  139. #define SMPLE_TIME 30 //ms
  140. #define SAVE_TIME 60000 //ms
  141. #define CASCADE_CNT 0
  142. #define PHASE_GROUP 8
  143. #define CHANNEL_DELAY 8
  144. #define PROD_POWER_TYPE 5
  145. #define USE_UI
  146. #define USE_BEEP
  147. #elif defined PRJ_ANDERSON_AC_I3_O3
  148. #define LANGUAGE 1 //english
  149. #define SMPLE_TIME 30 //ms
  150. #define SAVE_TIME 60000 //ms
  151. #define CASCADE_CNT 0
  152. #define PHASE_GROUP 8
  153. #define CHANNEL_DELAY 8
  154. #define USE_NF_CTRL
  155. #define PROD_POWER_TYPE 3
  156. #elif defined PRJ_HYPERTEC_AC_I3_O1
  157. //ac_in3_out1_36ch_nologo_en_hypertec
  158. #define LANGUAGE 1 //english
  159. #define SMPLE_TIME 30 //ms
  160. #define SAVE_TIME 60000 //ms
  161. #define CASCADE_CNT 0
  162. #define PHASE_GROUP 6
  163. #define CHANNEL_DELAY 6
  164. #define USE_LOGO_HYPERTEC
  165. #define PROD_POWER_TYPE 5
  166. #elif defined PRJ_INSPUR_DC_I_DC_O
  167. #define LANGUAGE 0 //chinese
  168. #define SMPLE_TIME 30 //ms
  169. #define SAVE_TIME 60000 //ms
  170. #define CASCADE_CNT 0
  171. #define PHASE_GROUP 6
  172. #define CHANNEL_DELAY 6
  173. #define PROD_POWER_TYPE 1
  174. #elif defined PRJ_INSPUR_DC_I_DC_O_NEW_96
  175. #define LANGUAGE 0 //chinese
  176. #define SMPLE_TIME 30 //ms
  177. #define SAVE_TIME 600000 //ms
  178. #define CASCADE_CNT 0
  179. #define PHASE_GROUP 24
  180. #define CHANNEL_DELAY 24
  181. #define PROD_POWER_TYPE 1
  182. #define USE_WATCHDOG
  183. #define BRD_MAX 15
  184. #elif defined PRJ_SG_I3_O3
  185. #define LANGUAGE 0 //chinese
  186. #define SMPLE_TIME 30 //ms
  187. #define SAVE_TIME 60000 //ms
  188. #define CASCADE_CNT 0
  189. #define PHASE_GROUP 6
  190. #define CHANNEL_DELAY 6
  191. #define PROD_POWER_TYPE 3
  192. #elif defined PRJ_TEST
  193. #define LANGUAGE 0 //chinese
  194. #define SMPLE_TIME 30 //ms
  195. #define SAVE_TIME 60000 //ms
  196. #define CASCADE_CNT 0
  197. #define PHASE_GROUP 8
  198. #define CHANNEL_DELAY 8
  199. #define PROD_POWER_TYPE 5
  200. #elif defined PRJ_TEST_AC_I1_O1
  201. #define LANGUAGE 0 //chinese
  202. #define SMPLE_TIME 30 //ms
  203. #define SAVE_TIME 60000 //ms
  204. #define CASCADE_CNT 0
  205. #define PHASE_GROUP 8
  206. #define CHANNEL_DELAY 8
  207. #define PROD_POWER_TYPE 0
  208. //#define IN_INDEX_MAP {2,3,1,0}
  209. #elif defined PRJ_2405_AC_I1_O1_OLED
  210. #define LANGUAGE 0 //chinese
  211. #define SMPLE_TIME 30 //ms
  212. #define SAVE_TIME 60000 //ms
  213. #define CASCADE_CNT 0
  214. #define PHASE_GROUP 4
  215. #define CHANNEL_DELAY 4
  216. #define PROD_POWER_TYPE 0
  217. #define BRD_MAX 3
  218. #define USE_UI
  219. #elif defined PRJ_2503_AC_I1_O1_OLED
  220. #define LANGUAGE 0 //chinese
  221. #define SMPLE_TIME 30 //ms
  222. #define SAVE_TIME 60000 //ms
  223. #define CASCADE_CNT 0
  224. #define PHASE_GROUP 8
  225. #define CHANNEL_DELAY 8
  226. #define PROD_POWER_TYPE 0
  227. #define BRD_MAX 4
  228. #define USE_UI
  229. #define USE_WATCHDOG
  230. #define FLIP_TIME 5
  231. #elif defined PRJ_CHANGCHUN_AC_I1_O1_OLED
  232. #define LANGUAGE 0 //chinese
  233. #define SMPLE_TIME 30 //ms
  234. #define SAVE_TIME 60000 //ms
  235. #define CASCADE_CNT 0
  236. #define PHASE_GROUP 9
  237. #define CHANNEL_DELAY 9
  238. #define PROD_POWER_TYPE 0
  239. #define BRD_MAX 5
  240. #define ROTATE 180
  241. #define USE_UI
  242. #define USE_WATCHDOG
  243. #define USE_BEEP 1
  244. #define USE_LED 1
  245. #define FLIP_TIME 5
  246. #define SENSOR_ACCESS_NONE
  247. #elif defined PRJ_INSPUR_AC_I1_O1
  248. #define LANGUAGE 0 //chinese
  249. #define SMPLE_TIME 30 //ms
  250. #define SAVE_TIME 60000 //ms
  251. #define CASCADE_CNT 0
  252. #define PHASE_GROUP 20
  253. #define CHANNEL_DELAY 20
  254. #define PROD_POWER_TYPE 0
  255. #define BRD_MAX 6
  256. #define USE_BEEP 1
  257. #define USE_LED 1
  258. #define ROTATE 0
  259. #define USE_WATCHDOG
  260. #define SENSOR_ACCESS_NONE
  261. #elif defined PRJ_JUNGONG_KEKONG_AC_I1_O1_OLED
  262. #define LANGUAGE 0 //chinese
  263. #define SMPLE_TIME 30 //ms
  264. #define SAVE_TIME 60000 //ms
  265. #define CASCADE_CNT 0
  266. #define PHASE_GROUP 3
  267. #define CHANNEL_DELAY 3
  268. #define PROD_POWER_TYPE 0
  269. #define BRD_MAX 5
  270. #define ROTATE 180
  271. #define USE_UI
  272. #define USE_WATCHDOG
  273. #define USE_BEEP 1
  274. #define USE_LED 1
  275. #define FLIP_TIME 5
  276. #elif defined PRJ_TEST_AC_I3_O1
  277. #define LANGUAGE 0 //chinese
  278. #define SMPLE_TIME 30 //ms
  279. #define SAVE_TIME 60000 //ms
  280. #define CASCADE_CNT 0
  281. #define PHASE_GROUP 8
  282. #define CHANNEL_DELAY 8
  283. #define PROD_POWER_TYPE 5
  284. #elif defined PRJ_TEST_AC_I3_O3
  285. #define LANGUAGE 0 //chinese
  286. #define SMPLE_TIME 30 //ms
  287. #define SAVE_TIME 60000 //ms
  288. #define CASCADE_CNT 0
  289. #define PHASE_GROUP 8
  290. #define CHANNEL_DELAY 8
  291. #define PROD_POWER_TYPE 3
  292. #define BRD_MAX 2
  293. #define MONWAY 1
  294. #elif defined PRJ_GOWONE_125A_AC_I3_O1
  295. #define LANGUAGE 1 // //english
  296. #define SMPLE_TIME 30 // ms
  297. #define SAVE_TIME 60000 // ms
  298. #define CASCADE_CNT 0
  299. #define PHASE_GROUP 12
  300. #define CHANNEL_DELAY 12
  301. #define PROD_POWER_TYPE 5
  302. #define USE_WATCHDOG
  303. #define USE_LOGO_GOWONE
  304. #define USE_BEEP 1
  305. #define USE_LED 1
  306. #define BRD_MAX 10
  307. #define SENSOR_ACCESS_NONE
  308. #elif defined PRJ_Malaysia_AC_I3_O1
  309. #define LANGUAGE 1 // //english
  310. #define SMPLE_TIME 30 // ms
  311. #define SAVE_TIME 60000 // ms
  312. #define CASCADE_CNT 0
  313. #define PHASE_GROUP 10
  314. #define CHANNEL_DELAY 10
  315. #define PROD_POWER_TYPE 5
  316. #define USE_WATCHDOG
  317. #define USE_LOGO_LITECH
  318. #define NEW_GPIO
  319. #define USE_BEEP 1
  320. #define USE_LED 1
  321. #define BRD_MAX 8
  322. #elif defined PRJ_IP_AC_I3_O3
  323. #define LANGUAGE 0
  324. #define SMPLE_TIME 30 //ms
  325. #define SAVE_TIME 60000 //ms
  326. #define CASCADE_CNT 0
  327. #define PHASE_GROUP 8
  328. #define CHANNEL_DELAY 8
  329. #define PROD_POWER_TYPE 3
  330. #define NOT_USE_CONTROL
  331. #elif defined PRJ_INST2302_DC_OLED
  332. #define LANGUAGE 0 //chinese
  333. #define SMPLE_TIME 30 //ms
  334. #define SAVE_TIME 60000 //ms
  335. #define CASCADE_CNT 0
  336. #define PHASE_GROUP 8
  337. #define CHANNEL_DELAY 8
  338. #define PROD_POWER_TYPE 1
  339. #define USE_UI
  340. #define USE_SCREEN_LED
  341. //#define USE_SCREEN_LCD
  342. #elif defined PRJ_INST2106_AC_I1_O1_OLED
  343. #define LANGUAGE 0 //chinese
  344. #define SMPLE_TIME 30 //ms
  345. #define SAVE_TIME 60000 //ms
  346. #define CASCADE_CNT 0
  347. #define PHASE_GROUP 8
  348. #define CHANNEL_DELAY 8
  349. #define PROD_POWER_TYPE 0
  350. #define USE_UI
  351. #define ROTATE 180
  352. #define FLIP_TIME 3
  353. #elif defined PRJ_ESOUTH_DC_I1_O4_RGB5
  354. #define LANGUAGE 0 //chinese
  355. #define SMPLE_TIME 30 //ms
  356. #define SAVE_TIME 60000 //ms
  357. #define CASCADE_CNT 0
  358. #define PHASE_GROUP 8
  359. #define CHANNEL_DELAY 8
  360. #define PROD_POWER_TYPE 1
  361. #define SCREEN_RGB
  362. #define USE_WATCHDOG
  363. #define BRD_MAX 10
  364. //#define USE_SMART_DETECTION_CTRL 1
  365. #define NEW_GPIO
  366. #elif defined PRJ_YST_AC_I1_O1
  367. #define LANGUAGE 0 //chinese
  368. #define SMPLE_TIME 30 //ms
  369. #define SAVE_TIME 60000 //ms
  370. #define CASCADE_CNT 0
  371. #define PHASE_GROUP 6
  372. #define CHANNEL_DELAY 6
  373. #define PROD_POWER_TYPE 0
  374. #define USE_BEEP 1
  375. #define USE_LED 1
  376. #define USE_BREAKER_ALARM
  377. #elif defined PRJ_YUNNAN_AC_I1_O1
  378. #define LANGUAGE 0 //chinese
  379. #define SMPLE_TIME 30 //ms
  380. #define SAVE_TIME 60000 //ms
  381. #define CASCADE_CNT 0
  382. #define PHASE_GROUP 8
  383. #define CHANNEL_DELAY 8
  384. #define PROD_POWER_TYPE 0
  385. #define USE_BREAKER_ALARM
  386. #define USE_BEEP 1
  387. #define USE_LED 1
  388. #define USE_Cellular
  389. #define BRD_MAX 5
  390. #elif defined PRJ_BYD_UPS_AC_I1_O1
  391. #define LANGUAGE 0 //chinese
  392. #define SMPLE_TIME 30 //ms
  393. #define SAVE_TIME 60000 //ms
  394. #define CASCADE_CNT 0
  395. #define PHASE_GROUP 6
  396. #define CHANNEL_DELAY 6
  397. #define PROD_POWER_TYPE 0
  398. #define USE_BREAKER_ALARM
  399. #define USE_BEEP 1
  400. #define USE_LED 1
  401. #define BRD_MAX 5
  402. #elif defined PRJ_DUALWIRES_AC_I3_O2
  403. #define LANGUAGE 0 //chinese
  404. #define SMPLE_TIME 30 //ms
  405. #define SAVE_TIME 60000 //ms
  406. #define CASCADE_CNT 0
  407. #define PHASE_GROUP 8
  408. #define CHANNEL_DELAY 8
  409. #define PROD_POWER_TYPE 6
  410. #define BRD_MAX 12
  411. #elif (defined PRJ_IP_AC_I3_O1)
  412. #define LANGUAGE 0
  413. #define SMPLE_TIME 30 //ms
  414. #define SAVE_TIME 60000 //ms
  415. #define CASCADE_CNT 0
  416. #define PHASE_GROUP 8
  417. #define CHANNEL_DELAY 8
  418. #define PROD_POWER_TYPE 5
  419. #define USE_BEEP 1
  420. //#define NOT_USE_CONTROL
  421. #elif (defined PRJ_IP_AC_I1_O1)
  422. #define LANGUAGE 0
  423. #define SMPLE_TIME 30 //ms
  424. #define SAVE_TIME 60000 //ms
  425. #define CASCADE_CNT 0
  426. #define PHASE_GROUP 8
  427. #define CHANNEL_DELAY 8
  428. #define PROD_POWER_TYPE 0
  429. #define USE_BEEP 1
  430. #define USE_LED 1
  431. #elif (defined PRJ_IP_YUNNAN_AC_I1_O1)
  432. #define LANGUAGE 0
  433. #define SMPLE_TIME 30 //ms
  434. #define SAVE_TIME 60000 //ms
  435. #define CASCADE_CNT 0
  436. #define PHASE_GROUP 8
  437. #define CHANNEL_DELAY 8
  438. #define PROD_POWER_TYPE 0
  439. #define USE_BEEP 1
  440. #define USE_LED 1
  441. #define BRD_MAX 1
  442. #define USE_Cellular
  443. #elif (defined PRJ_IP_CHONGQING_AC_I1_O1)
  444. #define LANGUAGE 0
  445. #define SMPLE_TIME 30 //ms
  446. #define SAVE_TIME 60000 //ms
  447. #define CASCADE_CNT 0
  448. #define PHASE_GROUP 8
  449. #define CHANNEL_DELAY 8
  450. #define PROD_POWER_TYPE 0
  451. #define USE_BEEP 1
  452. #define USE_LED 1
  453. #define BRD_MAX 1
  454. #elif (defined PRJ_IP_AOSENS_AC_I1_O1)
  455. #define LANGUAGE 1
  456. #define SMPLE_TIME 30 //ms
  457. #define SAVE_TIME 60000 //ms
  458. #define CASCADE_CNT 0
  459. #define PHASE_GROUP 8
  460. #define CHANNEL_DELAY 8
  461. #define PROD_POWER_TYPE 0
  462. #define USE_BEEP 1
  463. #define USE_LED 1
  464. #define BRD_MAX 1
  465. #define NOT_USE_CONTROL
  466. #elif (defined PRJ_IP_AOSENS_DC_I_O)
  467. #define LANGUAGE 0
  468. #define SMPLE_TIME 30 //ms
  469. #define SAVE_TIME 60000 //ms
  470. #define CASCADE_CNT 0
  471. #define PHASE_GROUP 8
  472. #define CHANNEL_DELAY 8
  473. #define PROD_POWER_TYPE 1
  474. #define USE_BEEP 1
  475. #define USE_LED 1
  476. #define BRD_MAX 1
  477. #elif (defined PRJ_IP_DEBIAO_AC_I3_O1)
  478. #define LANGUAGE 1
  479. #define SMPLE_TIME 30 //ms
  480. #define SAVE_TIME 60000 //ms
  481. #define CASCADE_CNT 0
  482. #define PHASE_GROUP 4
  483. #define CHANNEL_DELAY 8
  484. #define PROD_POWER_TYPE 5
  485. #define USE_BEEP 1
  486. #define BRD_MAX 3
  487. #define USE_LED 1
  488. #elif (defined PRJ_IP_GOX001_7_AC_I3_O1)
  489. #define LANGUAGE 0
  490. #define SMPLE_TIME 30 //ms
  491. #define SAVE_TIME 60000 //ms
  492. #define CASCADE_CNT 0
  493. #define PHASE_GROUP 7
  494. #define CHANNEL_DELAY 7
  495. #define PROD_POWER_TYPE 5
  496. #define USE_BEEP 1
  497. #define BRD_MAX 3
  498. #define USE_LED 1
  499. #elif (defined PRJ_IP_GOX001_4_AC_I3_O1)
  500. #define LANGUAGE 0
  501. #define SMPLE_TIME 30 //ms
  502. #define SAVE_TIME 60000 //ms
  503. #define CASCADE_CNT 0
  504. #define PHASE_GROUP 4
  505. #define CHANNEL_DELAY 4
  506. #define PROD_POWER_TYPE 5
  507. #define USE_BEEP 1
  508. #define BRD_MAX 3
  509. #define USE_LED 1
  510. #else
  511. #error define a PRJ_XXXX please!
  512. #endif
  513. #endif