|
|
|
@ -6,55 +6,27 @@
|
|
|
|
|
xmlns:local="clr-namespace:SlnMesnac.WPF"
|
|
|
|
|
mc:Ignorable="d"
|
|
|
|
|
Title="MainWindow" Height="1080" Width="1920"
|
|
|
|
|
WindowState="Maximized" WindowStyle="None" ResizeMode="NoResize" Topmost="False">
|
|
|
|
|
<Window.Background>
|
|
|
|
|
WindowState="Maximized" WindowStyle="None" ResizeMode="NoResize" Topmost="False" Background="#F4F5FA">
|
|
|
|
|
<!--<Window.Background>
|
|
|
|
|
<ImageBrush ImageSource="/Templates/image/background.jpg" />
|
|
|
|
|
</Window.Background>
|
|
|
|
|
</Window.Background>-->
|
|
|
|
|
|
|
|
|
|
<Border Margin="5" Background="Transparent" CornerRadius="10">
|
|
|
|
|
<Border.Effect>
|
|
|
|
|
<DropShadowEffect Color="Gray" ShadowDepth="0" BlurRadius="5" Opacity="0.3" Direction="0"></DropShadowEffect>
|
|
|
|
|
</Border.Effect>
|
|
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="0.5*"/>
|
|
|
|
|
<RowDefinition Height="0.7*"/>
|
|
|
|
|
<RowDefinition Height="7*"/>
|
|
|
|
|
<RowDefinition Height="0.7*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Border Grid.Row="0" BorderBrush="Red" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="2,2">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="2*"/>
|
|
|
|
|
<ColumnDefinition Width="7*"/>
|
|
|
|
|
<ColumnDefinition Width="2*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<StackPanel Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
|
|
|
<TextBlock Text="生产控制系统" FontSize="50" Foreground="White" FontWeight="Bold"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Right">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<TextBlock Grid.Column="0" Text="白班" FontSize="25" Foreground="White" FontWeight="Bold" Margin="0,0,30,0"/>
|
|
|
|
|
<TextBlock Grid.Column="1" Text="|" FontSize="25" Foreground="White" FontWeight="Bold" Margin="0,0,30,0"/>
|
|
|
|
|
<TextBlock Grid.Column="2" Text="SCADA" FontSize="25" Foreground="White" FontWeight="Bold" Margin="0,0,10,0"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<Border Grid.Row="0" BorderBrush="Red" BorderThickness="0" CornerRadius="0" Background="#0050BF">
|
|
|
|
|
<TextBlock Text="轨道巡检控制系统" FontSize="30" Foreground="White" FontWeight="Bold" Margin="50,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="1" BorderBrush="Red" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="2,25,2,2">
|
|
|
|
|
<ContentControl Content="{Binding UserContent}"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="2" BorderBrush="#1254AB" BorderThickness="2" CornerRadius="5" Background="Transparent" Margin="6,2,6,7">
|
|
|
|
|
<Border.Effect>
|
|
|
|
|
<DropShadowEffect Color="#1254AB" Direction="270" BlurRadius="10" ShadowDepth="5" Opacity="0.5"/>
|
|
|
|
|
</Border.Effect>
|
|
|
|
|
<Border Grid.Row="2" BorderBrush="#1254AB" BorderThickness="0" CornerRadius="5" Background="#FFFFFF" Margin="6,2,6,7">
|
|
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="2*"/>
|
|
|
|
@ -68,9 +40,9 @@
|
|
|
|
|
<Button Content="退 出" x:Name="Exit" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Exit}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#FF0033" BorderBrush="#FF0033" Margin="0,0,10,0"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Right" Orientation="Horizontal">
|
|
|
|
|
<!--<StackPanel Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Right" Orientation="Horizontal">
|
|
|
|
|
|
|
|
|
|
<!--多行状态显示-->
|
|
|
|
|
--><!--多行状态显示-->
|
|
|
|
|
<!--<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
@ -155,7 +127,7 @@
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>-->
|
|
|
|
|
|
|
|
|
|
<!--单行状态显示-->
|
|
|
|
|
<!--单行状态显示--><!--
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
@ -257,7 +229,7 @@
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>-->
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|