| | |
| | | xmlns:sys="clr-namespace:System;assembly=mscorlib" |
| | | Loaded="UserControl_Loaded" |
| | | Background="#ccc6c7" |
| | | PreviewMouseRightButtonDown="control_PreviewMouseRightButtonDown" |
| | | FontSize="{Binding ActualHeight,RelativeSource={RelativeSource AncestorType=UserControl}, |
| | | Converter={StaticResource hfc}, ConverterParameter='12,816'}" |
| | | x:Name="control" |
| | |
| | | </Label> |
| | | |
| | | <Label Content="{Binding Status}" VerticalAlignment="Center" VerticalContentAlignment="Center" |
| | | Padding="0" |
| | | Margin="0" |
| | | Padding="0" Margin="0" |
| | | HorizontalContentAlignment="Center" |
| | | Foreground="#FFF" |
| | | FontWeight="Bold" |
| | |
| | | VerticalContentAlignment="Center" Content="{DynamicResource Ts.ProbeCount}"/> |
| | | <Label Padding="0" FontSize="12" Margin="0,0,15,0" |
| | | VerticalAlignment="Center" |
| | | VerticalContentAlignment="Center" Content="{Binding ProbeCount}"/> |
| | | VerticalContentAlignment="Center"> |
| | | <TextBlock> |
| | | <Run Text="{Binding ProbeCount}"/> |
| | | <Run Text="/"/> |
| | | <Run Text="{Binding ProbeWarn,Mode=OneWay}"/> |
| | | </TextBlock> |
| | | </Label> |
| | | |
| | | <StackPanel x:Name="probeWarnPanel" Orientation="Horizontal" Visibility="Collapsed"> |
| | | <Label x:Name="alarmLabel" Padding="0" FontSize="12" |
| | |
| | | VerticalContentAlignment="Center" Content="{DynamicResource Ts.ProbeAlarmCount}"/> |
| | | <Label x:Name="alarmValue" Padding="0" FontSize="12" |
| | | VerticalAlignment="Center" |
| | | VerticalContentAlignment="Center" Content="{Binding ProbeWarn}"/> |
| | | VerticalContentAlignment="Center" Content="{Binding ProbeWarn,Mode=OneWay}"/> |
| | | </StackPanel> |
| | | |
| | | <Button FontSize="12" Style="{StaticResource LinkButton}" |