Explorar o código

1、QT添加可默认设置旋转方向版本;2、添加购旺125A工程,

liyuezong hai 1 ano
pai
achega
26a32e2ac1
Modificáronse 4 ficheiros con 26 adicións e 2 borrados
  1. BIN=BIN
      cust_data/qt/Qt_Test
  2. 20 1
      pro/config/cfg.h
  3. 2 0
      pro/src/logo.c
  4. 4 1
      pub

BIN=BIN
cust_data/qt/Qt_Test


+ 20 - 1
pro/config/cfg.h

@@ -24,6 +24,7 @@
 //#define PRJ_TEST
 //#define PRJ_TEST_AC_I1_O1
 //#define PRJ_TEST_AC_I3_O1
+#define PRJ_GOWONE_125A_AC_I3_O1
 //#define PRJ_TEST_AC_I3_O3
 //#define PRJ_ESOUTH_DC_I1_O4_RGB5
 
@@ -31,7 +32,7 @@
 //#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_YUNNAN_AC_I1_O1
 
 //#define PRJ_IP_AC_I3_O1
 //#define PRJ_IP_AC_I1_O1
@@ -218,6 +219,7 @@
     #define CHANNEL_DELAY                       8
 
     #define PROD_POWER_TYPE                     0
+    //#define IN_INDEX_MAP                        {2,3,1,0}
 #elif defined PRJ_TEST_AC_I3_O1
     #define LANGUAGE                            0           //chinese
     #define SMPLE_TIME                          30          //ms
@@ -241,6 +243,23 @@
 
     #define BRD_MAX                             2
     #define MONWAY                              1
+
+#elif defined PRJ_GOWONE_125A_AC_I3_O1
+    #define LANGUAGE 1      // //english
+    #define SMPLE_TIME 30   // ms
+    #define SAVE_TIME 60000 // ms
+    #define CASCADE_CNT 0
+
+    #define PHASE_GROUP 12
+    #define CHANNEL_DELAY 12
+
+    #define PROD_POWER_TYPE 5
+
+    #define USE_WATCHDOG
+    #define USE_LOGO_GOWONE
+
+    #define USE_BEEP                            1
+    #define USE_LED                             1
 #elif defined PRJ_IP_AC_I3_O3
     #define LANGUAGE                            0
     #define SMPLE_TIME                          30          //ms

+ 2 - 0
pro/src/logo.c

@@ -6,6 +6,8 @@
     #include "logo_litech.c"
 #elif defined USE_LOGO_HYPERTEC
     #include "logo_hypertec.c"
+#elif defined USE_LOGO_GOWONE
+    #include "logo_gowone.c"
 #else
     #include "logo_neuter.c"
 #endif

+ 4 - 1
pub

@@ -24,7 +24,8 @@
 #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_YUNNAN_AC_I1_O1"
+PRJS="PRJ_GOWONE_125A_AC_I3_O1"
 
 #PRJS="PRJ_USASL_AC_I3_O1 PRJ_USASL_AC_I3_O3"
 #PRJS="PRJ_XIAN_AC_I1_O1_P4 PRJ_XIAN_AC_I1_O1_P8"
@@ -172,6 +173,8 @@ function do_copy()
         name=ip_ac_yunnan_in1_out1_release
    elif [ "$1" = "PRJ_YUNNAN_AC_I1_O1" ];then
         name=ac_yunnan_in1_out1_release
+   elif [ "$1" = "PRJ_GOWONE_125A_AC_I3_O1" ];then
+        name=ac_in3_out1_gowone_125A
     else
         echo error! $RPJ not define!!!
         exit 1