[SimulatorCore]

优化HiWin HPA48寻边器模拟界面,移除多余的内容。
This commit is contained in:
DESKTOP-1N1NK8A\auvkk 2023-05-18 11:03:46 +08:00
parent 71df1d3641
commit 8f5f48ba2c
1 changed files with 4 additions and 29 deletions

View File

@ -21,38 +21,13 @@
<Grid> <Grid>
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="100"></RowDefinition> <RowDefinition Height="100"/>
<RowDefinition Height="350"></RowDefinition> <RowDefinition Height="Auto"/>
<RowDefinition Height="50"></RowDefinition> <RowDefinition Height="50"/>
<RowDefinition Height="400"></RowDefinition> <RowDefinition Height="Auto"/>
</Grid.RowDefinitions> </Grid.RowDefinitions>
<commons:SerialPortTitleView Grid.Row="0"/> <commons:SerialPortTitleView Grid.Row="0"/>
<Canvas Grid.Row="1" Height="350" Width="900">
<Label Content="{Binding WaferMap}" Width="300" Height="30" HorizontalContentAlignment="Center" Background="LightBlue" BorderThickness="2" Canvas.Left="32" Canvas.Top="50"></Label>
<Label Content="InfoPad Status" Width="161" Height="30" HorizontalContentAlignment="Center" Background="Transparent" BorderThickness="2" Canvas.Left="32" Canvas.Top="197"></Label>
<Label Content="{Binding InfoPadStatus}" Width="82" Height="41" HorizontalContentAlignment="Center" Background="LightBlue" BorderThickness="2" Canvas.Left="198" Canvas.Top="194"></Label>
<TextBox Text="{Binding InfoPadSet}" IsReadOnly ="False" Width="69" Height="38" Margin="0" RenderTransformOrigin="0.471,-0.188" Canvas.Left="285" Canvas.Top="198"></TextBox>
<Button Content="SetInfoPad" Width="138" Height="42" Command="{Binding SetInfoPadCommand}"
Canvas.Left="400" Margin="0" Canvas.Top="194" ></Button>
<Button Content="Place" Width="100" Height="35" Command="{Binding PlaceCommand}" Canvas.Left="10" Margin="0" Canvas.Top="136"></Button>
<Button Content="Remove" Width="100" Height="35" Command="{Binding RemoveCommand}" Canvas.Left="141" Margin="0" Canvas.Top="136"></Button>
<ItemsControl Width="300" Height="300" Background="LightGray" Canvas.Left="576" ItemsSource="{Binding WaferList}" ItemTemplate="{DynamicResource DataTemplate1}" >
</ItemsControl>
<Button Content="SetAll" Width="100" Height="35" Command="{Binding SetAllCommand}" Canvas.Left="513" Margin="0" Canvas.Top="305"></Button>
<Button Content="Random" Width="100" Height="35" Command="{Binding RandomCommand}" Canvas.Left="646" Margin="0" Canvas.Top="305"></Button>
<Button Content="Clear" Width="100" Height="35" Command="{Binding ClearCommand}" Canvas.Left="766" Margin="0" Canvas.Top="305"></Button>
</Canvas>
<StackPanel Grid.Row="2" Orientation="Horizontal" Width="900"> <StackPanel Grid.Row="2" Orientation="Horizontal" Width="900">
<Button Content="Clear Log" Width="100" Height="35" Command="{Binding ClearLogCommand}"></Button> <Button Content="Clear Log" Width="100" Height="35" Command="{Binding ClearLogCommand}"></Button>