<UserControl x:Class="Aucma.Core.PrintTo.Views.ButtomPageView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:Aucma.Core.PrintTo.Views" mc:Ignorable="d" d:DesignWidth="1100"> <Grid> <Border BorderBrush="#0288d1" Margin="3" BorderThickness="1" CornerRadius="5" HorizontalAlignment="Stretch" VerticalAlignment="Bottom"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="*" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <StackPanel Grid.Row="1" Height="50" Orientation="Horizontal" Margin="5 0" HorizontalAlignment="Left"> <Button Content="实施监控" Margin="5 0" Command="{Binding ExecCommand}"/> <Button Content="计划下发" Margin="5 0"/> <Button Content="存库管理" Margin="5 0"/> <Button Content="键盘" Margin="5 0"/> <Button Content="退出" Margin="5 0"/> </StackPanel> <StackPanel Grid.Row="2" Height="50" Orientation="Horizontal" HorizontalAlignment="Right"> <Border Width="30" Height="30" CornerRadius="15"> <Border.Background> <ImageBrush x:Name="PlcStatus" ImageSource="/Assets/Images/Green.png"/> </Border.Background> </Border> <TextBlock x:Name="PLCState" Text="PLC连接成功" VerticalAlignment="Center" Foreground="Green" FontSize="15" Margin="10,0"/> <Border Width="30" Height="30" CornerRadius="15"> <Border.Background> <ImageBrush x:Name="PlcStatusImage" ImageSource="/Assets/Images/Green.png"/> </Border.Background> </Border> <TextBlock x:Name="DB" Text="数据库连接成功" VerticalAlignment="Center" Foreground="Green" FontSize="15" Margin="10,0"/> <Border Width="30" Height="30" CornerRadius="15"> <Border.Background> <ImageBrush x:Name="BarCodeStatus" ImageSource="/Assets/Images/Green.png"/> </Border.Background> </Border> <TextBlock x:Name="BarCodeStatusTxt" Text="扫描器连接成功" VerticalAlignment="Center" Foreground="Green" FontSize="15" Margin="10,0"/> </StackPanel> </Grid> </Border> </Grid> </UserControl>