WaferRobotPositionEditView.xaml 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <UserControl x:Class="FurnaceUI.Views.Maintenances.WaferRobotPositionEditView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:FurnaceUI.Views.Parameter"
  7. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  8. xmlns:cal="http://www.caliburn.org"
  9. mc:Ignorable="d"
  10. Height="350" Width="500">
  11. <Grid>
  12. <Border>
  13. <Border Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" BorderBrush="Gray" BorderThickness="1,1,1,1" Margin="10,10,10,5" >
  14. <Grid VerticalAlignment="Top" >
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="80"/>
  17. <RowDefinition Height="80"/>
  18. <RowDefinition Height="80"/>
  19. <RowDefinition Height="*"/>
  20. </Grid.RowDefinitions>
  21. <Grid.ColumnDefinitions>
  22. <ColumnDefinition Width="158"/>
  23. <ColumnDefinition/>
  24. </Grid.ColumnDefinitions>
  25. <Label Grid.Row="0" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="TrsSt"/>
  26. <Border Grid.Row="0" Grid.ColumnSpan="2" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
  27. <TextBox IsEnabled="False" Width="316" Text="{Binding PName,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
  28. </Border>
  29. <Label Grid.Row="1" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="StParam"/>
  30. <Border Grid.Row="1" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
  31. <ComboBox Width="316" ItemsSource="{Binding ValueList[0].Parameters,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" SelectedIndex="{Binding SelectPositionIndex}" />
  32. </Border>
  33. <Label Grid.Row="2" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="SetValue"/>
  34. <Border Grid.Row="2" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
  35. <TextBox Tag="Number" Width="316" Text="{Binding ValueList[1].CurrentValue,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
  36. </Border>
  37. <Button Content="Save" Grid.Row="9" Width="120" Margin="79,23,279,-18" Height="45" Grid.ColumnSpan="2" Grid.RowSpan="2">
  38. <i:Interaction.Triggers>
  39. <i:EventTrigger EventName="Click">
  40. <cal:ActionMessage MethodName="SaveBtnClick">
  41. </cal:ActionMessage>
  42. </i:EventTrigger>
  43. </i:Interaction.Triggers>
  44. </Button>
  45. <Button Content="Cancel" Grid.Row="9" Grid.Column="1" Width="120" Margin="131,23,69,-18" Height="45" Grid.RowSpan="2">
  46. <i:Interaction.Triggers>
  47. <i:EventTrigger EventName="Click">
  48. <cal:ActionMessage MethodName="CancelBtnClick">
  49. </cal:ActionMessage>
  50. </i:EventTrigger>
  51. </i:Interaction.Triggers>
  52. </Button>
  53. </Grid>
  54. </Border>
  55. </Border>
  56. </Grid>
  57. </UserControl>