63 lines
4.2 KiB
XML
63 lines
4.2 KiB
XML
<pi:UserControlBase x:Class="智能仓储WCS管理系统.HomeView"
|
|
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:智能仓储WCS管理系统"
|
|
xmlns:controls="clr-namespace:智能仓储WCS管理系统.Views.Controls"
|
|
mc:Ignorable="d"
|
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
|
xmlns:pi="https://github.com/ping9719/wpfex"
|
|
d:DesignHeight="737" d:DesignWidth="1192" LoadedVisibleFirst="loadFir" IsVisibleChanged="vis">
|
|
<Border Margin="0" Background="AliceBlue" CornerRadius="3" Padding="0">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="2*"/>
|
|
<RowDefinition Height="*"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
<!--内容区-->
|
|
<!--<Grid Grid.Row="0" Margin="5,5,5,0">-->
|
|
<!--货架状态显示区-->
|
|
<Border Grid.Row="0" Margin="5,5,5,0" BorderThickness="1" Background="White" BorderBrush="DodgerBlue" CornerRadius="3">
|
|
<hc:ScrollViewer IsInertiaEnabled="True" hc:ScrollViewerAttach.AutoHide="False">
|
|
<WrapPanel Name="shelfsWrapPanel">
|
|
</WrapPanel>
|
|
</hc:ScrollViewer>
|
|
</Border>
|
|
<!--</Grid>-->
|
|
<!--消息区-->
|
|
<Border Grid.Row="1" Margin="5" Height="auto" BorderThickness="1" Background="White" BorderBrush="DodgerBlue" CornerRadius="3">
|
|
<!--<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
--><!--<ColumnDefinition Width="4*"/>--><!--
|
|
<ColumnDefinition Width="6*"/>
|
|
</Grid.ColumnDefinitions>-->
|
|
<!--报警--><!--
|
|
<GroupBox Grid.Column="0" Background="White" Padding="0" Style="{StaticResource GroupBoxTab}" Margin="5,5,5,5">
|
|
<GroupBox.Header>
|
|
<Grid Width="{Binding ActualWidth,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type GroupBox}}}">
|
|
<TextBlock Margin="5,0" HorizontalAlignment="Left" VerticalAlignment="Center">报警</TextBlock>
|
|
<Button HorizontalAlignment="Right" Height="25" Margin="10,0" Padding="10,0" FontFamily="{StaticResource IconFont}" Command="{Binding ClearTextErrCommand}"> 清除</Button>
|
|
</Grid>
|
|
</GroupBox.Header>
|
|
<TextBox Style="{StaticResource TextBoxExtend.Multi}" IsReadOnly="True" Margin="-1" Text="{Binding TextErr}" Foreground="Tomato" hc:InfoElement.Placeholder="没有报警信息"></TextBox>
|
|
</GroupBox>-->
|
|
<!--日志-->
|
|
<GroupBox Grid.Column="1" Background="White" Padding="0" Style="{StaticResource GroupBoxTab}" >
|
|
<GroupBox.Header>
|
|
<Grid Width="{Binding ActualWidth,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type GroupBox}}}">
|
|
<TextBlock Margin="5,0" HorizontalAlignment="Left" VerticalAlignment="Center">日志</TextBlock>
|
|
<Button Grid.Row="2" Command="{Binding SelfCheckCommand}" Background="AliceBlue" Content="手 动 自 检" ></Button>
|
|
<Button HorizontalAlignment="Right" Height="25" Margin="10,0" Padding="10,0" FontFamily="{StaticResource IconFont}" Command="{Binding ClearTextInfoCommand}"> 清空</Button>
|
|
</Grid>
|
|
</GroupBox.Header>
|
|
<pi:TextBoxLog Token="selfCheck" Style="{StaticResource TextBoxExtend.Multi}" Margin="-1" hc:InfoElement.Placeholder="没有日志信息" Foreground="CornflowerBlue"></pi:TextBoxLog>
|
|
</GroupBox>
|
|
<!--</Grid>-->
|
|
</Border>
|
|
|
|
</Grid>
|
|
</Border>
|
|
</pi:UserControlBase>
|