Pārlūkot izejas kodu

1、添加双火线打包工程

liyuezong 1 gadu atpakaļ
vecāks
revīzija
ae3be7fbb1
2 mainītis faili ar 24 papildinājumiem un 6 dzēšanām
  1. 17 2
      pro/config/cfg.h
  2. 7 4
      pub

+ 17 - 2
pro/config/cfg.h

@@ -24,16 +24,18 @@
 //#define PRJ_TEST
 //#define PRJ_TEST_AC_I1_O1
 //#define PRJ_TEST_AC_I3_O1
-#define PRJ_GOWONE_125A_AC_I3_O1
+//#define PRJ_GOWONE_125A_AC_I3_O1
 //#define PRJ_TEST_AC_I3_O3
 //#define PRJ_ESOUTH_DC_I1_O4_RGB5
 
-//#define PRJ_IP_AC_I3_O3
 //#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_DUALWIRES_AC_I3_O2
+
+//#define PRJ_IP_AC_I3_O3
 //#define PRJ_IP_AC_I3_O1
 //#define PRJ_IP_AC_I1_O1
 //#define PRJ_IP_YUNNAN_AC_I1_O1
@@ -354,6 +356,19 @@
 
     #define USE_Cellular
 
+#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
+    #define MONWAY                              1
 
 #elif (defined PRJ_IP_AC_I3_O1)
     #define LANGUAGE                            0

+ 7 - 4
pub

@@ -18,14 +18,15 @@
 #PRJS="PRJ_SG_I3_O3"
 #PRJS="PRJ_ESOUTH_DC_I1_O4_RGB5"
 #PRJS="PRJ_TEST"
-#PRJS="PRJ_TEST_AC_I1_O1"
+PRJS="PRJ_TEST_AC_I1_O1"
 #PRJS="PRJ_TEST_AC_I3_O1"
 #PRJS="PRJ_TEST_AC_I3_O3"
 #PRJS="PRJ_INST2302_DC_OLED"
 #PRJS="PRJ_INST2106_AC_I1_O1_OLED"
 #PRJS="PRJ_YST_AC_I1_O1"
 #PRJS="PRJ_YUNNAN_AC_I1_O1"
-PRJS="PRJ_GOWONE_125A_AC_I3_O1"
+#PRJS="PRJ_GOWONE_125A_AC_I3_O1"
+#PRJS="PRJ_DUALWIRES_AC_I3_O2"
 
 #PRJS="PRJ_USASL_AC_I3_O1 PRJ_USASL_AC_I3_O3"
 #PRJS="PRJ_XIAN_AC_I1_O1_P4 PRJ_XIAN_AC_I1_O1_P8"
@@ -171,10 +172,12 @@ function do_copy()
         name=ip_ac_in1_out1_release
     elif [ "$1" = "PRJ_IP_YUNNAN_AC_I1_O1" ];then
         name=ip_ac_yunnan_in1_out1_release
-   elif [ "$1" = "PRJ_YUNNAN_AC_I1_O1" ];then
+    elif [ "$1" = "PRJ_YUNNAN_AC_I1_O1" ];then
         name=ac_yunnan_in1_out1_release
-   elif [ "$1" = "PRJ_GOWONE_125A_AC_I3_O1" ];then
+    elif [ "$1" = "PRJ_GOWONE_125A_AC_I3_O1" ];then
         name=ac_in3_out1_gowone_125A
+    elif [ "$1" = "PRJ_DUALWIRES_AC_I3_O2" ];then
+        name=ac_DualWires_in3_out2_release
     else
         echo error! $RPJ not define!!!
         exit 1