From bf3d64379bdf4424394103b31531a25d30be85d8 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 10 十一月 2022 11:45:14 +0800 Subject: [PATCH] 机械手 --- HDL_ON/UI/UI1-Login/LoginPage.cs | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs index 5a67121..0f88e47 100644 --- a/HDL_ON/UI/UI1-Login/LoginPage.cs +++ b/HDL_ON/UI/UI1-Login/LoginPage.cs @@ -219,7 +219,7 @@ etAccount.Text = "tf@smarttech.com.ua"; etAccount.Text = "13288623489"; etAccount.Text = "455740454@qq.com"; - etAccount.Text = "13799777637"; + etAccount.Text = "13335135632"; } else { @@ -253,9 +253,9 @@ } b = !b; etPassword.Text = "123456"; - if(etAccount.Text == "13799777637") + if(etAccount.Text == "13335135632") { - etPassword.Text = "xiamen1990"; + etPassword.Text = "borui1123"; } //etPassword.Text = "Hdl85521566"; btnLogin.IsSelected = true; @@ -794,6 +794,21 @@ #if DEBUG + var mechanicalArm = new Function() + { + sid = "mechanicalArm1", + deviceId = "mechanicalArm1", + name = Language.CurrentLanguage == "Chinese" ? "鏈烘鎵�" : "Mechanical Arm", + spk = SPK.MechanicalArm, + roomIds = new List<string>() { "1405771024583090178" }, + attributes = new List<FunctionAttributes>() + { + new FunctionAttributes() { key = "on_off",value =new List<string>(){ "on","off" }, curValue="on",state = "on" }, + }, + }; + mechanicalArm.SaveFunctionFile(); + + var lightRgbw1 = new Function() { sid = "light11", -- Gitblit v1.8.0