| | |
| | | contentView.AddChidren(btnMinValuesText); |
| | | |
| | | |
| | | int progress = 0; |
| | | int.TryParse(function.GetAttrState(FunctionAttributeKey.SetTemp),out progress); |
| | | //int progress = 0; |
| | | //int.TryParse(function.GetAttrState(FunctionAttributeKey.SetTemp),out progress); |
| | | |
| | | tempBar = new DiyImageSeekBar() |
| | | { |
| | |
| | | ThumbImageHeight = Application.GetRealHeight(51), |
| | | ProgressBarColor = function.trait_on_off.curValue.ToString() == "on" ? curColor : CSS_Color.DividingLineColor, |
| | | MaxValue = 14, |
| | | Progress = progress - 16, |
| | | Progress = setTempValue - 16, |
| | | SeekBarPadding = Application.GetRealWidth(20), |
| | | IsProgressTextShow = false, |
| | | ProgressChangeDelayTime = 0, |