终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

43 lines
1.7 KiB

  1. <UserControl x:Class="BPASmartClient.SCADAControl.Silos"
  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:BPASmartClient.SCADAControl"
  7. mc:Ignorable="d"
  8. d:DesignHeight="270" d:DesignWidth="180" >
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition />
  12. <RowDefinition />
  13. </Grid.RowDefinitions>
  14. <TextBlock
  15. HorizontalAlignment="Center"
  16. VerticalAlignment="Bottom"
  17. Margin="0 0 0 35"
  18. FontSize="25"
  19. Foreground="#FFCCD61F"
  20. Text="{Binding Title,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" />
  21. <TextBlock
  22. Grid.Row="1"
  23. Margin="0,25,0,0"
  24. HorizontalAlignment="Center"
  25. FontSize="20"
  26. Foreground="#FF0084FF"
  27. Text="{Binding Value,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" />
  28. <TextBlock
  29. Grid.Row="1"
  30. Margin="0,70,0,0"
  31. HorizontalAlignment="Center"
  32. FontSize="20"
  33. Foreground="#FF0084FF"
  34. Text="{Binding Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" />
  35. <Image
  36. Grid.RowSpan="2"
  37. Source="/BPASmartClient.SCADAControl;component/Images/光柱.png"
  38. Stretch="Fill" />
  39. </Grid>
  40. </UserControl>