| | |
| | | {
|
| | | //滑动过程中
|
| | | int oldProgressValue = arcScaleSeekBar.Progress;//之前的值
|
| | | arcScaleSeekBar.OnProgressChangedEvent += (send2, value) =>
|
| | | arcScaleSeekBar.OnStopTrackingTouchEvent += (send2, value) =>
|
| | | {
|
| | | nowProgressValue = value;
|
| | | };
|
| | |
| | | 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);
|