Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (25 sloc) 1.28 KB
<UserControl x:Class="SimpleHmi.Views.HmiStatusBar"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:SimpleHmi.Views"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:prism="http://prismlibrary.com/"
prism:ViewModelLocator.AutoWireViewModel="True"
d:DesignHeight="100"
d:DesignWidth="800"
xmlns:design="clr-namespace:SimpleHmi.Designer"
d:DataContext="{d:DesignInstance design:DesignHmiStatusBarViewModel, IsDesignTimeCreatable=True}"
mc:Ignorable="d">
<Grid>
<StatusBar>
<TextBlock Text="{Binding Plc1ConnectionState, StringFormat=Plc 1: {0}}" />
<Separator />
<TextBlock Text="{Binding Plc1ScanTime, StringFormat=Plc 1 ScanTime {0}}" />
<Separator/>
<TextBlock Text="{Binding Plc2ConnectionState, StringFormat=Plc 2: {0}}" />
<Separator />
<TextBlock Text="{Binding Plc2ScanTime, StringFormat=Plc 2 ScanTime {0}}" />
</StatusBar>
</Grid>
</UserControl>