From 6129e717a8b3265e9b35ac5823f7c95fd306da04 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 26 一月 2024 17:17:16 +0800 Subject: [PATCH] 修复可视对讲无法收到推送的问题,传感器无法动态获取等级的问题 --- HDL_ON/UI/UI1-Login/LoginPage.cs | 57 ++++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 38 insertions(+), 19 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs index acdb095..2f877b9 100644 --- a/HDL_ON/UI/UI1-Login/LoginPage.cs +++ b/HDL_ON/UI/UI1-Login/LoginPage.cs @@ -310,36 +310,40 @@ //etAccount.Text = "13288623489";//缃楁檽涓� //etAccount.Text = "18244942707"; //etAccount.Text = "13143792049"; - etAccount.Text = "18688414428";//澶╂渤3妤� + //etAccount.Text = "18688414428";//澶╂渤3妤� //etAccount.Text = "13418062953"; - etAccount.Text = "13138683659"; + //etAccount.Text = "13138683659"; //etAccount.Text = "15217626103"; //etAccount.Text = "18100573477"; //etAccount.Text = "18321091245"; //etAccount.Text = "13751916353"; - etAccount.Text = "13549566666"; - etAccount.Text = "support7@hdlautomation.com"; - etAccount.Text = "13375012446";//娴嬭瘯鏈嶅姟鍣� - etAccount.Text = "15855403939"; - etAccount.Text = "15006564444"; - etAccount.Text = "pjh@hdlchina.com.cn"; + //etAccount.Text = "13549566666"; + //etAccount.Text = "13375012446";//娴嬭瘯鏈嶅姟鍣� + //etAccount.Text = "15855403939"; + //etAccount.Text = "15006564444"; + //etAccount.Text = "pjh@hdlchina.com.cn"; //etAccount.Text = "12345678904";//2.0 娴嬭瘯 钀ょ煶 - etAccount.Text = "18316672920"; - etAccount.Text = "18244942707"; - etAccount.Text = "1272061968@qq.com";//涓囩鍩庡競涔嬪厜E鍖�8鏍�206 - etAccount.Text = "13533335801"; - etAccount.Text = "13682244600"; - etAccount.Text = "marketing@australindo.co.id"; - etAccount.Text = "dcai.assist@gmail.com"; + //etAccount.Text = "18316672920"; + //etAccount.Text = "18244942707"; + //etAccount.Text = "1272061968@qq.com";//涓囩鍩庡競涔嬪厜E鍖�8鏍�206 + //etAccount.Text = "13533335801"; + //etAccount.Text = "13682244600"; + //etAccount.Text = "marketing@australindo.co.id"; + //etAccount.Text = "13922115008";//鍒樻�� + //etAccount.Text = "1272061968@qq.com"; + //etAccount.Text = "info@hdlegypt.com"; + //etAccount.Text = "18402017839"; + etAccount.Text = "support7@hdlautomation.com"; + } else { //etAccount.Text = "464027401@qq.com";// //etAccount.Text = "15217626103";// - etAccount.Text = "13168123446";//鏄嗘槑閲戣寕椤圭洰锛屾柊椋庨棶棰� + //etAccount.Text = "13168123446";//鏄嗘槑閲戣寕椤圭洰锛屾柊椋庨棶棰� //etAccount.Text = "2949126848@qq.com";//闄堢惓 - etAccount.Text = "15014291819 "; + //etAccount.Text = "15014291819 "; //etAccount.Text = "13676202754";//宸存灄鏈嶅姟鍣� //etAccount.Text = "13602944661";//kx //etAccount.Text = "18666455392";//13375012446//13602944661//tzy 18778381374 @@ -362,9 +366,9 @@ } b = !b; etPassword.Text = "123456"; - if(etAccount.Text == "pjh@hdlchina.com.cn") + if(etAccount.Text == "info@hdlegypt.com") { - etPassword.Text = "hdl123"; + etPassword.Text = "@Hdl2020"; } else if(etAccount.Text == "18600200915") { @@ -478,6 +482,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 +1300,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