123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- <UserControl x:Class="Venus_MainPages.Views.VceView"
- 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:Venus_MainPages.Views"
- xmlns:unity="clr-namespace:Venus_MainPages.Unity"
- xmlns:prism="http://prismlibrary.com/"
- prism:ViewModelLocator.AutoWireViewModel="True"
- xmlns:converters="clr-namespace:Venus_Themes.Converters;assembly=Venus_Themes"
- xmlns:ctrls="clr-namespace:Venus_Themes.UserControls;assembly=Venus_Themes"
- xmlns:userControls="clr-namespace:Venus_Themes.UserControls;assembly=Venus_Themes"
- xmlns:customControls="clr-namespace:Venus_Themes.CustomControls;assembly=Venus_Themes"
- xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
- mc:Ignorable="d"
- d:DesignHeight="1080" d:DesignWidth="1920">
- <Canvas>
- <Viewbox Height="130" Canvas.Left="100" Canvas.Top="80">
- <userControls:VceControl Width="150" Height="180" PositionZ="{Binding PositionZ,UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}" VceDoorIsOpen="{Binding VceDoorIsOpen}" CurrentSlot="{Binding CurrentSlot}" UnitData2="{Binding VCE1ModuleInfo}" ShowTitle1="True" />
- </Viewbox>
- <Grid Canvas.Top="20" Canvas.Right="40" Width="550">
- <Grid.RowDefinitions>
- <RowDefinition Height="30"/>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_FirstTitle}" Padding="5,1">
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
- <Path Data="M0,0 L5,0 5,5 z" Fill="White" HorizontalAlignment="Left" Grid.Row="1" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Width="5" Height="5">
- <Path.RenderTransform>
- <TransformGroup>
- <ScaleTransform/>
- <SkewTransform/>
- <RotateTransform Angle="45"/>
- <TranslateTransform/>
- </TransformGroup>
- </Path.RenderTransform>
- </Path>
- <TextBlock Margin="5,0,0,0" Text="SeTM Robot Operation" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_White}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
- </StackPanel>
- </Border>
- <Grid unity:GridOptions.ShowBorder="True" unity:GridOptions.LineBrush="Black" Grid.Row="1" Background="{DynamicResource Table_BG_Content}">
- <!--行数列数设置-->
- <Grid.RowDefinitions>
- <RowDefinition Height="25"/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <TextBlock Text="Module" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14" />
- <TextBlock Text="Slot" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14"/>
- <TextBlock Text="Operation" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14"/>
- <!--第1行-->
- <ComboBox Grid.Row="1" Margin="5" SelectedItem="{Binding PickSelectedModule}" ItemsSource="{Binding TMModules}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="SelectionChanged">
- <i:InvokeCommandAction Command="{Binding ModuleChangeCommand}" CommandParameter="Pick"/>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </ComboBox>
- <ComboBox Grid.Row="1" Grid.Column="1" Margin="5" ItemsSource="{Binding PickSoltItemsSource}" SelectedIndex="{Binding PickSoltSelectedIndex}"/>
- <Button Grid.Row="1" Grid.Column="2" Margin="5" Content="GoToSlot" Height="25" Command="{Binding GoToSlotCommand}"/>
- </Grid>
- </Grid>
- <StackPanel Canvas.Top="360" Canvas.Right="40" Width="550">
- <Grid >
- <Grid.RowDefinitions>
- <RowDefinition Height="30"/>
- <RowDefinition />
- <RowDefinition />
- </Grid.RowDefinitions>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_FirstTitle}" Padding="5,1">
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
- <Path Data="M0,0 L5,0 5,5 z" Fill="White" HorizontalAlignment="Left" Grid.Row="1" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Width="5" Height="5">
- <Path.RenderTransform>
- <TransformGroup>
- <ScaleTransform/>
- <SkewTransform/>
- <RotateTransform Angle="45"/>
- <TranslateTransform/>
- </TransformGroup>
- </Path.RenderTransform>
- </Path>
- <TextBlock Margin="5,0,0,0" Text="VCE Control" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_White}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
- </StackPanel>
- </Border>
- <!--<Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" BorderThickness="1,0,1,1" >
- <Grid >
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <StackPanel Orientation="Horizontal" Grid.Row="2" HorizontalAlignment="Center">
- <Button Content="OpenDoor" Margin="0,0,10,10" Width="80" Height="25" Command="{Binding OpenDoorCommand}"/>
- <Button Content="CloseDoor" Margin="0,0,10,10" Width="80" Height="25" Command="{Binding CloseDoorCommand}"/>
- --><!--<Button Content="VCEReadMap" Margin="0,0,10,10" Width="80" Height="25" Command="{Binding VCEReadMap}"/>--><!--
- <Button Content="Go to LP" Margin="0,0,10,10" Width="80" Height="25" Command="{Binding GoToLoadCommand}"/>
- </StackPanel>
- </Grid>
- </Border>-->
- <Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" BorderThickness="1,0,1,0" >
- <Grid >
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Border BorderBrush="{DynamicResource Table_BD}" Grid.Row="1" Background="{DynamicResource Table_BG_Content}" BorderThickness="0,0,0,1" >
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
- <Button Content="VCEHome" Margin="0,10,10,10" Width="80" Height="25" Command="{Binding VCEHome}"/>
- <Button Content="VCEReadMap" Margin="0,10,10,10" Width="90" Height="25" Command="{Binding VCEReadMap}"/>
- </StackPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" Grid.Row="2" Background="{DynamicResource Table_BG_Content}" BorderThickness="0,0,0,1" >
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
- <Button Content="VCELoadPrepare" Margin="0,10,10,10" Width="110" Height="25" Command="{Binding VCELoadPrepare}"/>
- <Button Content="VCELoad" Margin="0,10,10,10" Width="80" Height="25" Command="{Binding VCELoad}"/>
- <Button Content="VCEUnLoad" Margin="0,10,0,10" Width="90" Height="25" Command="{Binding VCEUnLoad}"/>
- </StackPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" Grid.Row="3" Background="{DynamicResource Table_BG_Content}" BorderThickness="0,0,0,1" >
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
- <Button Content="OpenDoor" Margin="0,10,10,10" Width="110" Height="25" Command="{Binding OpenDoorCommand}"/>
- <Button Content="CloseDoor" Margin="0,10,10,10" Width="80" Height="25" Command="{Binding CloseDoorCommand}"/>
- <Button Content="GotoLoad" Margin="0,10,0,10" Width="90" Height="25" Command="{Binding GoToLoadCommand}"/>
- </StackPanel>
- </Border>
- </Grid>
- </Border>
- </Grid>
- </StackPanel>
- </Canvas>
- </UserControl>
|