| | |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextSize = 14, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | Text = (volume - recyclVolume) + "t" |
| | | Text = Math.Round((volume - recyclVolume),1) + "t" |
| | | }; |
| | | flowView.AddChidren(flow_ElectricDriveValuesButton); |
| | | |
| | |
| | | { |
| | | flow_ElectricDriveProgressButton.Text = ((int)(100 - recyclVolumePercent)) + "%"; |
| | | } |
| | | flow_ElectricDriveValuesButton.Text = (((int)(volume * 100) - (int)(recyclVolume * 100)) / 100.0) + "t"; |
| | | flow_ElectricDriveValuesButton.Text = Math.Round((volume - recyclVolume), 1) + "t";//(((int)(volume * 100) - (int)(recyclVolume * 100)) / 100.0) + "t"; |
| | | } |
| | | |
| | | /// <summary> |