ATMDualArmRobot.xaml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <UserControl x:Class="VirgoUI.Client.Models.Controls.ATMDualArmRobot"
  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:Common="clr-namespace:VirgoUI.Controls.Common"
  7. xmlns:local="clr-namespace:VirgoUI.Controls.Parts"
  8. xmlns:controls="clr-namespace:VirgoUI.Controls.Parts"
  9. mc:Ignorable="d"
  10. d:DesignHeight="38" d:DesignWidth="416">
  11. <Viewbox Stretch="Uniform" HorizontalAlignment="Left">
  12. <Canvas Width="416" Height="68" x:Name="root">
  13. <Canvas.ContextMenu>
  14. <ContextMenu ItemsSource="{Binding Menu}" />
  15. </Canvas.ContextMenu>
  16. <Common:AxisCanvas x:Name="canvasRoot" ShowAxisPoint="True" Height="68" AxisLeft="34" Width="68" >
  17. <Image Width="68" Height="68" Source="/VirgoUI;component/Themes/images/parts1/image02.png" Opacity="0.4" />
  18. <Common:AxisCanvas x:Name="canvas21" Height="25" Width="70" Canvas.Top="5" Canvas.Left="19" >
  19. <Image Width="70" Height="25" Source="/VirgoUI;component/Themes/images/parts1/arm1.png" />
  20. <Common:AxisCanvas x:Name="canvas22" Height="21" Width="60" Canvas.Top="3" Canvas.Left="62">
  21. <Image Width="60" Height="21" Source="/VirgoUI;component/Themes/images/parts1/arm2.png" />
  22. <Common:AxisCanvas x:Name="canvas23" Height="49" Width="95" Canvas.Left="52" Canvas.Top="-15">
  23. <Image Width="95" Height="49" Source="/VirgoUI;component/Themes/images/parts1/hand1.png" />
  24. <!--<local:Wafer WaferStyle="Eclipse" WaferItem="{Binding Wafer1}" Station ="{Binding Station}" Slot="0" Height="69" Width="69" Canvas.Left="62" Canvas.Top="-16" />-->
  25. <controls:WaferCtrl WaferData="{Binding Wafer1}" Canvas.Left="52" Canvas.Top="-8" RenderTransformOrigin="0.5,0.5"/>
  26. </Common:AxisCanvas>
  27. </Common:AxisCanvas>
  28. </Common:AxisCanvas>
  29. <Common:AxisCanvas x:Name="canvas1" Height="25" Width="70" Canvas.Top="30" Canvas.Left="20">
  30. <Image Width="70" Height="25" Source="/VirgoUI;component/Themes/images/parts1/arm1.png" />
  31. <Common:AxisCanvas x:Name="canvas2" Height="21" Width="60" Canvas.Top="3" Canvas.Left="62">
  32. <Image Width="60" Height="21" Source="/VirgoUI;component/Themes/images/parts1/arm2.png" />
  33. <Common:AxisCanvas x:Name="canvas3" Height="49" Width="95" Canvas.Left="52" Canvas.Top="-15">
  34. <Image Width=" 95" Height="49" Source="/VirgoUI;component/Themes/images/parts1/hand1.png" />
  35. <!--<local:Wafer WaferStyle="Eclipse" WaferItem="{Binding Wafer2}" Station ="{Binding Station}" Slot="0" Height="69" Width="69" Canvas.Left="62" Canvas.Top="-16" />-->
  36. <controls:WaferCtrl WaferData="{Binding Wafer2}" Canvas.Left="52" Canvas.Top="-8" RenderTransformOrigin="0.5,0.5"/>
  37. </Common:AxisCanvas>
  38. </Common:AxisCanvas>
  39. </Common:AxisCanvas>
  40. </Common:AxisCanvas>
  41. <Canvas.RenderTransform>
  42. <TransformGroup>
  43. <RotateTransform x:Name="rotate" Angle="{Binding RotateAngle}"></RotateTransform>
  44. <TranslateTransform x:Name="translate" />
  45. </TransformGroup>
  46. </Canvas.RenderTransform>
  47. </Canvas>
  48. </Viewbox>
  49. </UserControl>