SRD.xaml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <UserControl x:Class="CyberX8_Themes.UserControls.SRD"
  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:CyberX8_Themes.UserControls"
  7. xmlns:ctrl="http://OpenSEMI.Ctrlib.com/presentation"
  8. xmlns:converters="clr-namespace:CyberX8_Themes.Converters"
  9. mc:Ignorable="d"
  10. d:DesignHeight="200" d:DesignWidth="200" Name="srd">
  11. <UserControl.Resources>
  12. </UserControl.Resources>
  13. <Viewbox Stretch="Fill">
  14. <Viewbox.RenderTransform>
  15. <TransformGroup>
  16. <RotateTransform Angle="{Binding ElementName=srd,Path=RotateTransformValue}"/>
  17. </TransformGroup>
  18. </Viewbox.RenderTransform>
  19. <Border>
  20. <Canvas Width="200" Height="200" Grid.Row="1">
  21. <StackPanel Canvas.Top="-50" Visibility="{Binding ElementName=srd,Path=SRDVisibility}">
  22. <TextBlock FontSize="30" Text="{Binding ElementName=srd,Path=CassetteName}" TextAlignment="Center" Margin="0,0,0,0" Width="200"/>
  23. </StackPanel>
  24. <Polygon Stroke="Black" StrokeThickness="1" Points="0,100 0,50 50,0 150,0 200,50 200,100 " Visibility="{Binding ElementName=srd,Path=SRDVisibility}">
  25. <Polygon.Fill>
  26. <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
  27. <GradientStop Color="Silver" Offset="0.0" />
  28. <GradientStop Color="White" Offset="0.5" />
  29. <GradientStop Color="Silver" Offset="1" />
  30. </LinearGradientBrush>
  31. </Polygon.Fill>
  32. </Polygon>
  33. <Polygon Stroke="Black" StrokeThickness="1" Points="0,100 0,150 50,200 150,200 200,150 200,100 " Visibility="{Binding ElementName=srd,Path=SRDVisibility}">
  34. <Polygon.Fill>
  35. <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
  36. <GradientStop Color="Silver" Offset="0.0" />
  37. <GradientStop Color="White" Offset="0.5" />
  38. <GradientStop Color="Silver" Offset="1" />
  39. </LinearGradientBrush>
  40. </Polygon.Fill>
  41. </Polygon>
  42. <!--<Viewbox Stretch="Uniform" Width="200" Height="200" Canvas.Top="-20" Canvas.Left="-1" Visibility="{Binding ElementName=srd,Path=SRDVisibility}">
  43. <Canvas UseLayoutRounding="False" Width="93.693" Height="112.5" HorizontalAlignment="Left" VerticalAlignment="Top">
  44. <Canvas Width="72.522" Height="72.521" Canvas.Left="10.473" Canvas.Top="28.781">
  45. <Path Data="F1M10.473,65.041C10.473,85.068,26.708,101.302,46.734,101.302L46.734,101.302C66.761,101.302,82.995,85.068,82.995,65.041L82.995,65.041C82.995,45.015,66.761,28.781,46.734,28.781L46.734,28.781C26.708,28.781,10.473,45.015,10.473,65.041" Stretch="Fill" Width="72.522" Height="72.521" Canvas.Left="0" Canvas.Top="0">
  46. <Path.Fill>
  47. <RadialGradientBrush Center="0.5,0.5" RadiusX="0.5" RadiusY="0.5" GradientOrigin="0.5,0.5">
  48. <RadialGradientBrush.GradientStops>
  49. <GradientStop Color="#FFE5E2DF" Offset="0" />
  50. <GradientStop Color="#FFFFFFFF" Offset="0" />
  51. <GradientStop Color="#FFADAEB0" Offset="0.52" />
  52. <GradientStop Color="sc#1, 0.238698155, 0.250727534, 0.259264916" Offset="0.82" />
  53. <GradientStop Color="#FF454F52" Offset="1" />
  54. </RadialGradientBrush.GradientStops>
  55. </RadialGradientBrush>
  56. </Path.Fill>
  57. </Path>
  58. <Path Data="M46.8477,55.6938C52.0087,55.6938 56.1937,59.8788 56.1937,65.0398 56.1937,70.2008 52.0087,74.3858 46.8477,74.3858 41.6857,74.3858 37.5007,70.2008 37.5007,65.0398 37.5007,59.8788 41.6857,55.6938 46.8477,55.6938z" Stretch="Fill" Stroke="White" StrokeThickness="0.25" Width="18.943" Height="18.942" Canvas.Left="26.903" Canvas.Top="26.788" />
  59. </Canvas>
  60. <Canvas Name="Group_Center" Tag="#00000000,#FF008000,Original,0,None" Width="5.857" Height="5.855" Canvas.Left="43.919" Canvas.Top="62.113">
  61. <Path Data="M46.8477,62.1133C48.4637,62.1133 49.7757,63.4243 49.7757,65.0413 49.7757,66.6583 48.4637,67.9683 46.8477,67.9683 45.2307,67.9683 43.9187,66.6583 43.9187,65.0413 43.9187,63.4243 45.2307,62.1133 46.8477,62.1133z" Stretch="Fill" Fill="LightBlue" Stroke="#FF4C4C4C" StrokeThickness="0.25" Width="6.107" Height="6.105" Canvas.Left="-0.125" Canvas.Top="-0.125" />
  62. </Canvas>
  63. <Canvas Name="Group_Ring" Tag="#00000000,#FF008000,Original,0,None" Width="56.555" Height="56.556" Canvas.Left="18.57" Canvas.Top="36.762">
  64. <Path Data="M46.8477,46.3472C57.1717,46.3472 65.5407,54.7172 65.5407,65.0412 65.5407,75.3652 57.1717,83.7342 46.8477,83.7342 36.5227,83.7342 28.1537,75.3652 28.1537,65.0412 28.1537,54.7172 36.5227,46.3472 46.8477,46.3472z" Stretch="Fill" Stroke="White" StrokeThickness="0.25" Width="37.637" Height="37.637" Canvas.Left="9.459" Canvas.Top="9.46" />
  65. <Path Data="M46.8477,36.8872C62.3957,36.8872 74.9997,49.4912 74.9997,65.0402 74.9997,80.5882 62.3957,93.1932 46.8477,93.1932 31.2987,93.1932 18.6947,80.5882 18.6947,65.0402 18.6947,49.4912 31.2987,36.8872 46.8477,36.8872z" Stretch="Fill" Stroke="White" StrokeThickness="0.25" Width="56.555" Height="56.556" />
  66. </Canvas>
  67. </Canvas>
  68. </Viewbox>-->
  69. <!--<Viewbox Width="126" Height="126" Canvas.Left="36" Canvas.Top="33">
  70. <ctrl:Slot ViewType="Top" WaferStatus="{Binding WaferStatus}" SlotID="{Binding SlotID}" ModuleID="{Binding ModuleID}" SourceName="{Binding SourceName}"
  71. DataContext="{Binding SRD1Wafer,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}"
  72. HorizontalAlignment="Center" VerticalAlignment="Center" Cursor="" >
  73. </ctrl:Slot> </Viewbox>
  74. --><!--upper--><!--
  75. <Viewbox Width="126" Height="126" Canvas.Left="36" Canvas.Top="33">
  76. <ctrl:Slot ViewType="Top" WaferStatus="{Binding WaferStatus}" SlotID="{Binding SlotID}" ModuleID="{Binding ModuleID}" SourceName="{Binding SourceName}"
  77. DataContext="{Binding SRD1Wafer,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}"
  78. HorizontalAlignment="Center" VerticalAlignment="Center" Cursor="" >
  79. </ctrl:Slot>
  80. </Viewbox>-->
  81. </Canvas>
  82. </Border>
  83. </Viewbox>
  84. </UserControl>