LoaderCycleView.xaml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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/>
  29. </Grid.RowDefinitions>
  30. <Grid Grid.Row="0">
  31. <Label Content="Current Step" Height="30" Margin="64,0,24,0"/>
  32. <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"/>
  33. </Grid>
  34. <Grid Grid.Row="1">
  35. <Label Content="Current Cycle" Height="30" Margin="64,0,24,0"/>
  36. <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"/>
  37. </Grid>
  38. <Grid Grid.Row="2">
  39. <Label Content="Total Cycle" Height="30" Margin="64,0,250,0"/>
  40. <Control:IntegerTextBox Value="{Binding SideATotalCycle,Mode=TwoWay}" HorizontalAlignment="Left" Width="100" Height="30" VerticalAlignment="Center" Margin="153,0,0,0"/>
  41. <Button Style="{StaticResource SysBtnStyle}" Content="Start" Width="120" Margin="409,24,409,16" Height="30" Command="{Binding SideAStartCycleCommand}" ></Button>
  42. <Button Style="{StaticResource SysBtnStyle}" Content="Stop" Width="120" Margin="598,24,220,16" Height="30" Command="{Binding SideAStopCycleCommand}" ></Button>
  43. </Grid>
  44. </Grid>
  45. </GroupBox>
  46. <GroupBox Header="SideB" Grid.Column="1">
  47. <Grid>
  48. <Grid.RowDefinitions>
  49. <RowDefinition Height="70"/>
  50. <RowDefinition Height="70"/>
  51. <RowDefinition Height="70"/>
  52. <RowDefinition/>
  53. </Grid.RowDefinitions>
  54. <Grid Grid.Row="0">
  55. <Label Content="Current Step" Height="30" Margin="64,0,24,0"/>
  56. <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"/>
  57. </Grid>
  58. <Grid Grid.Row="1">
  59. <Label Content="Current Cycle" Height="30" Margin="64,0,24,0"/>
  60. <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"/>
  61. </Grid>
  62. <Grid Grid.Row="2">
  63. <Label Content="Total Cycle" Height="30" Margin="64,0,250,0"/>
  64. <Control:IntegerTextBox Value="{Binding SideBTotalCycle,Mode=TwoWay}" HorizontalAlignment="Left" Width="100" Height="30" VerticalAlignment="Center" Margin="153,0,0,0"/>
  65. <Button Style="{StaticResource SysBtnStyle}" Content="Start" Width="120" Margin="409,24,409,16" Height="30" Command="{Binding SideBStartCycleCommand}" ></Button>
  66. <Button Style="{StaticResource SysBtnStyle}" Content="Stop" Width="120" Margin="598,24,220,16" Height="30" Command="{Binding SideBStopCycleCommand}" ></Button>
  67. </Grid>
  68. </Grid>
  69. </GroupBox>
  70. </Grid>
  71. </UserControl>