PMCounterView.xaml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <UserControl x:Class="CyberX8_MainPages.Views.PMCounterView"
  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:ctrls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
  8. xmlns:prism="http://prismlibrary.com/"
  9. prism:ViewModelLocator.AutoWireViewModel="True"
  10. mc:Ignorable="d"
  11. d:DesignHeight="800" d:DesignWidth="1500">
  12. <Grid>
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="5"/>
  15. <RowDefinition Height="170"/>
  16. <RowDefinition Height="200"/>
  17. <RowDefinition Height="175"/>
  18. <RowDefinition Height="250"/>
  19. <RowDefinition/>
  20. </Grid.RowDefinitions>
  21. <Grid.ColumnDefinitions>
  22. <ColumnDefinition Width="700"></ColumnDefinition>
  23. <ColumnDefinition Width="470"></ColumnDefinition>
  24. <ColumnDefinition Width="320"></ColumnDefinition>
  25. <ColumnDefinition/>
  26. </Grid.ColumnDefinitions>
  27. <Grid Grid.Row="1" Grid.Column="0">
  28. <ctrls:ReservoirsInformationPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center"
  29. RecipeContentValue="{Binding CurrentRecipe.Ppid}"
  30. StateValue="{Binding State}" IsEnabled="{Binding IsEnabled}"
  31. OperatingModeValue="{Binding ReservoirsPersistent.OperatingMode}"
  32. ModuleTitle="{Binding Module}"/>
  33. </Grid>
  34. <Grid Grid.Row="3" Grid.Column="2">
  35. <Button Style="{StaticResource SysBtnStyle}" Grid.Column="1" Height="30" Width="100" HorizontalAlignment="Right" Content="Back" Command="{Binding BackCommand}"/>
  36. </Grid>
  37. <Grid Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Grid.RowSpan="3">
  38. <ctrls:PMCounterComponent Margin="20,0,20,10" IsEnabled="{Binding IsAutoEnabled}"
  39. ComponentNodes="{Binding ComponentNodes}"
  40. />
  41. </Grid>
  42. </Grid>
  43. </UserControl>