BackendPressureTuneView.xaml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <UserControl x:Class="FurnaceRT.Backends.BackendPressureTuneView"
  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:FurnaceRT.Backends"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="50"></RowDefinition>
  12. <RowDefinition Height="*"></RowDefinition>
  13. </Grid.RowDefinitions>
  14. <Canvas>
  15. <Button Width="100" Height="30" Content="Save" Command="{Binding SaveCommand}" Canvas.Left="33" Canvas.Top="10"></Button>
  16. <Button Width="100" Height="30" Content="Cancel" Command="{Binding ReloadCommand}" Canvas.Left="189" Canvas.Top="10"></Button>
  17. </Canvas>
  18. <StackPanel Grid.Row="1" Orientation="Horizontal">
  19. <GroupBox VerticalAlignment="Top" HorizontalAlignment="Left" Header="PM1" Width="300" Height="200">
  20. <Canvas>
  21. <CheckBox Content="Enable Tune" IsChecked="{Binding IsEnable1, UpdateSourceTrigger=PropertyChanged}" Canvas.Left="19" Canvas.Top="20"></CheckBox>
  22. <TextBlock Text="Tuning (%)" Canvas.Left="19" Canvas.Top="67"></TextBlock>
  23. <TextBox Text="{Binding Tuning1, UpdateSourceTrigger=PropertyChanged}" Canvas.Left="19" Canvas.Top="87" Height="29" Width="132"></TextBox>
  24. </Canvas>
  25. </GroupBox>
  26. <GroupBox VerticalAlignment="Top" HorizontalAlignment="Left" Header="PM2" Width="300" Height="200">
  27. <Canvas>
  28. <CheckBox Content="Enable Tune" IsChecked="{Binding IsEnable2, UpdateSourceTrigger=PropertyChanged}" Canvas.Left="19" Canvas.Top="20"></CheckBox>
  29. <TextBlock Text="Tuning (%)" Canvas.Left="19" Canvas.Top="67"></TextBlock>
  30. <TextBox Text="{Binding Tuning2, UpdateSourceTrigger=PropertyChanged}" Canvas.Left="19" Canvas.Top="87" Height="29" Width="132"></TextBox>
  31. </Canvas>
  32. </GroupBox>
  33. </StackPanel>
  34. </Grid>
  35. </UserControl>