From 6a8eb1ce9d8e34c50164a4e24e7098e681ee08b6 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 06 十一月 2023 15:08:06 +0800
Subject: [PATCH] 国际化支持:场景增加自动化使能配置

---
 HDL_ON/UI/UI1-Login/LoginPage.cs |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs
index acdb095..87bea6c 100644
--- a/HDL_ON/UI/UI1-Login/LoginPage.cs
+++ b/HDL_ON/UI/UI1-Login/LoginPage.cs
@@ -330,7 +330,7 @@
                     etAccount.Text = "13533335801";
                     etAccount.Text = "13682244600";
                     etAccount.Text = "marketing@australindo.co.id";
-                    etAccount.Text = "dcai.assist@gmail.com";
+                    etAccount.Text = "support7@hdlautomation.com";
 
                 }
                 else
@@ -478,6 +478,9 @@
                 PlaceholderText = Language.StringByID(StringId.PlsEntryPhoneNumber),
                 TextAlignment = TextAlignment.CenterLeft,
             };
+#if __IOS__
+            etAccount.MyTextContentType = UIKit.UITextContentType.Name;
+#endif
             accountView.AddChidren(etAccount);
 
             if (userInfo != null && userInfo.ID != "1234567890")
@@ -1293,6 +1296,18 @@
                     },
                 });
 
+                FunctionList.List.Functions.Add(new Function()
+                {
+                    spk = SPK.SensorLight,
+                    name = "鍏夌収浼犳劅鍣�",
+                    //collect = true,
+                    sid = "SensorLightsss000001",
+                    attributes = new List<FunctionAttributes>()
+                    {
+                        new FunctionAttributes(){ key = "illuminance",curValue= "100",state = "100" },
+                    },
+                });
+
 
                 FunctionList.List.Functions.Add(new Function()
                 {

--
Gitblit v1.8.0