提交了仪表的模型
This commit is contained in:
86
CapMachine.Wpf/Views/FooterView.xaml
Normal file
86
CapMachine.Wpf/Views/FooterView.xaml
Normal file
@@ -0,0 +1,86 @@
|
||||
<UserControl
|
||||
x:Class="CapMachine.Wpf.Views.FooterView"
|
||||
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:CapMachine.Wpf.Views"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:prism="http://prismlibrary.com/"
|
||||
Width="1920"
|
||||
Height="30"
|
||||
prism:ViewModelLocator.AutoWireViewModel="True"
|
||||
mc:Ignorable="d">
|
||||
<Grid Margin="2,0,2,2">
|
||||
<Grid.Resources>
|
||||
<Style x:Key="BoardStyle" TargetType="Border">
|
||||
<Setter Property="Background" Value="AliceBlue" />
|
||||
<Setter Property="Margin" Value="3,0" />
|
||||
<Setter Property="CornerRadius" Value="3" />
|
||||
</Style>
|
||||
<Style x:Key="StackPanelStyle" TargetType="StackPanel">
|
||||
<Setter Property="HorizontalAlignment" Value="Center" />
|
||||
<Setter Property="VerticalAlignment" Value="Center" />
|
||||
<Setter Property="Orientation" Value="Horizontal" />
|
||||
</Style>
|
||||
</Grid.Resources>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border Style="{StaticResource BoardStyle}">
|
||||
<StackPanel Style="{StaticResource StackPanelStyle}">
|
||||
<TextBlock FontSize="20" Text="PLC通信:" />
|
||||
<TextBlock FontSize="20" Text="正常" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<Border Grid.Column="1" Style="{StaticResource BoardStyle}">
|
||||
<StackPanel Style="{StaticResource StackPanelStyle}">
|
||||
<TextBlock FontSize="20" Text="仪表通信:" />
|
||||
<TextBlock FontSize="20" Text="正常" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<Border Grid.Column="2" Style="{StaticResource BoardStyle}">
|
||||
<StackPanel Style="{StaticResource StackPanelStyle}">
|
||||
<TextBlock FontSize="20" Text="服务器通信:" />
|
||||
<TextBlock FontSize="20" Text="正常" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<Border Grid.Column="3" Style="{StaticResource BoardStyle}">
|
||||
<StackPanel Style="{StaticResource StackPanelStyle}">
|
||||
<TextBlock FontSize="20" Text="用户登录:" />
|
||||
<TextBlock FontSize="20" Text="Admin" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<Border Grid.Column="4" Style="{StaticResource BoardStyle}">
|
||||
<StackPanel Style="{StaticResource StackPanelStyle}">
|
||||
<TextBlock FontSize="20" Text="记录仪通信:" />
|
||||
<TextBlock FontSize="20" Text="正常" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<Border Grid.Column="5" Style="{StaticResource BoardStyle}">
|
||||
<StackPanel Style="{StaticResource StackPanelStyle}">
|
||||
<TextBlock FontSize="20" Text="高速记录:" />
|
||||
<TextBlock FontSize="20" Text="正常" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<Border Grid.Column="6" Style="{StaticResource BoardStyle}">
|
||||
<StackPanel Style="{StaticResource StackPanelStyle}">
|
||||
<TextBlock FontSize="20" Text="数据记录:" />
|
||||
<TextBlock FontSize="20" Text="正常" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<Border Grid.Column="7" Style="{StaticResource BoardStyle}">
|
||||
<StackPanel Style="{StaticResource StackPanelStyle}">
|
||||
<TextBlock FontSize="20" Text="系统状态:" />
|
||||
<TextBlock FontSize="20" Text="正常" />
|
||||
</StackPanel>
|
||||
|
||||
</Border>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user