Browse Source

1、增加云南4G高配的项目配置信息

liyuezong 1 year ago
parent
commit
63c78b9a95
2 changed files with 26 additions and 2 deletions
  1. 22 1
      pro/config/cfg.h
  2. 4 1
      pub

+ 22 - 1
pro/config/cfg.h

@@ -31,10 +31,11 @@
 //#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_IP_AC_I3_O1
 //#define PRJ_IP_AC_I1_O1
-#define PRJ_IP_YUNNAN_AC_I1_O1
+//#define PRJ_IP_YUNNAN_AC_I1_O1
 
 #define USE_MAIL
 #define MAIL_SEND_BUILTIN
@@ -317,6 +318,26 @@
     #define USE_BEEP                            1
     #define USE_LED                             1
 
+    
+#elif defined PRJ_YUNNAN_AC_I1_O1
+    #define LANGUAGE                            0           //chinese
+    #define SMPLE_TIME                          30          //ms
+    #define SAVE_TIME                           60000       //ms
+    #define CASCADE_CNT                         0
+
+    #define PHASE_GROUP                         6
+    #define CHANNEL_DELAY                       6
+
+    #define PROD_POWER_TYPE                     0
+	
+	#define USE_BREAKER_ALARM
+
+    #define USE_BEEP                            1
+    #define USE_LED                             1
+
+    #define USE_Cellular
+
+
 #elif (defined PRJ_IP_AC_I3_O1)
     #define LANGUAGE                            0
     #define SMPLE_TIME                          30          //ms

+ 4 - 1
pub

@@ -24,6 +24,7 @@
 #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_USASL_AC_I3_O1 PRJ_USASL_AC_I3_O3"
 #PRJS="PRJ_XIAN_AC_I1_O1_P4 PRJ_XIAN_AC_I1_O1_P8"
@@ -35,7 +36,7 @@
 #PRJS="PRJ_IP_AC_I3_O3"
 #PRJS="PRJ_IP_AC_I3_O1"
 #PRJS="PRJ_IP_AC_I1_O1"
-PRJS="PRJ_IP_YUNNAN_AC_I1_O1"
+#PRJS="PRJ_IP_YUNNAN_AC_I1_O1"
 
 fulldir=$(realpath $0)
 curdir=$(dirname $fulldir)
@@ -169,6 +170,8 @@ 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
+        name=ac_yunnan_in1_out1_release
     else
         echo error! $RPJ not define!!!
         exit 1