123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <UserControl
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:CyberX8_MainPages.Views"
- xmlns:prism="http://prismlibrary.com/"
- xmlns:UserControls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
- x:Class="CyberX8_MainPages.Views.LoaderCycleView"
- xmlns:converters="clr-namespace:CyberX8_Themes.Converters;assembly=CyberX8_Themes"
- xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core"
- prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="1900">
- <UserControl.Resources>
- <converters:BoolToColor x:Key="boolToColor"/>
- </UserControl.Resources>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <GroupBox Header="SideA">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="70"/>
- <RowDefinition Height="70"/>
- <RowDefinition Height="70"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0">
- <Label Content="Current Step" Height="30" Margin="64,0,24,0"/>
- <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"/>
- </Grid>
- <Grid Grid.Row="1">
- <Label Content="Current Cycle" Height="30" Margin="64,0,24,0"/>
- <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"/>
- </Grid>
- <Grid Grid.Row="2">
- <Label Content="Total Cycle" Height="30" Margin="64,0,250,0"/>
- <Control:IntegerTextBox Value="{Binding SideATotalCycle,Mode=TwoWay}" HorizontalAlignment="Left" Width="100" Height="30" VerticalAlignment="Center" Margin="153,0,0,0"/>
- <Button Style="{StaticResource SysBtnStyle}" Content="Start" Width="120" Margin="409,24,409,16" Height="30" Command="{Binding SideAStartCycleCommand}" ></Button>
- <Button Style="{StaticResource SysBtnStyle}" Content="Stop" Width="120" Margin="598,24,220,16" Height="30" Command="{Binding SideAStopCycleCommand}" ></Button>
- </Grid>
- </Grid>
- </GroupBox>
- <GroupBox Header="SideB" Grid.Column="1">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="70"/>
- <RowDefinition Height="70"/>
- <RowDefinition Height="70"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0">
- <Label Content="Current Step" Height="30" Margin="64,0,24,0"/>
- <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"/>
- </Grid>
- <Grid Grid.Row="1">
- <Label Content="Current Cycle" Height="30" Margin="64,0,24,0"/>
- <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"/>
- </Grid>
- <Grid Grid.Row="2">
- <Label Content="Total Cycle" Height="30" Margin="64,0,250,0"/>
- <Control:IntegerTextBox Value="{Binding SideBTotalCycle,Mode=TwoWay}" HorizontalAlignment="Left" Width="100" Height="30" VerticalAlignment="Center" Margin="153,0,0,0"/>
- <Button Style="{StaticResource SysBtnStyle}" Content="Start" Width="120" Margin="409,24,409,16" Height="30" Command="{Binding SideBStartCycleCommand}" ></Button>
- <Button Style="{StaticResource SysBtnStyle}" Content="Stop" Width="120" Margin="598,24,220,16" Height="30" Command="{Binding SideBStopCycleCommand}" ></Button>
- </Grid>
- </Grid>
- </GroupBox>
- </Grid>
- </UserControl>
|