cfg.h 25 KB

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