终端一体化运控平台
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2 年前
2 年前
2 年前
2 年前
2 年前
2 年前
2 年前
2 年前
2 年前
2 年前
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <UserControl x:Class="BPASmartClient.SCADAControl.CustomerControls.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="Top"
  17. Margin="0 10 0 35"
  18. FontSize="20"
  19. Foreground="#FF1FD622"
  20. Tag="出料控制"
  21. Text="出料中..." Visibility="Collapsed"/>
  22. <Ellipse Grid.Row="0" Tag="出料圆" Margin="0,40,0,0" Visibility="Collapsed" StrokeThickness="60" Width="150" Height="70" RenderTransformOrigin="0.5,0.5" VerticalAlignment="Top">
  23. <Ellipse.RenderTransform>
  24. <TransformGroup>
  25. <ScaleTransform/>
  26. <SkewTransform AngleY="0"/>
  27. <RotateTransform Angle="0"/>
  28. <TranslateTransform/>
  29. </TransformGroup>
  30. </Ellipse.RenderTransform>
  31. <Ellipse.Stroke>
  32. <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0.4">
  33. <GradientStop Color="#CCA48E42"/>
  34. <GradientStop Color="#CC2D48DA" Offset="1"/>
  35. <GradientStop Color="#FF3FD256" Offset="0.305"/>
  36. <!--<GradientStop Color="#FFB12C87" Offset="0.67"/>-->
  37. </LinearGradientBrush>
  38. </Ellipse.Stroke>
  39. </Ellipse>
  40. <TextBlock
  41. HorizontalAlignment="Center"
  42. VerticalAlignment="Bottom"
  43. Margin="0 0 0 35"
  44. FontSize="45"
  45. Foreground="#FFCCD61F" Tag="Title"
  46. Text="{Binding Title,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" />
  47. <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
  48. <TextBlock
  49. Margin="0,20,0,0"
  50. HorizontalAlignment="Center"
  51. FontSize="20"
  52. Foreground="#FF00FFF9" Tag="Value"
  53. Text="{Binding Value,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" />
  54. <TextBlock
  55. Margin="0,20,0,0"
  56. HorizontalAlignment="Center"
  57. FontSize="20"
  58. Foreground="#FF00FFF9"
  59. Text="(g)" />
  60. </StackPanel>
  61. <TextBlock
  62. Grid.Row="1" Tag="Text"
  63. Margin="0,70,0,0"
  64. HorizontalAlignment="Center"
  65. FontSize="25"
  66. Foreground="#FFFFA400"
  67. Text="{Binding Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" />
  68. <Image
  69. Grid.RowSpan="2"
  70. Source="/BPASmartClient.SCADAControl;component/Images/光柱.png"
  71. Stretch="Fill" />
  72. <StackPanel Tag="ControlEvent" HorizontalAlignment="Right" Orientation="Vertical" Grid.Row="1" VerticalAlignment="Bottom" >
  73. <Image Margin="20,10,0,0" Tag="出料" Source="/BPASmartClient.SCADAControl;component/Images/借出.png" Cursor="Hand" ToolTip="出料" Width="24" ></Image>
  74. <Image Margin="20,10,0,10" Tag="停止出料" Source="/BPASmartClient.SCADAControl;component/Images/退出.png" Cursor="Hand" Width="24" ToolTip="停止出料"></Image>
  75. </StackPanel>
  76. </Grid>
  77. </UserControl>