From 94bed925cf453e148bc5a7556a8a86e0bcb9ad6c Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 24 三月 2021 14:11:16 +0800
Subject: [PATCH] Merge branch 'WJC' into temp-wxr

---
 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Method.cs |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Method.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Method.cs
index e65cb76..9236d52 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Method.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Method.cs
@@ -8,6 +8,7 @@
 {
     public class Method
     {
+       
         /// <summary>
         /// 绾㈠瀹濈▼搴忎富鍏ュ彛
         /// </summary>
@@ -15,7 +16,6 @@
         /// <param name="function"></param>
         public void MainView(FrameLayout frame, Entity.Function function,Action action)
         {
-
             Pir pirDevice = new Pir();
             if (function != null)
             {//鏁版嵁杞崲
@@ -23,6 +23,7 @@
                 pirDevice.deviceId = function.deviceId;
                 pirDevice.sid = function.sid;
                 pirDevice.online = function.online;
+                pirDevice.versions = function.versions;
             }
             Pir.currPir = pirDevice;
             GetControlList(frame, () =>
@@ -501,7 +502,7 @@
             }
             else if (text == "璇诲彇绾㈠瀹濆垪琛ㄥけ璐�")
             {
-                str = "璇诲彇绾㈠瀹濆垪琛ㄥけ璐�"; //Language.StringByID(StringId.delFail);
+                str = Language.StringByID(StringId.huoqushujushibao);
             }
             else
             {
@@ -519,19 +520,19 @@
                             break;
                         case "10807":
                             {
-                                str = "绾㈠瀹濅笅閬ユ帶鍣ㄨ秴杩囨渶澶�(10涓�)鏁伴噺闄愬埗";// Language.StringByID(StringId.gatewayNotOnline);
+                                str = Language.StringByID(StringId.bunengchaoguo10);
 
 
                             }
                             break;
                         case "2":
                             {
-                                str = "绯荤粺缁存姢涓瓇璇风◢鍚庡啀璇晘";
+                                str = Language.StringByID(StringId.xitongweihuzhong);
                             }
                             break;
                         default:
                             {
-                                str ="鑾峰彇鏁版嵁澶辫触" ;// Language.StringByID(StringId.saveFail);
+                                str = Language.StringByID(StringId.huoqushujushibao);
                             }
                             break;
 

--
Gitblit v1.8.0