.vs/HDL_APP_Project/xs/UserPrefs.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
.vs/HDL_APP_Project/xs/sqlite3/storage.ide | 补丁 | 查看 | 原始文档 | blame | 历史 | |
.vs/HDL_APP_Project/xs/sqlite3/storage.ide-shm | 补丁 | 查看 | 原始文档 | blame | 历史 | |
.vs/HDL_APP_Project/xs/sqlite3/storage.ide-wal | 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
.vs/HDL_APP_Project/xs/UserPrefs.xml
@@ -3,7 +3,7 @@ <MonoDevelop.Ide.Workbench ActiveDocument="HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs"> <Files> <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs" Line="1" Column="1" /> <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs" Line="1" Column="1" /> <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs" Line="510" Column="22" /> </Files> <Pads> <Pad Id="ProjectPad"> @@ -41,7 +41,7 @@ <String>Shared.IOS/Shared.IOS.csproj</String> </DisabledProjects> <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|iPhone" /> <MonoDevelop.Ide.ItemProperties.HDL-ON__Android PreferredExecutionTarget="Android.4b65c4650918" /> <MonoDevelop.Ide.ItemProperties.HDL-ON__Android PreferredExecutionTarget="Android.Android_Accelerated_Oreo" /> <MonoDevelop.Ide.DebuggingService.Breakpoints> <BreakpointStore> <Breakpoint file="/Users/hdl/Desktop/wjc/HDL_APP_Project/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs" relfile="HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs" line="133" column="1" /> .vs/HDL_APP_Project/xs/sqlite3/storage.ideBinary files differ
.vs/HDL_APP_Project/xs/sqlite3/storage.ide-shmBinary files differ
.vs/HDL_APP_Project/xs/sqlite3/storage.ide-walBinary files differ
HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs
@@ -260,7 +260,7 @@ } break; case FunctionType.Curtain: {//开关灯 { foreach (var dic in dicList) { string value = dic["value"]; @@ -288,48 +288,32 @@ break; case FunctionType.MotorCurtain: case FunctionType.RollingShutter: {//开关灯 { string on_off = GetKeyValue("on_off", dicList); string brightness = GetKeyValue("brightness", dicList); if (on_off != "") { switch (on_off) { case "on": { stateStr = Language.StringByID(StringId.onLogic); string percent = GetKeyValue("percent", dicList); } break; case "off": if (on_off == "off") { stateStr = Language.StringByID(StringId.offLogic); } break; case "stop": else if (on_off == "stop") { stateStr = Language.StringByID(StringId.stop); } break; } } if (brightness != "") else if (on_off == "on" && percent != "") { stateStr += brightness + "%"; stateStr = Language.StringByID(StringId.onLogic) + percent + "%"; } if (on_off != "" && on_off == "stop"|| on_off != "" && on_off == "off") else if (on_off == "on") { targetView.btnState.Text = Language.StringByID(StringId.stop); stateStr = Language.StringByID(StringId.onLogic); } else else if (percent != "") { stateStr = percent + "%"; } targetView.btnState.Text = stateStr; } } break; case FunctionType.AC: { HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs
@@ -816,8 +816,30 @@ #region 点击事件 int brightnesValue = 0; Dictionary<string, string> dic = new Dictionary<string, string>(); string keyVlaue = ""; switch (device.functionType) { //开关灯光 light.Switch case FunctionType.Dimmer: case FunctionType.RGB: case FunctionType.RGBW: case FunctionType.ColorTemperature: { LogicMethod.dictionary(dic, "key", "brightness"); string keyVlaue = "brightness"; keyVlaue = "brightness"; } break; case FunctionType.MotorCurtain: case FunctionType.RollingShutter: { LogicMethod.dictionary(dic, "key", "percent"); keyVlaue = "percent"; } break; } //—点击事件 brightness.btn_subtract_click.MouseUpEventHandler += (sender2, e2) => { @@ -1006,7 +1028,7 @@ } } break; case "brightness": case "percent": { button2.Text = value;