From 097511a2a666f1206fd78fdef0e213e09b5f46df Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期六, 21 八月 2021 12:58:40 +0800 Subject: [PATCH] 2021-8-21-01 --- HDL_ON/UI/UI1-Login/LoginPage.cs | 18 ++++++++++-------- 1 files changed, 10 insertions(+), 8 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs index 56d3f19..58ce5a1 100644 --- a/HDL_ON/UI/UI1-Login/LoginPage.cs +++ b/HDL_ON/UI/UI1-Login/LoginPage.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Text.RegularExpressions; using System.Threading; +using HDL_ON.Common; using HDL_ON.DAL.Server; using HDL_ON.Entity; using HDL_ON.UI.CSS; @@ -213,7 +214,7 @@ //etAccount.Text = "18316120654";//tujie // "15622703419"lwn;// "18824864143";//"464027401@qq.com"; //"2791308028@qq.com";//13697499568 etAccount.Text = "15626203746"; - etAccount.Text = "13450425807";//榛勭婧� knx椤圭洰 + //etAccount.Text = "13450425807";//榛勭婧� knx椤圭洰 } else { @@ -230,6 +231,7 @@ //etAccount.Text = "551775569@qq.com";//wcf //etAccount.Text = "18666455392";//13375012446//13602944661//tzy 18778381374 //etAccount.Text = "15971583093";// gs//tzy 274116637@qq.com//Sumant.Bhatia@havells.com 鍥藉鏈嶅姟鍣ㄦ祴璇� + etAccount.Text = "15971583093";//楂樿儨 璋冨厜0 100 鍙嶅妯烦 } b = !b; etPassword.Text = "123456"; @@ -521,7 +523,12 @@ }; bodyView.AddChidren(btnDomeLogin); btnDomeLogin.MouseUpEventHandler = (sender, e) => { + MainPage.NoLoginMode = true; +#if DEBUG + FileUtlis.Files.DeleteAllFile(); +#endif + //妤煎眰鎴块棿鍒楄〃 var floor1 = new SpatialInfo("FLOOR") { roomName = "F1", parentId = DB_ResidenceData.Instance.CurrentRegion.id }; floor1.SaveRoomFile(); @@ -663,9 +670,9 @@ { sid = "light4", deviceId = "light4", - name = Language.CurrentLanguage == "Chinese" ? "澶х伅" : "light 1" , + name = Language.CurrentLanguage == "Chinese" ? "澶х伅" : "light 1", spk = SPK.LightSwitch, - roomIds = new List<string>() { "1405771024583090178"}, + roomIds = new List<string>() { "1405771024583090178" }, attributes = new List<FunctionAttributes>() { new FunctionAttributes() { key = "on_off",value =new List<string>(){ "on","off" }, curValue="on",state = "on" }, @@ -1055,11 +1062,6 @@ #endregion var fileList = Common.FileUtlis.Files.ReadFiles(); - - //foreach (var file in fileList) - //{ - // FunctionList.List.IniFunctionList(file,true); - //} Room.CurrentSpatial.InitRoomListFunctions(); -- Gitblit v1.8.0