aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Views
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2023-05-18 12:02:21 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2023-05-18 12:02:21 +0300
commitead5472228247e3a3f3da2ba213815ee4d8e2e26 (patch)
treede0bd04eece09fa895a21cf394efdbe26ba91692 /Software/Visual_Studio/PPC/Tango.PPC.UI/Views
parent8e77a83a73410f388b3a879c3082eb7bf6064657 (diff)
downloadTango-ead5472228247e3a3f3da2ba213815ee4d8e2e26.tar.gz
Tango-ead5472228247e3a3f3da2ba213815ee4d8e2e26.zip
Bugs in Overview: Copies in Progress run (*4) and if job completed - length ( was 0).
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Views')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineStatusView.xaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineStatusView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineStatusView.xaml
index d9b37ac85..666fffe72 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineStatusView.xaml
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineStatusView.xaml
@@ -24,6 +24,7 @@
<localConverters:ProgressWeightSpoolConverter x:Key="ProgressWeightSpoolConverter"/>
<localConverters:LiquidTypeToBrushConverter x:Key="LiquidTypeToBrushConverter"/>
<localConverters:MidTankLevelToElementRectConverter x:Key="MidTankLevelToElementRectConverter"/>
+ <localConverters:ProgressUnitSpoolConverter x:Key="ProgressUnitSpoolConverter"/>
<Style x:Key="LinkRoundButtonStyle" TargetType="{x:Type touch:TouchButton}">
<Setter Property="Background" Value="{StaticResource TangoMidAccentBrush}"></Setter>
@@ -635,7 +636,13 @@
<Image Source="../Images/Job Issues/job_copies.png" Stretch="None" VerticalAlignment="Top"/>
<StackPanel Orientation="Vertical" Margin="15 0 0 0">
<TextBlock VerticalAlignment="Center" FontSize="{StaticResource TangoDefaultFontSize}">Copies</TextBlock>
- <TextBlock Text="{Binding RunningJobStatus.CurrentUnit,TargetNullValue='-', FallbackValue='-'}" FontWeight="DemiBold" FontSize="{StaticResource TangoComboBoxItemFontSize}"></TextBlock>
+ <TextBlock FontWeight="DemiBold" FontSize="{StaticResource TangoComboBoxItemFontSize}">
+ <TextBlock.Text>
+ <MultiBinding Converter="{StaticResource ProgressUnitSpoolConverter}" TargetNullValue='-' FallbackValue='-' >
+ <Binding Path="RunningJobStatus.CurrentUnit" Mode="OneWay"/>
+ </MultiBinding>
+ </TextBlock.Text>
+ </TextBlock>
</StackPanel>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">