Просмотр исходного кода

修改合并之后出现的错误,代码本地化

yaoxiaohan 7 месяцев назад
Родитель
Сommit
3e896bfff3

+ 0 - 2
TeamAAS-VM/Core/Robots/XYZU_Robot.cs

@@ -609,8 +609,6 @@ namespace TeamAAS_VP.Core.Robots
                             return false;
                         }
                         return true;
-                    }
-                        return true;
                     }
                     if (isError)
                     {

+ 0 - 1
TeamAAS-VM/Models/PLC/PlcAddressConfig.cs

@@ -788,7 +788,6 @@ namespace TeamAAS_VP.Models.PLC
             Out_ScrewFeederIsChanged.Description = Lang.供料器发生改变;
             
 
-
             // 4. In_* 默认(假定从 PLC 读到 PC,使用 ToPC 前缀)
             In_Code = Ensure(In_Code);
             In_Code.Address = "ns=4;s=DB_Communication|ToPC.Mes[{0}].Code";

+ 49 - 58
TeamAAS-VM/Resources/Languages/Lang.Designer.cs

@@ -2338,7 +2338,7 @@ namespace TeamAAS_VP.Resources.Languages {
         }
         
         /// <summary>
-        ///   查找类似 低量报警阈值 的本地化字符串。
+        ///   查找类似 低量报警阈值: 的本地化字符串。
         /// </summary>
         public static string 低量报警阈值 {
             get {
@@ -2373,6 +2373,15 @@ namespace TeamAAS_VP.Resources.Languages {
             }
         }
         
+        /// <summary>
+        ///   查找类似 供料器发生改变 的本地化字符串。
+        /// </summary>
+        public static string 供料器发生改变 {
+            get {
+                return ResourceManager.GetString("供料器发生改变", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 供料器编号: 的本地化字符串。
         /// </summary>
@@ -4435,20 +4444,20 @@ namespace TeamAAS_VP.Resources.Languages {
         }
         
         /// <summary>
-        ///   查找类似 已停止 的本地化字符串。
+        ///   查找类似 差值 的本地化字符串。
         /// </summary>
-        public static string 已停止 {
+        public static string 差值 {
             get {
-                return ResourceManager.GetString("已停止", resourceCulture);
+                return ResourceManager.GetString("差值", resourceCulture);
             }
         }
         
         /// <summary>
-        ///   查找类似 差值 的本地化字符串。
+        ///   查找类似 已停止 的本地化字符串。
         /// </summary>
-        public static string 差值 {
+        public static string 已停止 {
             get {
-                return ResourceManager.GetString("差值", resourceCulture);
+                return ResourceManager.GetString("已停止", resourceCulture);
             }
         }
         
@@ -5307,6 +5316,15 @@ namespace TeamAAS_VP.Resources.Languages {
             }
         }
         
+        /// <summary>
+        ///   查找类似 执行视觉处理脚本时出错! 的本地化字符串。
+        /// </summary>
+        public static string 执行视觉处理脚本时出错 {
+            get {
+                return ResourceManager.GetString("执行视觉处理脚本时出错", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 扭力测量仪值 的本地化字符串。
         /// </summary>
@@ -5335,20 +5353,20 @@ namespace TeamAAS_VP.Resources.Languages {
         }
         
         /// <summary>
-        ///   查找类似 执行视觉处理脚本时出错! 的本地化字符串。
+        ///   查找类似 扭矩 的本地化字符串。
         /// </summary>
-        public static string 执行视觉处理脚本时出错 {
+        public static string 扭矩 {
             get {
-                return ResourceManager.GetString("执行视觉处理脚本时出错", resourceCulture);
+                return ResourceManager.GetString("扭矩", resourceCulture);
             }
         }
         
         /// <summary>
-        ///   查找类似 扭矩 的本地化字符串。
+        ///   查找类似 扭矩地址 的本地化字符串。
         /// </summary>
-        public static string 扭矩 {
+        public static string 扭矩地址 {
             get {
-                return ResourceManager.GetString("扭矩", resourceCulture);
+                return ResourceManager.GetString("扭矩地址", resourceCulture);
             }
         }
         
@@ -5379,15 +5397,6 @@ namespace TeamAAS_VP.Resources.Languages {
             }
         }
         
-        /// <summary>
-        ///   查找类似 扭矩地址 的本地化字符串。
-        /// </summary>
-        public static string 扭矩地址 {
-            get {
-                return ResourceManager.GetString("扭矩地址", resourceCulture);
-            }
-        }
-        
         /// <summary>
         ///   查找类似 批量设置所有锁付点的供料器编号和电批程序编号: 的本地化字符串。
         /// </summary>
@@ -5433,15 +5442,6 @@ namespace TeamAAS_VP.Resources.Languages {
             }
         }
         
-        /// <summary>
-        ///   查找类似 披头矫正的模式: 的本地化字符串。
-        /// </summary>
-        public static string 披头矫正的模式 {
-            get {
-                return ResourceManager.GetString("披头矫正的模式", resourceCulture);
-            }
-        }
-        
         /// <summary>
         ///   查找类似 披头矫正的模式,1:初始化时矫正,2:每个产品矫正一次,3:每颗螺丝矫正一次 的本地化字符串。
         /// </summary>
@@ -8637,15 +8637,6 @@ namespace TeamAAS_VP.Resources.Languages {
             }
         }
         
-        /// <summary>
-        ///   查找类似 确认要从点位编号 {0} 开始导入 {1} 个点位吗? 的本地化字符串。
-        /// </summary>
-        public static string 确认要从点位编号0开始导入1个点位吗 {
-            get {
-                return ResourceManager.GetString("确认要从点位编号0开始导入1个点位吗", resourceCulture);
-            }
-        }
-        
         /// <summary>
         ///   查找类似 示教 的本地化字符串。
         /// </summary>
@@ -10097,56 +10088,56 @@ namespace TeamAAS_VP.Resources.Languages {
         }
         
         /// <summary>
-        ///   查找类似 设置吸嘴报警值 的本地化字符串。
+        ///   查找类似 设置光源通道{0}亮度{1}失败! 的本地化字符串。
         /// </summary>
-        public static string 设置吸嘴报警值 {
+        public static string 设置光源通道0亮度1失败 {
             get {
-                return ResourceManager.GetString("设置吸嘴报警值", resourceCulture);
+                return ResourceManager.GetString("设置光源通道0亮度1失败", resourceCulture);
             }
         }
         
         /// <summary>
-        ///   查找类似 设置批头吸嘴报警值 的本地化字符串。
+        ///   查找类似 设置光源通道{0}亮度{1}失败! 的本地化字符串。
         /// </summary>
-        public static string 设置批头吸嘴报警值 {
+        public static string 设置光源通道0关闭失败 {
             get {
-                return ResourceManager.GetString("设置批头吸嘴报警值", resourceCulture);
+                return ResourceManager.GetString("设置光源通道0关闭失败", resourceCulture);
             }
         }
         
         /// <summary>
-        ///   查找类似 设置批头报警值 的本地化字符串。
+        ///   查找类似 设置光源通道{0}打开失败! 的本地化字符串。
         /// </summary>
-        public static string 设置批头报警值 {
+        public static string 设置光源通道0打开失败 {
             get {
-                return ResourceManager.GetString("设置批头报警值", resourceCulture);
+                return ResourceManager.GetString("设置光源通道0打开失败", resourceCulture);
             }
         }
         
         /// <summary>
-        ///   查找类似 设置光源通道{0}亮度{1}失败! 的本地化字符串。
+        ///   查找类似 设置吸嘴报警值 的本地化字符串。
         /// </summary>
-        public static string 设置光源通道0亮度1失败 {
+        public static string 设置吸嘴报警值 {
             get {
-                return ResourceManager.GetString("设置光源通道0亮度1失败", resourceCulture);
+                return ResourceManager.GetString("设置吸嘴报警值", resourceCulture);
             }
         }
         
         /// <summary>
-        ///   查找类似 设置光源通道{0}亮度{1}失败! 的本地化字符串。
+        ///   查找类似 设置批头吸嘴报警值 的本地化字符串。
         /// </summary>
-        public static string 设置光源通道0关闭失败 {
+        public static string 设置批头吸嘴报警值 {
             get {
-                return ResourceManager.GetString("设置光源通道0关闭失败", resourceCulture);
+                return ResourceManager.GetString("设置批头吸嘴报警值", resourceCulture);
             }
         }
         
         /// <summary>
-        ///   查找类似 设置光源通道{0}打开失败! 的本地化字符串。
+        ///   查找类似 设置批头报警值 的本地化字符串。
         /// </summary>
-        public static string 设置光源通道0打开失败 {
+        public static string 设置批头报警值 {
             get {
-                return ResourceManager.GetString("设置光源通道0打开失败", resourceCulture);
+                return ResourceManager.GetString("设置批头报警值", resourceCulture);
             }
         }
         

+ 3 - 3
TeamAAS-VM/Resources/Languages/Lang.en.resx

@@ -2514,9 +2514,6 @@
   <data name="AfagFeeder写入参数时出错" xml:space="preserve">
     <value>Error occurred when writing parameters to Afag Feeder!</value>
   </data>
-  <data name="为PLC写入系统参数和订阅变量时出错" xml:space="preserve">
-    <value>Error occurred when writing system parameters and subscribing variables to PLC</value>
-  </data>
   <data name="选中Feeder序列时出错" xml:space="preserve">
     <value>Error occurred when selecting Feeder sequence!</value>
   </data>
@@ -3966,4 +3963,7 @@
   <data name="设置吸嘴报警值" xml:space="preserve">
     <value>Set Nozzle Alarm Value</value>
   </data>
+  <data name="为PLC写入系统参数和订阅变量时出错" xml:space="preserve">
+    <value>An error occurred while writing system parameters to the PLC and subscribing to variables.</value>
+  </data>
 </root>

+ 3 - 3
TeamAAS-VM/Resources/Languages/Lang.ja-JP.resx

@@ -2514,9 +2514,6 @@
   <data name="AfagFeeder写入参数时出错" xml:space="preserve">
     <value>Afag Feeder にパラメータを書き込む際にエラーが発生しました!</value>
   </data>
-  <data name="为PLC写入系统参数和订阅变量时出错" xml:space="preserve">
-    <value>PLC にシステムパラメータを書き込み、変数を購読する際にエラーが発生しました</value>
-  </data>
   <data name="选中Feeder序列时出错" xml:space="preserve">
     <value>Feeder シーケンス選択時にエラーが発生しました!</value>
   </data>
@@ -3966,4 +3963,7 @@
   <data name="设置吸嘴报警值" xml:space="preserve">
     <value>ノズルのアラーム値設定</value>
   </data>
+  <data name="为PLC写入系统参数和订阅变量时出错" xml:space="preserve">
+    <value>PLC にシステムパラメータを書き込み、変数を購読する際にエラーが発生しました。</value>
+  </data>
 </root>

+ 0 - 9
TeamAAS-VM/Resources/Languages/Lang.resx

@@ -4058,13 +4058,4 @@
   <data name="设置吸嘴报警值" xml:space="preserve">
     <value>设置吸嘴报警值</value>
   </data>
-  <data name="为PLC写入系统参数和订阅变量时出错" xml:space="preserve">
-    <value>为PLC写入系统参数和订阅变量时出错</value>
-  </data>
-  <data name="确认要从点位编号0开始导入1个点位吗" xml:space="preserve">
-    <value>确认要从点位编号 {0} 开始导入 {1} 个点位吗?</value>
-  </data>
-  <data name="导入点位" xml:space="preserve">
-    <value>导入点位</value>
-  </data>
 </root>

+ 3 - 3
TeamAAS-VM/Resources/Languages/Lang.zh-TW.resx

@@ -2514,9 +2514,6 @@
   <data name="AfagFeeder写入参数时出错" xml:space="preserve">
     <value>Afag Feeder 寫入參數時發生錯誤!</value>
   </data>
-  <data name="为PLC写入系统参数和订阅变量时出错" xml:space="preserve">
-    <value>為 PLC 寫入系統參數及訂閱變數時發生錯誤</value>
-  </data>
   <data name="选中Feeder序列时出错" xml:space="preserve">
     <value>選取 Feeder 序列時發生錯誤!</value>
   </data>
@@ -3966,4 +3963,7 @@
   <data name="设置吸嘴报警值" xml:space="preserve">
     <value>設定吸嘴警報值</value>
   </data>
+  <data name="为PLC写入系统参数和订阅变量时出错" xml:space="preserve">
+    <value>寫入系統參數至 PLC 及訂閱變數時發生錯誤。</value>
+  </data>
 </root>