LoaderCycleView.xaml 5.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <UserControl
  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_MainPages.Views"
  7. xmlns:prism="http://prismlibrary.com/"
  8. xmlns:UserControls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
  9. x:Class="CyberX8_MainPages.Views.LoaderCycleView"
  10. xmlns:converters="clr-namespace:CyberX8_Themes.Converters;assembly=CyberX8_Themes"
  11. xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core"
  12. prism:ViewModelLocator.AutoWireViewModel="True"
  13. mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="1900">
  14. <UserControl.Resources>
  15. <converters:BoolToColor x:Key="boolToColor"/>
  16. </UserControl.Resources>
  17. <Grid>
  18. <Grid.ColumnDefinitions>
  19. <ColumnDefinition/>
  20. <ColumnDefinition/>
  21. </Grid.ColumnDefinitions>
  22. <GroupBox Header="SideA">
  23. <Grid>
  24. <Grid.RowDefinitions>
  25. <RowDefinition Height="70"/>
  26. <RowDefinition Height="70"/>
  27. <RowDefinition Height="70"/>
  28. <RowDefinition Height="70"/>
  29. <RowDefinition/>
  30. </Grid.RowDefinitions>
  31. <Grid Grid.Row="0">
  32. <Label Content="Current Step" Height="30" Margin="64,0,24,0"/>
  33. <TextBlock Margin="153,0,0,0" Width="150" Text="{Binding SideACurrentStep}" Background="Black" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" TextAlignment="Center" HorizontalAlignment="Left"/>
  34. </Grid>
  35. <Grid Grid.Row="1">
  36. <Label Content="Current Cycle" Height="30" Margin="64,0,24,0"/>
  37. <TextBlock Margin="153,0,0,0" Width="100" Text="{Binding SideACurrentCycle}" Background="Black" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" TextAlignment="Center" HorizontalAlignment="Left"/>
  38. </Grid>
  39. <Grid Grid.Row="2">
  40. <Label Content="ignore leak test" Height="30" Margin="64,0,24,0"/>
  41. <CheckBox IsChecked="{Binding SideAIgnoreLeakTest,Mode=TwoWay}" Margin="166,0,0,0" Width="100" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  42. </Grid>
  43. <Grid Grid.Row="3">
  44. <Label Content="Total Cycle" Height="30" Margin="64,0,250,0"/>
  45. <Control:IntegerTextBox Value="{Binding SideATotalCycle,Mode=TwoWay}" HorizontalAlignment="Left" Width="100" Height="30" VerticalAlignment="Center" Margin="153,0,0,0"/>
  46. <Button Style="{StaticResource SysBtnStyle}" Content="Start" Width="120" Margin="409,24,409,16" Height="30" Command="{Binding SideAStartCycleCommand}" ></Button>
  47. <Button Style="{StaticResource SysBtnStyle}" Content="Stop" Width="120" Margin="598,24,220,16" Height="30" Command="{Binding SideAStopCycleCommand}" ></Button>
  48. </Grid>
  49. </Grid>
  50. </GroupBox>
  51. <GroupBox Header="SideB" Grid.Column="1">
  52. <Grid>
  53. <Grid.RowDefinitions>
  54. <RowDefinition Height="70"/>
  55. <RowDefinition Height="70"/>
  56. <RowDefinition Height="70"/>
  57. <RowDefinition Height="70"/>
  58. <RowDefinition/>
  59. </Grid.RowDefinitions>
  60. <Grid Grid.Row="0">
  61. <Label Content="Current Step" Height="30" Margin="64,0,24,0"/>
  62. <TextBlock Margin="153,0,0,0" Width="150" Text="{Binding SideBCurrentStep}" Background="Black" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" TextAlignment="Center" HorizontalAlignment="Left"/>
  63. </Grid>
  64. <Grid Grid.Row="1">
  65. <Label Content="Current Cycle" Height="30" Margin="64,0,24,0"/>
  66. <TextBlock Margin="153,0,0,0" Width="100" Text="{Binding SideBCurrentCycle}" Background="Black" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" TextAlignment="Center" HorizontalAlignment="Left"/>
  67. </Grid>
  68. <Grid Grid.Row="2">
  69. <Label Content="ignore leak test" Height="30" Margin="64,0,24,0"/>
  70. <CheckBox IsChecked="{Binding SideBIgnoreLeakTest,Mode=TwoWay}" Margin="166,0,0,0" Width="100" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  71. </Grid>
  72. <Grid Grid.Row="3">
  73. <Label Content="Total Cycle" Height="30" Margin="64,0,250,0"/>
  74. <Control:IntegerTextBox Value="{Binding SideBTotalCycle,Mode=TwoWay}" HorizontalAlignment="Left" Width="100" Height="30" VerticalAlignment="Center" Margin="153,0,0,0"/>
  75. <Button Style="{StaticResource SysBtnStyle}" Content="Start" Width="120" Margin="409,24,409,16" Height="30" Command="{Binding SideBStartCycleCommand}" ></Button>
  76. <Button Style="{StaticResource SysBtnStyle}" Content="Stop" Width="120" Margin="598,24,220,16" Height="30" Command="{Binding SideBStopCycleCommand}" ></Button>
  77. </Grid>
  78. </Grid>
  79. </GroupBox>
  80. </Grid>
  81. </UserControl>