Generic.xaml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:converter="clr-namespace:EfemDualUI.Converter">
  4. <converter:BoolVisibilityConverter x:Key="BoolVisibilityConverter" />
  5. <converter:HideNullConverter x:Key="HideNullConverter" />
  6. <converter:WaferDropConverter x:Key="WaferDropConverter" />
  7. <converter:VisibilityConverter x:Key="VisibilityConverter" />
  8. <converter:WaferConverter x:Key="WaferConverter" />
  9. <converter:WaferVisibilityConverter x:Key="WaferVisibilityConverter" />
  10. <converter:WaferStatusConverter x:Key="WaferStatusConverter" />
  11. <Style TargetType="Label" x:Key="MiddleCenterLabel" BasedOn="{StaticResource MiddleLabel}">
  12. <Setter Property="HorizontalContentAlignment" Value="Center" />
  13. <Setter Property="VerticalContentAlignment" Value="Center" />
  14. </Style>
  15. <Style TargetType="Control">
  16. <Setter Property="FontSize" Value="11" />
  17. </Style>
  18. <SolidColorBrush x:Key="CellTitle" Color="LightBlue" />
  19. <SolidColorBrush x:Key="idleWafer1" Color="LightBlue" />
  20. <SolidColorBrush x:Key="busyWafer1" Color="Cyan" />
  21. <SolidColorBrush x:Key="waitWafer1" Color="Blue" />
  22. <SolidColorBrush x:Key="completeWafer1" Color="Green" />
  23. <SolidColorBrush x:Key="errorWafer1" Color="Red" />
  24. <LinearGradientBrush x:Key="idleWafer" StartPoint="0,0" EndPoint="1,0.5">
  25. <LinearGradientBrush.GradientStops>
  26. <GradientStop Color="LightBlue" Offset="0"/>
  27. <GradientStop Color="#ff2989d8" Offset="0.5"/>
  28. <GradientStop Color="LightBlue" Offset="1"/>
  29. </LinearGradientBrush.GradientStops>
  30. </LinearGradientBrush>
  31. <LinearGradientBrush x:Key="busyWafer" StartPoint="0,0" EndPoint="1,0.5">
  32. <LinearGradientBrush.GradientStops>
  33. <GradientStop Color="Cyan" Offset="0"/>
  34. <GradientStop Color="#FF9BDEDE" Offset="0.5"/>
  35. <GradientStop Color="Cyan" Offset="1"/>
  36. </LinearGradientBrush.GradientStops>
  37. </LinearGradientBrush>
  38. <LinearGradientBrush x:Key="waitWafer" StartPoint="0,0" EndPoint="1,0.5">
  39. <LinearGradientBrush.GradientStops>
  40. <GradientStop Color="Blue" Offset="0"/>
  41. <GradientStop Color="#FFA9A9F5" Offset="0.5"/>
  42. <GradientStop Color="Blue" Offset="1"/>
  43. </LinearGradientBrush.GradientStops>
  44. </LinearGradientBrush>
  45. <LinearGradientBrush x:Key="completeWafer" StartPoint="0,0" EndPoint="1,0.5">
  46. <LinearGradientBrush.GradientStops>
  47. <GradientStop Color="Green" Offset="0"/>
  48. <GradientStop Color="#FF2CCD2C" Offset="0.5"/>
  49. <GradientStop Color="Green" Offset="1"/>
  50. </LinearGradientBrush.GradientStops>
  51. </LinearGradientBrush>
  52. <LinearGradientBrush x:Key="errorWafer" StartPoint="0,0" EndPoint="1,0.5">
  53. <LinearGradientBrush.GradientStops>
  54. <GradientStop Color="Red" Offset="0"/>
  55. <GradientStop Color="#FFF9B7B7" Offset="0.5"/>
  56. <GradientStop Color="Red" Offset="1"/>
  57. </LinearGradientBrush.GradientStops>
  58. </LinearGradientBrush>
  59. <converter:WaferColorConverter x:Key="WaferColorConverter"
  60. IdleWafer="{StaticResource idleWafer}"
  61. BusyWafer="{StaticResource busyWafer}"
  62. WaitWafer="{StaticResource waitWafer}"
  63. CompleteWafer="{StaticResource completeWafer}"
  64. ErrorWafer="{StaticResource errorWafer}"
  65. />
  66. <SolidColorBrush x:Key="blueSlot" Color="#FF0C71A7" />
  67. <LinearGradientBrush x:Key="greenSlot" StartPoint="-0.00694444,0.5" EndPoint="1.00694,0.5">
  68. <LinearGradientBrush.GradientStops>
  69. <GradientStop Color="#FF19FD1A" Offset="0"/>
  70. <GradientStop Color="#FF97FFAA" Offset="0.536178"/>
  71. <GradientStop Color="#FF19FD1A" Offset="1"/>
  72. </LinearGradientBrush.GradientStops>
  73. </LinearGradientBrush>
  74. <LinearGradientBrush x:Key="lightBlueSlot" StartPoint="-0.00694444,0.5" EndPoint="1.00694,0.5">
  75. <LinearGradientBrush.GradientStops>
  76. <GradientStop Color="#FF00ECFF" Offset="0"/>
  77. <GradientStop Color="#FF068F8F" Offset="0.549053"/>
  78. <GradientStop Color="#FF00ECFF" Offset="1"/>
  79. </LinearGradientBrush.GradientStops>
  80. </LinearGradientBrush>
  81. <Style x:Key="BlockGroup" TargetType="{x:Type GroupBox}">
  82. <Setter Property="Background" Value="#FF4C5FDC" />
  83. <Setter Property="BorderBrush" Value="Black" />
  84. <Setter Property="Foreground" Value="White" />
  85. </Style>
  86. <LinearGradientBrush x:Key="contentBg" StartPoint="0.5,0" EndPoint="0.5,1">
  87. <GradientStop Color="#d6f1ff" Offset="0" />
  88. <GradientStop Color="#7fc7ed" Offset="1" />
  89. </LinearGradientBrush>
  90. <Style TargetType="Label" x:Key="label">
  91. <Setter Property="Background" Value="{StaticResource buttonNormal}"/>
  92. <Setter Property="Foreground" Value="White"/>
  93. <Setter Property="VerticalAlignment" Value="Center"/>
  94. <Setter Property="HorizontalAlignment" Value="Center"/>
  95. <Setter Property="HorizontalContentAlignment" Value="Center" />
  96. <Setter Property="VerticalContentAlignment" Value="Center" />
  97. <Setter Property="Height" Value="40" />
  98. </Style>
  99. <Style TargetType="Label" x:Key="labelContent">
  100. <Setter Property="Background" Value="{StaticResource contentBg}" />
  101. <Setter Property="VerticalAlignment" Value="Center"/>
  102. <Setter Property="HorizontalContentAlignment" Value="Center" />
  103. <Setter Property="VerticalContentAlignment" Value="Center" />
  104. <Setter Property="HorizontalAlignment" Value="Center"/>
  105. <Setter Property="Height" Value="40" />
  106. <Setter Property="Width" Value="280" />
  107. </Style>
  108. <Style x:Key="ListViewItemStyle" TargetType="{x:Type ListViewItem}">
  109. <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
  110. </Style>
  111. </ResourceDictionary>