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.

142 lines
11 KiB
Plaintext

<UserControl x:Class="SlnMesnac.WPF.Page.IndexControl"
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:SlnMesnac.WPF.Page"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<UserControl.Resources>
</UserControl.Resources>
<Grid Cursor="">
<Grid.Background>
<ImageBrush ImageSource="/Templates/image/background.jpg" />
</Grid.Background>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2.3*"/>
<ColumnDefinition Width="1.5*"/>
<ColumnDefinition Width="2.2*"/>
<ColumnDefinition Width="1.5*"/>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="1.5*"/>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="2.5*"/>
</Grid.ColumnDefinitions>
<!--<Border Grid.Row="0" Grid.Column="0" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="0" Grid.Column="1" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="0" Grid.Column="2" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="0" Grid.Column="3" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="0" Grid.Column="4" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="0" Grid.Column="5" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="0" Grid.Column="6" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="0" Grid.Column="7" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="8" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="8" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="0" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="1" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="2" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="3" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="4" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="5" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="6" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="7" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="8" BorderBrush="Black" BorderThickness="2"/>-->
<Border Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2">
<StackPanel Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="20,0,0,10">
<TextBlock Text="I68" FontSize="22" Foreground="Black" FontWeight="Bold" HorizontalAlignment="Center"/>
<TextBox FontSize="18" Foreground="Black" Width="150" Height="30"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button Content="读取" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
<Button Content="写入" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
</StackPanel>
</StackPanel>
</Border>
<Border Grid.Row="0" Grid.Column="3" Grid.ColumnSpan="2">
<StackPanel Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="10,0,0,10">
<TextBlock Text="RFR-RFLY" FontSize="22" Foreground="Black" FontWeight="Bold" HorizontalAlignment="Center"/>
<TextBox FontSize="18" Foreground="Black" Width="150" Height="30"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button Content="读取" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
<Button Content="写入" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
</StackPanel>
</StackPanel>
</Border>
<Border Grid.Row="0" Grid.Column="6" >
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,10">
<TextBlock Text="I90" FontSize="22" Foreground="Black" FontWeight="Bold" HorizontalAlignment="Center"/>
<TextBox FontSize="18" Foreground="Black" Width="150" Height="30"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button Content="读取" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
<Button Content="写入" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
</StackPanel>
</StackPanel>
</Border>
<Border Grid.Row="3" Grid.Column="2">
<StackPanel Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="0,0,0,10">
<TextBlock Text="050-B" FontSize="22" Foreground="Black" FontWeight="Bold" HorizontalAlignment="Center"/>
<TextBox FontSize="18" Foreground="Black" Width="150" Height="30"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button Content="读取" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
<Button Content="写入" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
</StackPanel>
</StackPanel>
</Border>
<Border Grid.Row="3" Grid.Column="4">
<StackPanel Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="0,0,0,10">
<TextBlock Text="RFR-050" FontSize="22" Foreground="Black" FontWeight="Bold" HorizontalAlignment="Center"/>
<TextBox FontSize="18" Foreground="Black" Width="150" Height="30"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button Content="读取" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
<Button Content="写入" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
</StackPanel>
</StackPanel>
</Border>
<Border Grid.Row="3" Grid.Column="6">
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,10">
<TextBlock Text="I40" FontSize="22" Foreground="Black" FontWeight="Bold" HorizontalAlignment="Center"/>
<TextBox FontSize="18" Foreground="Black" Width="150" Height="30"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button Content="读取" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
<Button Content="写入" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
</StackPanel>
</StackPanel>
</Border>
<Border Grid.Row="1" Grid.Column="1">
<Button Background="Transparent" BorderBrush="Transparent" Width="90" Height="80" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="45,-5,10,10"
Command="{Binding LoadProductInfoCommand}" CommandParameter="414C7E0B-3DCE-47D2-86A7-31032A110EA4" Cursor="Hand"/>
</Border>
<Border Grid.Row="1" Grid.Column="3">
<Button Background="Transparent" BorderBrush="Transparent" Width="90" Height="80" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="40,15,10,10"
Command="{Binding LoadProductInfoCommand}" CommandParameter="A1589CA1-2DCC-4205-8422-20DBEF5AE173"/>
</Border>
<Border Grid.Row="0" Grid.Column="5">
<Button Background="Transparent" BorderBrush="Transparent" Width="100" Height="85" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="40,80,10,10"
Command="{Binding LoadProductInfoCommand}" CommandParameter="4E59FD85-98B7-420E-8197-B8CF37978350"/>
</Border>
<Border Grid.Row="3" Grid.Column="1">
<Button Background="Transparent" BorderBrush="Transparent" Width="90" Height="80" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="45,50,10,10"
Command="{Binding LoadProductInfoCommand}" CommandParameter="C7FE8F01-8F7A-4916-B20F-CB9F3C7E76DF"/>
</Border>
<Border Grid.Row="3" Grid.Column="3">
<Button Background="Transparent" BorderBrush="Transparent" Width="85" Height="130" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="35,30,10,10"
Command="{Binding LoadProductInfoCommand}" CommandParameter="FF5D79EB-D675-49F0-ABF1-E0B1BFC49D84"/>
</Border>
<Border Grid.Row="3" Grid.Column="5">
<Button Background="Transparent" BorderBrush="Transparent" Width="100" Height="95" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="40,50,10,10"
Command="{Binding LoadProductInfoCommand}" CommandParameter="9CA30061-2E04-496A-BD4B-29F6667B3340"/>
</Border>
</Grid>
</UserControl>