TransporterView.xaml 5.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <UserControl xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core"
  2. xmlns:UserControls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
  3. x:Class="CyberX8_MainPages.Views.TransporterView"
  4. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8. xmlns:local="clr-namespace:CyberX8_MainPages.Views"
  9. xmlns:prism="http://prismlibrary.com/"
  10. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  11. xmlns:converters="clr-namespace:CyberX8_Themes.Converters;assembly=CyberX8_Themes"
  12. prism:ViewModelLocator.AutoWireViewModel="True"
  13. mc:Ignorable="d"
  14. d:DesignHeight="800" d:DesignWidth="1900">
  15. <UserControl.Resources>
  16. <converters:BoolToColor x:Key="boolToColor"></converters:BoolToColor>
  17. <converters:BoolToBool x:Key="boolTobool"/>
  18. </UserControl.Resources>
  19. <Grid>
  20. <Grid.RowDefinitions>
  21. <RowDefinition Height="50"></RowDefinition>
  22. <RowDefinition/>
  23. <RowDefinition Height="300"></RowDefinition>
  24. <RowDefinition Height="100"></RowDefinition>
  25. </Grid.RowDefinitions>
  26. <Grid.ColumnDefinitions>
  27. <ColumnDefinition Width="50"/>
  28. <ColumnDefinition/>
  29. <ColumnDefinition/>
  30. <ColumnDefinition Width="50"/>
  31. </Grid.ColumnDefinitions>
  32. <UserControls:TransporterDebugControl Grid.Row="1" Grid.Column="1" ModuleName="Transporter2" ModuleTitle="Loader Transporter"
  33. Lock1On="{Binding LoaderTransporterData.Lock}" Lock2On="{Binding LoaderTransporterData.Lock}" Unlock1On="{Binding LoaderTransporterData.Lock,Converter={StaticResource boolTobool}}"
  34. Unlock2On="{Binding LoaderTransporterData.Lock,Converter={StaticResource boolTobool}}" Retract1On="{Binding LoaderTransporterData.ImmobilizeRetracted1}" Retract2On="{Binding LoaderTransporterData.ImmobilizeRetracted2}"
  35. Extend1On="{Binding LoaderTransporterData.ImmobilizeExtended1}" Extend2On="{Binding LoaderTransporterData.ImmobilizeExtended2}"
  36. ReadyToLock1On="{Binding LoaderTransporterData.ReadyToLock1}" ReadyToLock2On="{Binding LoaderTransporterData.ReadyToLock2}" WHPresent1="{Binding LoaderTransporterData.WSHoldPresent}"
  37. WHPresent2="{Binding LoaderTransporterData.WSHoldPresent}" GantryMotorOn="{Binding LoaderGantryMotorOn}" GantryHomed="{Binding LoaderGantryHomed}"
  38. GantryMoving="{Binding LoaderGantryMoving}" ElevatorMotorOn="{Binding LoaderElevatorMotorOn}" ElevatorHomed="{Binding LoaderElevatorHomed}"
  39. ElevatorMoving="{Binding LoaderElevatorMoving}" Barcode="{Binding LoaderBarcode}" PositionList="{Binding LoaderPositionList}"
  40. FromSelectedItem="{Binding LoaderFromSelectedItem,Mode=TwoWay}" ToSelectedItem="{Binding LoaderToSelectedItem,Mode=TwoWay}"
  41. IsHomed="{Binding LoaderTransporterIsHomed}"
  42. BarcodeReaderDeviceName="{Binding LoaderBarcodeReaderDeviceName}"
  43. IsElevatorInUpPlace ="{Binding LoaderElevatorIsInUpPlace}">
  44. </UserControls:TransporterDebugControl>
  45. <UserControls:TransporterDebugControl Grid.Row="1" Grid.Column="2" ModuleName="Transporter1" ModuleTitle="Process Transporter"
  46. Lock1On="{Binding ProcessTransporterData.Lock}" Lock2On="{Binding ProcessTransporterData.Lock}" Unlock1On="{Binding ProcessTransporterData.Lock,Converter={StaticResource boolTobool}}"
  47. Unlock2On="{Binding ProcessTransporterData.Lock,Converter={StaticResource boolTobool}}" Retract1On="{Binding ProcessTransporterData.ImmobilizeRetracted1}" Retract2On="{Binding ProcessTransporterData.ImmobilizeRetracted2}"
  48. Extend1On="{Binding ProcessTransporterData.ImmobilizeExtended1}" Extend2On="{Binding ProcessTransporterData.ImmobilizeExtended2}"
  49. ReadyToLock1On="{Binding ProcessTransporterData.ReadyToLock1}" ReadyToLock2On="{Binding ProcessTransporterData.ReadyToLock2}" WHPresent1="{Binding ProcessTransporterData.WSHoldPresent}"
  50. WHPresent2="{Binding ProcessTransporterData.WSHoldPresent}" GantryMotorOn="{Binding ProcessGantryMotorOn}" GantryHomed="{Binding ProcessGantryHomed}"
  51. GantryMoving="{Binding ProcessGantryMoving}" ElevatorMotorOn="{Binding ProcessElevatorMotorOn}" ElevatorHomed="{Binding ProcessElevatorHomed}"
  52. ElevatorMoving="{Binding ProcessElevatorMoving}" Barcode="{Binding ProcessBarcode}" PositionList="{Binding ProcessPositionList}"
  53. FromSelectedItem="{Binding ProcessFromSelectedItem,Mode=TwoWay}" ToSelectedItem="{Binding ProcessToSelectedItem,Mode=TwoWay}"
  54. IsHomed="{Binding ProcessTransporterIsHomed}"
  55. BarcodeReaderDeviceName="{Binding ProcessBarcodeReaderDeviceName}"
  56. IsElevatorInUpPlace ="{Binding ProcessElevatorIsInUpPlace}">
  57. </UserControls:TransporterDebugControl>
  58. <Canvas Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2">
  59. <local:ProcessChamberView Tag=""></local:ProcessChamberView>
  60. </Canvas>
  61. </Grid>
  62. </UserControl>