From ea4b1f379fa052b1e044e1d67e85a8500cbd86ff Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期五, 02 八月 2024 17:01:15 +0800 Subject: [PATCH] 可视对讲铃声功能 --- HDL_ON/UI/UI1-Login/LoginPage.cs | 28 +++++++++++++++------------- 1 files changed, 15 insertions(+), 13 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs index 703ff9a..138474d 100644 --- a/HDL_ON/UI/UI1-Login/LoginPage.cs +++ b/HDL_ON/UI/UI1-Login/LoginPage.cs @@ -309,7 +309,8 @@ //etAccount.Text = "13922115008";//鍒樻�� //etAccount.Text = "support7@hdlautomation.com"; etAccount.Text = "13336018868"; - //etAccount.Text = "15262988048"; + etAccount.Text = "13580507523"; + etAccount.Text = "18402017839"; } @@ -334,9 +335,9 @@ { etPassword.Text = "zzy20020928"; } - else if(etAccount.Text == "18600200915") + else if(etAccount.Text == "13580507523") { - etPassword.Text = "ZJtiaoshi"; + etPassword.Text = "a123456"; }else if(etAccount.Text == "13288623489") { etPassword.Text = "luoxiaodong"; @@ -521,6 +522,7 @@ PlaceholderText = Language.StringByID(StringId.PlsEntryPassword), SecureTextEntry = true, TextAlignment = TextAlignment.CenterLeft, + }; passwordView.AddChidren(etPassword); @@ -1077,17 +1079,17 @@ new FunctionAttributes(){ key = AcstParent_AttrEnum.month_electricity.ToString(),curValue = "999",state = "999"}, new FunctionAttributes(){ key = AcstParent_AttrEnum.total_electricity.ToString(),curValue = "9999",state = "9999"}, new FunctionAttributes(){ key = AcstParent_AttrEnum.active_power.ToString(),curValue = "9999",state = "9999"}, - //new FunctionAttributes(){ key = AcstParent_AttrEnum.room_temp.ToString(),curValue = "26",state = "26"}, - //new FunctionAttributes(){ key = AcstParent_AttrEnum.room_humidity.ToString(),curValue = "66",state = "66"}, - //new FunctionAttributes(){ key = AcstParent_AttrEnum.co2.ToString(),curValue = "266",state = "266"}, - //new FunctionAttributes(){ key = AcstParent_AttrEnum.tvoc.ToString(),curValue = "666",state = "666"}, - //new FunctionAttributes(){ key = AcstParent_AttrEnum.pm25.ToString(),curValue = "36",state = "36"}, + new FunctionAttributes(){ key = AcstParent_AttrEnum.room_temp.ToString(),curValue = "26",state = "26"}, + new FunctionAttributes(){ key = AcstParent_AttrEnum.room_humidity.ToString(),curValue = "66",state = "66"}, + new FunctionAttributes(){ key = AcstParent_AttrEnum.co2.ToString(),curValue = "266",state = "266"}, + new FunctionAttributes(){ key = AcstParent_AttrEnum.tvoc.ToString(),curValue = "666",state = "666"}, + new FunctionAttributes(){ key = AcstParent_AttrEnum.pm25.ToString(),curValue = "36",state = "36"}, } }); FunctionList.List.Functions.Add(new Function { - name = "娴嬭瘯-绌鸿皟绉戞妧绯荤粺瀛愭帶-1", + name = "瀛愭帶-1", spk = SPK.AcstSub, sid = "0000001", attributes = new List<FunctionAttributes>() @@ -1100,7 +1102,7 @@ }); FunctionList.List.Functions.Add(new Function { - name = "娴嬭瘯-绌鸿皟绉戞妧绯荤粺瀛愭帶-2", + name = "瀛愭帶-2", spk = SPK.AcstSub, sid = "0000002", attributes = new List<FunctionAttributes>() @@ -1113,7 +1115,7 @@ }); FunctionList.List.Functions.Add(new Function { - name = "娴嬭瘯-绌鸿皟绉戞妧绯荤粺瀛愭帶-3", + name = "瀛愭帶-3", spk = SPK.AcstSub, sid = "0000003", attributes = new List<FunctionAttributes>() @@ -1126,7 +1128,7 @@ }); FunctionList.List.Functions.Add(new Function { - name = "娴嬭瘯-绌鸿皟绉戞妧绯荤粺瀛愭帶-4", + name = "瀛愭帶-4", spk = SPK.AcstSub, sid = "0000004", attributes = new List<FunctionAttributes>() @@ -1139,7 +1141,7 @@ }); FunctionList.List.Functions.Add(new Function { - name = "娴嬭瘯-绌鸿皟绉戞妧绯荤粺瀛愭帶-5", + name = "瀛愭帶-5", spk = SPK.AcstSub, sid = "0000005", attributes = new List<FunctionAttributes>() -- Gitblit v1.8.0