SingleArmRobot.xaml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <UserControl x:Class="VirgoUI.Client.Controls.Parts.SingleArmRobot"
  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:common1="clr-namespace:VirgoUI.Controls.Common"
  7. xmlns:parts="clr-namespace:VirgoUI.Controls.Parts"
  8. mc:Ignorable="d"
  9. d:DesignHeight="450" d:DesignWidth="800">
  10. <UserControl.Resources>
  11. <ResourceDictionary>
  12. <ResourceDictionary.MergedDictionaries>
  13. <ResourceDictionary Source="/VirgoUI;component/Themes/Generic.xaml" />
  14. </ResourceDictionary.MergedDictionaries>
  15. </ResourceDictionary>
  16. </UserControl.Resources>
  17. <Viewbox Stretch="Uniform">
  18. <common1:AxisCanvas AxisLeft="20" x:Name="root" Width="416" Height="46">
  19. <common1:AxisCanvas.ContextMenu>
  20. <ContextMenu ItemsSource="{Binding Menu }" />
  21. </common1:AxisCanvas.ContextMenu>
  22. <common1:AxisCanvas AxisLeft="20" x:Name="canvas1" Height="46" Width="103">
  23. <Image Width="103" Height="46" Source="/Controls/Assets/Images/armRoot.png" />
  24. <common1:AxisCanvas x:Name="canvas2" Height="46" Width="92" Canvas.Left="78">
  25. <Image Width="92" Height="39" Canvas.Top="3" Source="/Controls/Assets/Images/arm.png" />
  26. <Image Width="16" Height="16" Canvas.Top="15" Source="/Controls/Assets/Images/armconnect.png" Canvas.Left="5" />
  27. <common1:AxisCanvas AxisLeft="70" x:Name="canvas3" Height="46" Width="185" Canvas.Left="0">
  28. <Canvas>
  29. <Image Width="185" Height="45" Source="/Controls/Assets/Images/hand.png" />
  30. <Image Width="11" Height="11" Source="/Controls/Assets/Images/handconnect.png" Canvas.Left="70" Canvas.Top="16" />
  31. <parts:WaferCtrl Width="66" Height="66" WaferData="{Binding Wafer2}" IsEnabled="False" Canvas.Left="139" Canvas.Top="-10" />
  32. <parts:WaferCtrl Width="66" Height="66" WaferData="{Binding Wafer1}" IsEnabled="False" Canvas.Left="139" Canvas.Top="-10" />
  33. </Canvas>
  34. </common1:AxisCanvas>
  35. </common1:AxisCanvas>
  36. </common1:AxisCanvas>
  37. <common1:AxisCanvas.RenderTransform>
  38. <TransformGroup>
  39. <RotateTransform CenterY="23" Angle="{Binding RotateAngle, ElementName=self}"></RotateTransform>
  40. <!--<TranslateTransform x:Name="translate" X="{Binding TranslateX, ElementName=self}"/>-->
  41. </TransformGroup>
  42. </common1:AxisCanvas.RenderTransform>
  43. </common1:AxisCanvas>
  44. </Viewbox>
  45. </UserControl>