BaseTransfer.xaml 6.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <UserControl x:Class="SummaryModule.Controls.Status.BaseTransfer"
  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:SummaryModule.Controls.Status"
  7. xmlns:BaseMotion="clr-namespace:SummaryModule.Controls.BaseMotion"
  8. x:Name="This"
  9. mc:Ignorable="d"
  10. d:DesignHeight="450" d:DesignWidth="800">
  11. <Canvas Width="1200" Height="680">
  12. <Grid Canvas.Top="20" Canvas.Left="40">
  13. <Grid.ColumnDefinitions>
  14. <ColumnDefinition Width="auto"/>
  15. <ColumnDefinition Width="32"/>
  16. <ColumnDefinition Width="auto"/>
  17. </Grid.ColumnDefinitions>
  18. <BaseMotion:LoadPort Header="LP3" Command="{Binding ElementName=This, Path=LoadPortCommand}" CommandParameter="LP3"/>
  19. <BaseMotion:LoadPort Grid.Column="2" Header="LP4" Command="{Binding ElementName=This, Path=LoadPortCommand}" CommandParameter="LP4"/>
  20. </Grid>
  21. <Grid Canvas.Top="136" Canvas.Left="18">
  22. <Grid.ColumnDefinitions>
  23. <ColumnDefinition Width="auto"/>
  24. <ColumnDefinition Width="16"/>
  25. <ColumnDefinition Width="auto"/>
  26. </Grid.ColumnDefinitions>
  27. <Grid.RowDefinitions>
  28. <RowDefinition Height="auto"/>
  29. <RowDefinition Height="32"/>
  30. <RowDefinition Height="auto"/>
  31. </Grid.RowDefinitions>
  32. <BaseMotion:Buffer Placement="EX3" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="EX3"/>
  33. <BaseMotion:Buffer Grid.Column="2" Placement="EX4" FoupLoaded="True" IsActive="True" Type="P1" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="EX4"/>
  34. <BaseMotion:Buffer Grid.Row="2" Placement="EX1" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="EX1"/>
  35. <BaseMotion:Buffer Grid.Row="2" Grid.Column="2" Placement="EX2" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="EX2"/>
  36. </Grid>
  37. <Grid Canvas.Top="500" Canvas.Left="40">
  38. <Grid.ColumnDefinitions>
  39. <ColumnDefinition Width="auto"/>
  40. <ColumnDefinition Width="32"/>
  41. <ColumnDefinition Width="auto"/>
  42. </Grid.ColumnDefinitions>
  43. <BaseMotion:LoadPort Header="LP1" FoupLoaded="True" Command="{Binding ElementName=This, Path=LoadPortCommand}" CommandParameter="LP1"/>
  44. <BaseMotion:LoadPort Grid.Column="2" Header="LP2" Command="{Binding ElementName=This, Path=LoadPortCommand}" CommandParameter="LP2"/>
  45. </Grid>
  46. <Image Canvas.Left="248" Height="680" Source="/SummaryModule;component/Resources/Robot.png"/>
  47. <UniformGrid Columns="4" Canvas.Left="460">
  48. <BaseMotion:Buffer Margin="4" Placement="4-A" FoupLoaded="True" IsActive="True" Type="P2" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="4-A"/>
  49. <BaseMotion:Buffer Margin="4" Placement="4-B" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="4-B"/>
  50. <BaseMotion:Buffer Margin="4" Placement="4-C" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="4-C"/>
  51. <BaseMotion:Buffer Margin="4" Placement="4-D" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="4-D"/>
  52. <BaseMotion:Buffer Margin="4" Placement="3-A" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="3-A"/>
  53. <BaseMotion:Buffer Margin="4" Placement="3-B" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="3-B"/>
  54. <BaseMotion:Buffer Margin="4" Placement="3-C" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="3-C"/>
  55. <BaseMotion:Buffer Margin="4" Placement="3-D" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="3-D"/>
  56. <BaseMotion:Buffer Margin="4" Placement="2-A" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="2-A"/>
  57. <BaseMotion:Buffer Margin="4" Placement="2-B" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="2-B"/>
  58. <BaseMotion:Buffer Margin="4" Placement="2-C" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="2-C"/>
  59. <BaseMotion:Buffer Margin="4" Placement="2-D" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="2-D"/>
  60. <BaseMotion:Buffer Margin="4" Placement="1-A" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="1-A"/>
  61. <BaseMotion:Buffer Margin="4" Placement="1-B" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="1-B"/>
  62. <BaseMotion:Buffer Margin="4" Placement="1-C" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="1-C"/>
  63. <BaseMotion:Buffer Margin="4" Placement="1-D" Command="{Binding ElementName=This, Path=BufferCommand}" CommandParameter="1-D"/>
  64. </UniformGrid>
  65. <Grid Canvas.Left="560" Canvas.Top="360">
  66. <Grid.RowDefinitions>
  67. <RowDefinition Height="auto"/>
  68. <RowDefinition Height="28"/>
  69. <RowDefinition Height="auto"/>
  70. </Grid.RowDefinitions>
  71. <BaseMotion:Fims Header="FIMS 1" FoupLoaded="True" Command="{Binding ElementName=This, Path=FimsCommand}" CommandParameter="Fims1"/>
  72. <BaseMotion:Fims Grid.Row="2" Header="FIMS 2" Command="{Binding ElementName=This, Path=FimsCommand}" CommandParameter="Fims2"/>
  73. </Grid>
  74. <Image Canvas.Left="880" Canvas.Top="280" Height="380" Source="/SummaryModule;component/Resources/Robot.png"/>
  75. <Image Canvas.Left="1000" Panel.ZIndex="1" Source="/MaintainModule;component/Resources/BoatShell.png"/>
  76. <Image x:Name="Core" Canvas.Left="1000" Canvas.Top="380" Source="/MaintainModule;component/Resources/BoatCore.png"/>
  77. </Canvas>
  78. </UserControl>