From 1540af2a5c0ddeb8c4389c437b71f64b3c4b45ea Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 17 十一月 2022 10:01:55 +0800
Subject: [PATCH] 组合调光RGB功能修复
---
HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs | 34 +++++++++++-----------------------
1 files changed, 11 insertions(+), 23 deletions(-)
diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
index ec9fca3..7554d49 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
@@ -89,7 +89,6 @@
//绌鸿皟
case SPK.AcStandard:
case SPK.HvacAC:
- case SPK.HvacCac://姣涚粏绌鸿皟
//鍦扮儹
case SPK.FloorHeatStandard:
case SPK.HvacFloorHeat:
@@ -107,22 +106,6 @@
view.btnClick.MouseUpEventHandler += (sender, e) =>
{
DeviceView(device, view.btnState, StringId.onLogic, StringId.offLogic);
- };
- if (edit)
- {
- GetEditState(device, index, view.btnState, null, null, null);
- }
- }
- break;
- //绱ф�ュ懠鍙�
- case SPK.SensorHelp:
- {
- LogicView.FunTypeView view = new LogicView.FunTypeView();
- view.btnText.TextID = StringId.qiujiuandzhengchang;
- fLayout.AddChidren(view.FLayoutView());
- view.btnClick.MouseUpEventHandler += (sender, e) =>
- {
- DeviceView(device, view.btnState, StringId.qiujiu, StringId.zhengchang);
};
if (edit)
{
@@ -281,6 +264,7 @@
break;
//姣背娉紶鎰熷櫒(鑷爺鍖楅偖)
case SPK.SenesorMegahealth:
+ case SPK.SensorMmvPose:
{
LogicView.FunTypeView view1 = new LogicView.FunTypeView();
@@ -585,13 +569,13 @@
}
if (intValue == 1)
{
- //璺屽�掓姤璀�
+
view2.frameLayout.Visible = false;
}
else if (intValue == 2)
{
- //鏈変汉鎶ヨ
+
view2.frameLayout.Y = Application.GetRealHeight(0);
}
if (edit)
@@ -706,7 +690,6 @@
case SPK.SensorGas:
case SPK.SensorWater:
case SPK.SensorSmoke:
- case SPK.SensorHelp:
{
keyVlaue = "status";
if (!Is_SpkAttribute(keyVlaue)) {
@@ -965,8 +948,13 @@
}
}
PublicInterface view = new PublicInterface();
- //var listStr = view.GetViewList(key);
+
var listStr = view.GetSensorLevelList(device);//2022骞�05鏈�25鏃�10:01:33 浜у搧缁忕悊鍚涚厡瑕佹眰鏀规垚鍔ㄦ��
+ //if (listStr.Count == 0)
+ //{
+ // //鍚鏄负浜嗗吋鐢ㄥ緢鑰佸緢鑰佺殑椤圭洰
+ // listStr = view.GetViewList(key);
+ //}
view.SingleSelectionShow(frame, listStr, Language.StringByID(title), view.GetSensorLevelText(device, stateValue,true)
, (text) =>
{
@@ -995,7 +983,7 @@
});
}
/// <summary>
- ///
+ /// 鍙瀵硅涓撶敤
/// </summary>
/// <param name="frame">褰撳墠鐣岄潰</param>
/// <param name="device">褰撳墠璁惧</param>
@@ -1026,7 +1014,7 @@
//鐣岄潰鏄剧ず閫変腑鍊�
btnState.Text = face.userName;
//鏁版嵁灏佽
- AddDictionary("open_type", "1", "string");
+ AddDictionary("open_type", "1", "integer");
AddDictionary("user_id", face.userId, "string");
}, false);
--
Gitblit v1.8.0