|
|
@ -5,19 +5,19 @@
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:local="clr-namespace:SlnMesnac.WPF.Page"
|
|
|
|
xmlns:local="clr-namespace:SlnMesnac.WPF.Page"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
Title="重量设置" Height="300" Width="700" WindowStartupLocation="CenterScreen" Topmost="True" Background="Transparent">
|
|
|
|
Title="重量设置" Height="300" Width="700" WindowStartupLocation="CenterScreen" Topmost="True" Background="#73B0F5">
|
|
|
|
<Border Margin="5" Background="Transparent" CornerRadius="10">
|
|
|
|
<Border Margin="5" Background="Transparent" CornerRadius="10">
|
|
|
|
<Border.Effect>
|
|
|
|
<Border.Effect>
|
|
|
|
<DropShadowEffect Color="LightGoldenrodYellow" ShadowDepth="0" BlurRadius="5" Opacity="0.3" Direction="0"></DropShadowEffect>
|
|
|
|
<DropShadowEffect Color="LightGoldenrodYellow" ShadowDepth="0" BlurRadius="5" Opacity="0.3" Direction="0"></DropShadowEffect>
|
|
|
|
</Border.Effect>
|
|
|
|
</Border.Effect>
|
|
|
|
<Grid>
|
|
|
|
<Grid>
|
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
|
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
|
|
|
|
<TextBlock Text="最大重量阈值:" FontSize="25" VerticalAlignment="Center" Width="200" Margin="0,0,20,0" Foreground="White" HorizontalAlignment="Left"/>
|
|
|
|
<TextBlock Text="最大重量阈值:" FontSize="25" VerticalAlignment="Center" Width="200" Margin="0,0,20,0" Foreground="Black" HorizontalAlignment="Left"/>
|
|
|
|
<TextBlock x:Name="BagsAmountTxt" Text="1222" Width="80" FontSize="25" VerticalAlignment="Center" Margin="0,0,20,0" Foreground="White"/>
|
|
|
|
<TextBox x:Name="MaxWeightTxt" Width="100" FontSize="25" VerticalAlignment="Center" Margin="0,0,20,0" Foreground="Black" BorderThickness="3" BorderBrush="Black"/>
|
|
|
|
<Button x:Name="AmountChangeButton" Style="{StaticResource BUTTON_AGREE}" Content="数量调整" FontSize="30" Background="CadetBlue" Width="180" Height="60" Margin="0 0 20 0" HorizontalAlignment="Left" />
|
|
|
|
<Button x:Name="MaxWeightChangeButton" Style="{StaticResource BUTTON_AGREE}" Content="数量调整" FontSize="30" Background="Green" Width="180" Height="60" Margin="0 0 20 0" HorizontalAlignment="Left" Click="MaxWeightChangeButton_Click" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Margin="80 150 0 0" VerticalAlignment="Center" >
|
|
|
|
<StackPanel Margin="80 150 0 0" VerticalAlignment="Center" >
|
|
|
|
<TextBlock Text="提示信息: 缓存区重量超过该值,设备将会停止!" FontSize="25" Width="600" Margin="0,0,20,0" Foreground="White" HorizontalAlignment="Left"/>
|
|
|
|
<TextBlock Text="提示信息: 缓存区重量超过该值,设备将会停止!" FontSize="25" Width="600" Margin="0,0,20,0" Foreground="Yellow" HorizontalAlignment="Left"/>
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|