|
|
@@ -2,11 +2,11 @@
|
|
|
#define __CONFIG_Hx__
|
|
|
|
|
|
|
|
|
-#define VERSION "V0.0.1"
|
|
|
+#define VERSION "V0.0.1"
|
|
|
|
|
|
|
|
|
-#define PROD_ID 0
|
|
|
-#define PROD_TYPE 1
|
|
|
+#define PROD_ID 0
|
|
|
+#define PROD_TYPE 1
|
|
|
|
|
|
|
|
|
/////////////customer demannd//////////////////////
|
|
|
@@ -15,8 +15,8 @@
|
|
|
//#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_ITK_AC_I3_O1
|
|
|
+//#define PRJ_STSC_I3_O3
|
|
|
//#define PRJ_INSPUR_DC_I_DC_O
|
|
|
//#define PRJ_ANDERSON_AC_I3_O3
|
|
|
//#define PRJ_HYPERTEC_AC_I3_O1
|
|
|
@@ -24,14 +24,13 @@
|
|
|
|
|
|
|
|
|
#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 5
|
|
|
-
|
|
|
-#define MAX_CHN_COUNT 16
|
|
|
-#define PHASE_GROUP_CNT 8
|
|
|
+#define LANGUAGE 0 //chinese
|
|
|
+#define SMPLE_TIME 30 //ms
|
|
|
+#define SAVE_TIME 60000 //ms
|
|
|
+#define CASCADE_CNT 5
|
|
|
|
|
|
+#define MAX_CHN_COUNT 16
|
|
|
+#define PHASE_GROUP_CNT 8
|
|
|
|
|
|
#ifdef PRJ_XIAN_AC_I1_O1_P4
|
|
|
//#define GOM037PDU_GC20_04K_125H //ac_in1_out1_40a_p4_5ch_nologo_cn
|
|
|
@@ -44,17 +43,17 @@
|
|
|
#define USE_SMTP
|
|
|
#define SMTP_SEND_BUILTIN
|
|
|
|
|
|
-#define PROD_POWER_TYPE 0
|
|
|
-#define IN_INDEX_MAP {3,2,0,1}
|
|
|
+#define PROD_POWER_TYPE 0
|
|
|
+#define IN_INDEX_MAP {3,2,0,1}
|
|
|
#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 5
|
|
|
+#define LANGUAGE 1 //english
|
|
|
+#define SMPLE_TIME 30 //ms
|
|
|
+#define SAVE_TIME 60000 //ms
|
|
|
+#define CASCADE_CNT 5
|
|
|
|
|
|
-#define MAX_CHN_COUNT 16
|
|
|
-#define PHASE_GROUP_CNT 8
|
|
|
+#define MAX_CHN_COUNT 16
|
|
|
+#define PHASE_GROUP_CNT 8
|
|
|
|
|
|
#define USE_SMTP
|
|
|
#define SMTP_SEND_BUILTIN
|
|
|
@@ -68,13 +67,13 @@
|
|
|
#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 5
|
|
|
+#define LANGUAGE 2 //russia
|
|
|
+#define SMPLE_TIME 30 //ms
|
|
|
+#define SAVE_TIME 60000 //ms
|
|
|
+#define CASCADE_CNT 5
|
|
|
|
|
|
-#define MAX_CHN_COUNT 16
|
|
|
-#define PHASE_GROUP_CNT 8
|
|
|
+#define MAX_CHN_COUNT 16
|
|
|
+#define PHASE_GROUP_CNT 8
|
|
|
|
|
|
#define USE_SMTP
|
|
|
#define SMTP_SEND_BUILTIN
|
|
|
@@ -87,13 +86,13 @@
|
|
|
|
|
|
#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 5
|
|
|
+#define LANGUAGE 1 //english
|
|
|
+#define SMPLE_TIME 30 //ms
|
|
|
+#define SAVE_TIME 60000 //ms
|
|
|
+#define CASCADE_CNT 5
|
|
|
|
|
|
-#define MAX_CHN_COUNT 16
|
|
|
-#define PHASE_GROUP_CNT 8
|
|
|
+#define MAX_CHN_COUNT 16
|
|
|
+#define PHASE_GROUP_CNT 8
|
|
|
|
|
|
#define USE_SMTP
|
|
|
#define SMTP_SEND_BUILTIN
|
|
|
@@ -104,34 +103,34 @@
|
|
|
#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 5
|
|
|
+#define LANGUAGE 1 //english
|
|
|
+#define SMPLE_TIME 30 //ms
|
|
|
+#define SAVE_TIME 60000 //ms
|
|
|
+#define CASCADE_CNT 5
|
|
|
|
|
|
-#define MAX_CHN_COUNT 24
|
|
|
-#define PHASE_GROUP_CNT 8
|
|
|
+#define MAX_CHN_COUNT 24
|
|
|
+#define PHASE_GROUP_CNT 8
|
|
|
|
|
|
#define USE_SMTP
|
|
|
#define SMTP_SEND_BUILTIN
|
|
|
|
|
|
-#define PROD_POWER_TYPE 3
|
|
|
+#define PROD_POWER_TYPE 3
|
|
|
#elif defined PRJ_ANDERSON_AC_I3_O3
|
|
|
|
|
|
-#define LANGUAGE 1 //english
|
|
|
-#define SMPLE_TIME 30 //ms
|
|
|
-#define SAVE_TIME 60000 //ms
|
|
|
-#define CASCADE_CNT 5
|
|
|
+#define LANGUAGE 1 //english
|
|
|
+#define SMPLE_TIME 30 //ms
|
|
|
+#define SAVE_TIME 60000 //ms
|
|
|
+#define CASCADE_CNT 5
|
|
|
|
|
|
-#define MAX_CHN_COUNT 24
|
|
|
-#define PHASE_GROUP_CNT 8
|
|
|
+#define MAX_CHN_COUNT 24
|
|
|
+#define PHASE_GROUP_CNT 8
|
|
|
|
|
|
#define USE_SMTP
|
|
|
#define SMTP_SEND_BUILTIN
|
|
|
|
|
|
#define SW_STATIC_PORT_START
|
|
|
-#define SW_PORT_INDEX_START 0
|
|
|
-#define SW_PORT_INDEX_END 21
|
|
|
+#define SW_PORT_INDEX_START 0
|
|
|
+#define SW_PORT_INDEX_END 21
|
|
|
#elif defined PRJ_HYPERTEC_AC_I3_O1
|
|
|
//ac_in3_out1_36ch_nologo_en_hypertec
|
|
|
#define USE_SMTP
|
|
|
@@ -140,13 +139,13 @@
|
|
|
#undef PHASE_GROUP_CNT
|
|
|
#undef CHANNEL_DELAY_SEC
|
|
|
|
|
|
-#define PHASE_GROUP_CNT 6
|
|
|
-#define CHANNEL_DELAY_SEC 6
|
|
|
+#define PHASE_GROUP_CNT 6
|
|
|
+#define CHANNEL_DELAY_SEC 6
|
|
|
#elif defined PRJ_INSPUR_DC_I_DC_O
|
|
|
#define USE_SMTP
|
|
|
#define SMTP_SEND_BUILTIN
|
|
|
|
|
|
-#define PROD_POWER_TYPE 1
|
|
|
+#define PROD_POWER_TYPE 1
|
|
|
#elif defined PRJ_TEST
|
|
|
//#define USE_SMTP
|
|
|
//#define SMTP_SEND_BUILTIN
|
|
|
@@ -155,14 +154,13 @@
|
|
|
//#define MQTT_SERVER_BUILTIN
|
|
|
|
|
|
#undef MAX_CHN_COUNT
|
|
|
-#define MAX_CHN_COUNT 2//4
|
|
|
+#define MAX_CHN_COUNT 2//4
|
|
|
|
|
|
-#define PROD_POWER_TYPE 3
|
|
|
+#define PROD_POWER_TYPE 3
|
|
|
#else
|
|
|
#error define a PRJ_XXXX please!
|
|
|
#endif
|
|
|
|
|
|
-
|
|
|
#endif
|
|
|
|
|
|
|