From 83df0ebfbd306d0fb5a51a21a7ef2271c0c507ec Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 09 三月 2021 19:39:26 +0800
Subject: [PATCH] 2021-3-9-1

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

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs
index caf97eb..e640385 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs
@@ -247,11 +247,11 @@
                         }
                     }
                     break;
-                case SPK.ElectricTV:
+                case SPK.TvIr:
                     {
                         switch (textInt)
                         {
-                            case StringId.dianshi:
+                            case StringId.dianyuan:
                                 {
                                     key = "on_off";
                                     value = "on";
@@ -259,8 +259,8 @@
                                 break;
                             case StringId.yinliangjia:
                                 {
-                                    key = "on_off";
-                                    value = "on";
+                                    key = "volume+";
+                                    value = "50";
                                 }
                                 break;
                             case StringId.jingyin:
@@ -284,6 +284,7 @@
             control.type = "library";
             control.status.Add(buttonObj);
             control.deviceId = Pir.currPir.deviceId;
+            control.sid = "";
             string[] strings = library.irCode.Split(',');
             for (int arrayStr = 0; arrayStr < strings.Length; arrayStr++) 
             {
@@ -368,7 +369,7 @@
                         }
                     }
                     break;
-                case SPK.ElectricTV:
+                case SPK.TvIr:
                     {
                         switch (code)
                         {

--
Gitblit v1.8.0