From e985d1b79937c41ebdaa4caa2974ec03929db915 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 20 一月 2021 11:43:54 +0800 Subject: [PATCH] 20200120:ios 红外包蓝牙sdk对接 --- HDL_ON/UI/UI2/FuntionControlView/Curtain/MotorCurtainPage.cs | 118 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 59 insertions(+), 59 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Curtain/MotorCurtainPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Curtain/MotorCurtainPage.cs index 4cc63e4..a119c53 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Curtain/MotorCurtainPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Curtain/MotorCurtainPage.cs @@ -25,18 +25,18 @@ /// 绐楀笜鍔ㄦ�佹帶浠� /// </summary> CurtainSeekBarOn curtainSeekBar; - /// <summary> - /// 绐楀笜杩涘害鍑忓皯鎸夐挳 - /// </summary> - Button btnMinusSignIcon; - /// <summary> - /// 绐楀笜杩涘害澧炲姞鎸夐挳 - /// </summary> - Button btnPlusSgnIcon; - /// <summary> - /// 绐楀笜婊戝姩鎺у埗 - /// </summary> - DiyImageSeekBar controlBar; + ///// <summary> + ///// 绐楀笜杩涘害鍑忓皯鎸夐挳 + ///// </summary> + //Button btnMinusSignIcon; + ///// <summary> + ///// 绐楀笜杩涘害澧炲姞鎸夐挳 + ///// </summary> + //Button btnPlusSgnIcon; + ///// <summary> + ///// 绐楀笜婊戝姩鎺у埗 + ///// </summary> + //DiyImageSeekBar controlBar; /// <summary> /// 绐楀笜鍏抽棴鎸夐挳 /// </summary> @@ -141,58 +141,58 @@ Height = Application.GetRealWidth(177), Progress = curtain.percent, ProgressTextColor =0x00000000, - //IsInvertedProgress = true, + IsInvertedProgress = true, }; controlView.AddChidren(curtainSeekBar); - btnMinusSignIcon = new Button() - { - Y = Application.GetRealHeight(406), - Width = Application.GetRealWidth(62), - Height = Application.GetMinRealAverage(24), - TextAlignment = TextAlignment.CenterRight, - TextID = StringId.PullOpen, - TextSize = CSS_FontSize.PromptFontSize_FirstLevel, - TextColor = CSS_Color.PromptingColor1, - Visible = false, - Enable = false, - }; - controlView.AddChidren(btnMinusSignIcon); + //btnMinusSignIcon = new Button() + //{ + // Y = Application.GetRealHeight(406), + // Width = Application.GetRealWidth(62), + // Height = Application.GetMinRealAverage(24), + // TextAlignment = TextAlignment.CenterRight, + // TextID = StringId.PullOpen, + // TextSize = CSS_FontSize.PromptFontSize_FirstLevel, + // TextColor = CSS_Color.PromptingColor1, + // Visible = false, + // Enable = false, + //}; + //controlView.AddChidren(btnMinusSignIcon); - controlBar = new DiyImageSeekBar() - { - X = btnMinusSignIcon.Right, - Y = Application.GetRealHeight(391),//414,璁捐鏁版嵁 - Width = Application.GetRealWidth(180), - Height = Application.GetRealHeight(54), - SeekBarViewHeight = Application.GetRealHeight(8), - ThumbImagePath = "Public/ThumbImage.png", - ThumbImageHeight = Application.GetRealHeight(54), - ProgressBarColor = CSS_Color.MainColor, - ProgressTextColor = CSS_Color.FirstLevelTitleColor, - ProgressTextSize = 0x00000000, - MaxValue = 100, - Progress = 30, - SeekBarPadding = Application.GetRealWidth(20), - Visible = false, - Enable = false, - }; - controlView.AddChidren(controlBar); + //controlBar = new DiyImageSeekBar() + //{ + // X = btnMinusSignIcon.Right, + // Y = Application.GetRealHeight(391),//414,璁捐鏁版嵁 + // Width = Application.GetRealWidth(180), + // Height = Application.GetRealHeight(54), + // SeekBarViewHeight = Application.GetRealHeight(8), + // ThumbImagePath = "Public/ThumbImage.png", + // ThumbImageHeight = Application.GetRealHeight(54), + // ProgressBarColor = CSS_Color.MainColor, + // ProgressTextColor = CSS_Color.FirstLevelTitleColor, + // ProgressTextSize = 0x00000000, + // MaxValue = 100, + // Progress = 30, + // SeekBarPadding = Application.GetRealWidth(20), + // Visible = false, + // Enable = false, + //}; + //controlView.AddChidren(controlBar); - btnPlusSgnIcon = new Button() - { - X = Application.GetRealWidth(266), - Y = Application.GetRealHeight(406), - Width = Application.GetRealWidth(62), - Height = Application.GetRealWidth(24), - TextID = StringId.Shut, - TextAlignment = TextAlignment.CenterLeft, - TextSize = CSS_FontSize.PromptFontSize_FirstLevel, - TextColor = CSS_Color.PromptingColor1, - Visible = false, - Enable = false, - }; - controlView.AddChidren(btnPlusSgnIcon); + //btnPlusSgnIcon = new Button() + //{ + // X = Application.GetRealWidth(266), + // Y = Application.GetRealHeight(406), + // Width = Application.GetRealWidth(62), + // Height = Application.GetRealWidth(24), + // TextID = StringId.Shut, + // TextAlignment = TextAlignment.CenterLeft, + // TextSize = CSS_FontSize.PromptFontSize_FirstLevel, + // TextColor = CSS_Color.PromptingColor1, + // Visible = false, + // Enable = false, + //}; + //controlView.AddChidren(btnPlusSgnIcon); btnCurtainClose = new Button() { -- Gitblit v1.8.0