Common.xaml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:converters="clr-namespace:Bolt.Toolkit.Wpf.Converters"
  4. >
  5. <converters:MultiParamterConverter x:Key="MultiParamterConverter" />
  6. <converters:WaferDropConverter x:Key="WaferDropConverter" />
  7. <converters:WaferVisibilityConverter x:Key="WaferVisibilityConverter" />
  8. <converters:BoolVisibilityConverter x:Key="BoolVisibilityConverter" />
  9. <LinearGradientBrush x:Key="idleWafer" StartPoint="0,0" EndPoint="1,0.5">
  10. <LinearGradientBrush.GradientStops>
  11. <GradientStop Color="LightBlue" Offset="0"/>
  12. <GradientStop Color="#ff2989d8" Offset="0.5"/>
  13. <GradientStop Color="LightBlue" Offset="1"/>
  14. </LinearGradientBrush.GradientStops>
  15. </LinearGradientBrush>
  16. <LinearGradientBrush x:Key="busyWafer" StartPoint="0,0" EndPoint="1,0.5">
  17. <LinearGradientBrush.GradientStops>
  18. <GradientStop Color="Cyan" Offset="0"/>
  19. <GradientStop Color="#FF9BDEDE" Offset="0.5"/>
  20. <GradientStop Color="Cyan" Offset="1"/>
  21. </LinearGradientBrush.GradientStops>
  22. </LinearGradientBrush>
  23. <LinearGradientBrush x:Key="waitWafer" StartPoint="0,0" EndPoint="1,0.5">
  24. <LinearGradientBrush.GradientStops>
  25. <GradientStop Color="Blue" Offset="0"/>
  26. <GradientStop Color="#FFA9A9F5" Offset="0.5"/>
  27. <GradientStop Color="Blue" Offset="1"/>
  28. </LinearGradientBrush.GradientStops>
  29. </LinearGradientBrush>
  30. <LinearGradientBrush x:Key="completeWafer" StartPoint="0,0" EndPoint="1,0.5">
  31. <LinearGradientBrush.GradientStops>
  32. <GradientStop Color="Green" Offset="0"/>
  33. <GradientStop Color="#FF2CCD2C" Offset="0.5"/>
  34. <GradientStop Color="Green" Offset="1"/>
  35. </LinearGradientBrush.GradientStops>
  36. </LinearGradientBrush>
  37. <LinearGradientBrush x:Key="errorWafer" StartPoint="0,0" EndPoint="1,0.5">
  38. <LinearGradientBrush.GradientStops>
  39. <GradientStop Color="Red" Offset="0"/>
  40. <GradientStop Color="#FFF9B7B7" Offset="0.5"/>
  41. <GradientStop Color="Red" Offset="1"/>
  42. </LinearGradientBrush.GradientStops>
  43. </LinearGradientBrush>
  44. <converters:WaferColorConverter x:Key="WaferColorConverter"
  45. IdleWafer="{StaticResource idleWafer}"
  46. BusyWafer="{StaticResource busyWafer}"
  47. WaitWafer="{StaticResource waitWafer}"
  48. CompleteWafer="{StaticResource completeWafer}"
  49. ErrorWafer="{StaticResource errorWafer}"
  50. />
  51. </ResourceDictionary>