aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Converters
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2023-08-02 15:44:56 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2023-08-02 15:44:56 +0300
commitda1c997c138633c46daa8dc3c099b7164a536eb9 (patch)
treeb04bf3110ae27ebbea1b7aafe9d2efeec45fccff /Software/Visual_Studio/PPC/Tango.PPC.UI/Converters
parent027f92e62bf5c3d018b6d789b54c5ce78af2b03b (diff)
downloadTango-da1c997c138633c46daa8dc3c099b7164a536eb9.tar.gz
Tango-da1c997c138633c46daa8dc3c099b7164a536eb9.zip
Job Running Progress - added inter segments to logic.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Converters')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Converters/ProgressBorderWidthConverter.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Converters/ProgressBorderWidthConverter.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Converters/ProgressBorderWidthConverter.cs
new file mode 100644
index 000000000..3345798eb
--- /dev/null
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Converters/ProgressBorderWidthConverter.cs
@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Data;
+
+namespace Tango.PPC.UI.Converters
+{
+ public class ProgressBorderWidthConverter : IValueConverter
+ {
+ public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
+ {
+ double length = System.Convert.ToDouble(value);
+ return length * 3;
+ }
+
+ public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
+ {
+ throw new NotImplementedException();
+ }
+ }
+}