cfg.h 25 KB

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