| | |
| | | this.frameClrean = new FrameLayout();
|
| | | frameClrean.Width = Application.GetRealWidth(600);
|
| | | frameClrean.Height = this.GetPictrueRealSize(69);
|
| | | frameClrean.X = ControlCommonResourse.XXLeft;
|
| | | frameClrean.X = HdlControlResourse.XXLeft;
|
| | | frameClrean.Y = Application.GetRealHeight(35);
|
| | | frameWhiteBack.AddChidren(frameClrean);
|
| | | frameClrean.Visible = false;
|
| | |
| | | {
|
| | | //滑动过程中
|
| | | int oldProgressValue = arcScaleSeekBar.Progress;//之前的值
|
| | | arcScaleSeekBar.OnProgressChangedEvent += (send2, value) =>
|
| | | arcScaleSeekBar.OnStopTrackingTouchEvent += (send2, value) =>
|
| | | {
|
| | | nowProgressValue = value;
|
| | | };
|
| | |
| | | {
|
| | | var rowFrame = new FrameRowControl();
|
| | | rowFrame.Y = frameBack.GetChildren(frameBack.ChildrenCount - 1).Bottom;
|
| | | rowFrame.LeftOffset = Application.GetRealWidth(81) - ControlCommonResourse.XXLeft;
|
| | | rowFrame.LeftOffset = Application.GetRealWidth(81) - HdlControlResourse.XXLeft;
|
| | | rowFrame.Height = Application.GetRealHeight(150);
|
| | | frameBack.AddChidren(rowFrame);
|
| | |
|
| | |
| | | {
|
| | | var rowFrame = new FrameRowControl();
|
| | | rowFrame.Y = frameBack.GetChildren(frameBack.ChildrenCount - 1).Bottom;
|
| | | rowFrame.LeftOffset = Application.GetRealWidth(81) - ControlCommonResourse.XXLeft;
|
| | | rowFrame.LeftOffset = Application.GetRealWidth(81) - HdlControlResourse.XXLeft;
|
| | | rowFrame.Height = Application.GetRealHeight(150);
|
| | | frameBack.AddChidren(rowFrame);
|
| | |
|
| | |
| | | {
|
| | | var rowFrame = new FrameRowControl();
|
| | | rowFrame.Y = frameBack.GetChildren(frameBack.ChildrenCount - 1).Bottom;
|
| | | rowFrame.LeftOffset = Application.GetRealWidth(81) - ControlCommonResourse.XXLeft;
|
| | | rowFrame.LeftOffset = Application.GetRealWidth(81) - HdlControlResourse.XXLeft;
|
| | | rowFrame.Height = Application.GetRealHeight(150);
|
| | | frameBack.AddChidren(rowFrame);
|
| | |
|
| | |
| | | this.listControl[1].IsSelected = false;
|
| | | this.listControl[2].IsSelected = false;
|
| | | this.listControl[3].IsSelected = false;
|
| | | arcScaleSeekBar.SetProgressBarColors(ZigbeeColor.Current.GXCWaveSeekBarUnSelectedColor, ZigbeeColor.Current.GXCWaveSeekBarUnSelectedColor);
|
| | | }
|
| | | arcScaleSeekBar.SetProgressBarColors(ZigbeeColor.Current.GXCWaveSeekBarUnSelectedColor, ZigbeeColor.Current.GXCWaveSeekBarUnSelectedColor);
|
| | | //设置状态文字 关闭
|
| | | this.SetStatuText(Language.StringByID(R.MyInternationalizationString.Close));
|
| | | return;
|
| | |
| | | this.listControl[1].IsSelected = true;
|
| | | this.listControl[2].IsSelected = true;
|
| | | this.listControl[3].IsSelected = true;
|
| | | arcScaleSeekBar.SetProgressBarColors(ZigbeeColor.Current.GXCArcScaleSeekBarStartColor, ZigbeeColor.Current.GXCArcScaleSeekBarEndColor);
|
| | | }
|
| | | arcScaleSeekBar.SetProgressBarColors(ZigbeeColor.Current.GXCArcScaleSeekBarStartColor, ZigbeeColor.Current.GXCArcScaleSeekBarEndColor);
|
| | | }
|
| | | this.listControl[1].SelectedImagePath = DeviceAcDetailCardMethord.GetModeSelectedImagePathByModeId(deviceAc.currentSystemMode);
|
| | | this.listControl[1].UnSelectedImagePath = DeviceAcDetailCardMethord.GetModeUnSelectedImagePathByModeId(deviceAc.currentSystemMode);
|