Files
egtbeamwall/EgtBEAMWALL.Supervisor/MachCommandMessagePanel/MachCommandMessagePanelV.xaml
T
Demetrio Cassarino a12ab8f531 -pulizia codice
2024-06-13 17:36:10 +02:00

45 lines
2.1 KiB
XML

<UserControl x:Class="MachCommandMessagePanelV"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<StackPanel>
<TextBlock Text="{Binding sErrCycle}"
Background="{Binding ErrCycle_Foreground}"
Foreground="White"/>
<TextBlock Text="{Binding sIso}"
Background="{Binding Iso_Foreground}"/>
<TextBlock Text="{Binding sMessage}"
Background="{Binding Message_Foreground}"/>
<TextBlock Text="{Binding sErrSystem}"
Background="{Binding ErrSystem_Foreground}"/>
<WrapPanel Orientation="Horizontal" Width="{Binding ActualWidth, ElementName=TOPTRAY}">
<Button Content="CONNECT"
Command="{Binding Connect_Command}"
Background="{Binding Connect_Background}"
Style="{StaticResource ToolBar_TextButton}"/>
<Button Content="START"
Command="{Binding Start_Command}"
Style="{StaticResource ToolBar_TextButton}"
IsEnabled="{Binding CommBtn_IsEnabled}"/>
<Button Content="STOP"
Command="{Binding Stop_Command}"
Style="{StaticResource ToolBar_TextButton}"
IsEnabled="{Binding CommBtn_IsEnabled}"/>
<Button Content="RESET"
Command="{Binding Reset_Command}"
Style="{StaticResource ToolBar_TextButton}"
IsEnabled="{Binding CommBtn_IsEnabled}"/>
<Button Content="SET POINT"
Command="{Binding SetPoint_Command}"
Style="{StaticResource ToolBar_TextButton}"
IsEnabled="{Binding CommBtn_IsEnabled}"/>
<Button Content="DELETE ALARMS"
Command="{Binding DeleteAlarms_Command}"
Visibility="{Binding DeleteAlarm_Visibility}"
Style="{StaticResource ToolBar_TextButton}"
IsEnabled="{Binding CommBtn_IsEnabled}"
Width="100"/>
</WrapPanel>
</StackPanel>
</UserControl>