From 46dee93ff58a4c50b23fd42ffa8db9bf612b497c Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 05 七月 2022 10:39:53 +0800
Subject: [PATCH] 梦幻帘对接完成

---
 HDL_ON/Entity/Function/Scene.cs |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/Entity/Function/Scene.cs b/HDL_ON/Entity/Function/Scene.cs
index 2f2d49c..e5abff0 100644
--- a/HDL_ON/Entity/Function/Scene.cs
+++ b/HDL_ON/Entity/Function/Scene.cs
@@ -522,6 +522,13 @@
             {
                 //sceneFunctionInfo += new  cctState.value + "%" + " ";
             }
+
+           
+            var perAngle = status.Find((obj) => obj.key == FunctionAttributeKey.Angle);
+            if (perAngle != null)
+            {
+                sceneFunctionInfo += " " + perState.value + "掳";
+            }
             return sceneFunctionInfo;
         }
 
@@ -617,6 +624,9 @@
                 case FunctionAttributeKey.CCT:
                     us = "K";
                     break;
+                case FunctionAttributeKey.Angle:
+                    us = "掳";
+                    break;
             }
             return us;
         }
@@ -643,6 +653,7 @@
                 case FunctionAttributeKey.RoomTemp:
                 case FunctionAttributeKey.Brightness:
                 case FunctionAttributeKey.Percent:
+                case FunctionAttributeKey.Angle:
                     int outT = 0;
                     int.TryParse(catchString,out outT);
                     if (outT < 0)

--
Gitblit v1.8.0