You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AUCMA_SCADA/Aucma.Core.BoxFoam/Views/RealTimeInventoryPageView.xaml

32 lines
2.5 KiB
XML

<UserControl
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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:local="clr-namespace:Aucma.Core.BoxFoam.Views"
x:Class="Aucma.Core.BoxFoam.Views.RealTimeInventoryPageView"
mc:Ignorable="d" Background="#1152AC" FontFamily="Microsoft YaHei"
d:DesignHeight="450" d:DesignWidth="800">
<Border Grid.Row="1" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="5" Background="Transparent" Margin="5,5">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="0.05*"/>
<RowDefinition/>
</Grid.RowDefinitions>
<WrapPanel Grid.Row="0" Margin="10 5 0 0" HorizontalAlignment="Left" VerticalAlignment="Center" >
<Button Content="箱壳库" Style="{StaticResource MaterialDesignRaisedButton}" FontSize="15" Margin="0 0 5 0" x:Name="ShellInventory" Command="{Binding InventoryOnClickCommand}" CommandParameter="{Binding Name,ElementName=ShellInventory}"/>
<Button Content="内胆库" Style="{StaticResource MaterialDesignRaisedButton}" FontSize="15" Margin="0 0 5 0" x:Name="LinerInventory" Command="{Binding InventoryOnClickCommand}" CommandParameter="{Binding Name,ElementName=LinerInventory}"/>
<Button Content="泡前库" Style="{StaticResource MaterialDesignRaisedButton}" FontSize="15" Width="100" Margin="0 0 5 0" x:Name="PqInventory" Command="{Binding InventoryOnClickCommand}" CommandParameter="{Binding Name,ElementName=PqInventory}"/>
<Button Content="泡后库" Style="{StaticResource MaterialDesignRaisedButton}" FontSize="15" Width="100" x:Name="PhInventory" Command="{Binding InventoryOnClickCommand}" CommandParameter="{Binding Name,ElementName=PhInventory}"/>
</WrapPanel>
<StackPanel Grid.Row="1">
<!--<Border BorderBrush="#0288d1" BorderThickness="1" CornerRadius="5" Background="Transparent" Margin="5,2" x:Name="HeightPanel">-->
<ContentControl Content="{Binding InventoryControl}" />
<!--</Border>-->
</StackPanel>
</Grid>
</Border>
</UserControl>