Przeglądaj źródła

新项目GOX 21 路和12路

liyi 11 miesięcy temu
rodzic
commit
08e4189b3c
2 zmienionych plików z 39 dodań i 3 usunięć
  1. 32 1
      pro/config/cfg.h
  2. 7 2
      pub

+ 32 - 1
pro/config/cfg.h

@@ -49,6 +49,11 @@
 //#define PRJ_IP_AOSENS_AC_I1_O1
 //#define PRJ_IP_AOSENS_DC_I_O
 //#define PRJ_IP_DEBIAO_AC_I3_O1
+
+//#define  PRJ_IP_GOX001_7_AC_I3_O1
+
+//#define  PRJ_IP_GOX001_4_AC_I3_O1
+
 #define USE_MAIL
 #define MAIL_SEND_BUILTIN
 
@@ -630,7 +635,33 @@
     #define USE_BEEP                            1 
     #define BRD_MAX                             3   
     #define USE_LED                             1 
- 
+#elif (defined PRJ_IP_GOX001_7_AC_I3_O1)
+    #define LANGUAGE                            0
+    #define SMPLE_TIME                          30          //ms
+    #define SAVE_TIME                           60000       //ms
+    #define CASCADE_CNT                         0
+
+    #define PHASE_GROUP                         7
+    #define CHANNEL_DELAY                       7
+    #define PROD_POWER_TYPE                     5
+    #define USE_BEEP                            1 
+    #define BRD_MAX                             3   
+    #define USE_LED                             1 
+
+#elif (defined PRJ_IP_GOX001_4_AC_I3_O1)
+
+    #define LANGUAGE                            0
+    #define SMPLE_TIME                          30          //ms
+    #define SAVE_TIME                           60000       //ms
+    #define CASCADE_CNT                         0
+
+    #define PHASE_GROUP                         4
+    #define CHANNEL_DELAY                       4
+    #define PROD_POWER_TYPE                     5
+    #define USE_BEEP                            1 
+    #define BRD_MAX                             3   
+    #define USE_LED                             1 
+
 #else
     #error define a PRJ_XXXX please!
 #endif

+ 7 - 2
pub

@@ -50,8 +50,9 @@ PRJS="PRJ_INSPUR_AC_I1_O1"
 #PRJS="PRJ_IP_CHONGQING_AC_I1_O1"
 #PRJS="PRJ_IP_AOSENS_AC_I1_O1"
 #PRJS="PRJ_IP_AOSENS_DC_I_O"
-PRJS="PRJ_IP_DEBIAO_AC_I3_O1"
-
+#PRJS="PRJ_IP_DEBIAO_AC_I3_O1"
+#PRJS="PRJ_IP_GOX001_7_AC_I3_O1"
+PRJS="PRJ_IP_GOX001_4_AC_I3_O1"
 fulldir=$(realpath $0)
 curdir=$(dirname $fulldir)
 ip_flag=0
@@ -192,6 +193,10 @@ function do_copy()
     elif [ "$1" = "PRJ_IP_DEBIAO_AC_I3_O1" ];then
         name=ip_ac_debiao_in3_out1_release
         cp -f $custdir/db/pdu_dat_no_sensor.db  $appdir/pdu_dat.db
+    elif [ "$1" = "PRJ_IP_GOX001_7_AC_I3_O1" ];then
+        name=ip_ac_gox001_7_in3_out1_release
+    elif [ "$1" = "PRJ_IP_GOX001_4_AC_I3_O1" ];then
+        name=ip_ac_gox001_4_in3_out1_release
     elif [ "$1" = "PRJ_IP_AC_I1_O1" ];then  
         name=ip_ac_in1_out1_release
     elif [ "$1" = "PRJ_IP_YUNNAN_AC_I1_O1" ];then