数据中心布局
This commit is contained in:
parent
ff47302010
commit
2e49e6f6e6
41
InSituLaboratory.Base/WorkStateConvert.cs
Normal file
41
InSituLaboratory.Base/WorkStateConvert.cs
Normal file
@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace InSituLaboratory.Base
|
||||
{
|
||||
/// <summary>
|
||||
/// 工作状态转换器
|
||||
/// </summary>
|
||||
public class WorkStateConvert : IValueConverter
|
||||
{
|
||||
public static object ConvertObject;
|
||||
|
||||
object IValueConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
Brush background = null;
|
||||
if ((string)value == "待机")
|
||||
{
|
||||
//橙色
|
||||
background = new SolidColorBrush(Color.FromRgb(255, 128, 0));
|
||||
}
|
||||
else if ((string)value == "工作")
|
||||
{
|
||||
//绿色
|
||||
background = new SolidColorBrush(Color.FromRgb(0, 255, 0));
|
||||
}
|
||||
|
||||
return background;
|
||||
}
|
||||
|
||||
object IValueConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -7,9 +7,10 @@
|
||||
xmlns:converters="clr-namespace:InSituLaboratory.Base;assembly=InSituLaboratory.Base"
|
||||
mc:Ignorable="d"
|
||||
FontFamily="{StaticResource DigitalDisplay}"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
d:DesignHeight="700" d:DesignWidth="800">
|
||||
<UserControl.Resources>
|
||||
<converters:StateBackConvert x:Key="StateBackConvert" />
|
||||
<converters:WorkStateConvert x:Key="WorkStateConvert" />
|
||||
<Style TargetType="GroupBox">
|
||||
<Setter Property="Margin" Value="10,5" />
|
||||
<Setter Property="Template">
|
||||
@ -47,19 +48,19 @@
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
</UserControl.Resources>
|
||||
<ScrollViewer Margin="0,5,0,10">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="300" />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<!--第一行-->
|
||||
<UniformGrid Columns="5" Rows="3" Grid.Row="0">
|
||||
<Grid Grid.Row="0">
|
||||
<UniformGrid Columns="5" Rows="3">
|
||||
<!--组包时间-->
|
||||
<Border CornerRadius="5" Background="#FAFCFF" Margin="10">
|
||||
<Border.Effect>
|
||||
@ -140,24 +141,10 @@
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</UniformGrid>
|
||||
</Grid>
|
||||
|
||||
<!-- 主腔体状态 -->
|
||||
<Grid Margin="0,100,0,0" Grid.RowSpan="2">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="30" />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="0" Margin="0,0,10,0" HorizontalAlignment="Right" VerticalAlignment="Center" Orientation="Horizontal">
|
||||
<TextBlock Text="正常" Margin="10,5"/>
|
||||
<Border Width="20" Height="20" Background="Green" CornerRadius="10" />
|
||||
<TextBlock Text="一级告警" Margin="10,5"/>
|
||||
<Border Width="20" Height="20" Background="Yellow" CornerRadius="10" />
|
||||
<TextBlock Text="二级告警" Margin="10,5"/>
|
||||
<Border Width="20" Height="20" Background="Orange" CornerRadius="10" />
|
||||
<TextBlock Text="故障" Margin="10,5"/>
|
||||
<Border Width="20" Height="20" Background="red" CornerRadius="10" />
|
||||
</StackPanel>
|
||||
<Grid Grid.Row="1">
|
||||
<Grid Margin="0,110,0,0">
|
||||
<GroupBox Header="主腔体状态">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
@ -173,48 +160,334 @@
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Grid Grid.Row="1">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="基站48V漏电流状态" FontSize="16" Grid.ColumnSpan="2" Margin="0,0,98,0" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" />
|
||||
<TextBlock Grid.Column="0" Text="基站48V漏电流状态" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="2">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="电池48V漏电流状态" Grid.ColumnSpan="2" Margin="17,2,100,13" FontSize="16"/>
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" Margin="39,1,71,22" />
|
||||
<TextBlock Grid.Column="0" Text="电池48V漏电流状态" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="3">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="ICL漏电流状态" Grid.ColumnSpan="2" Margin="26,15,104,0" FontSize="16"/>
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" Margin="0,15,104,0" />
|
||||
<TextBlock Grid.Column="0" Text="ICL漏电流状态" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="4">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition Width="2*" />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="工控机漏电流状态" Grid.ColumnSpan="2" Margin="26,15,104,0" FontSize="16"/>
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" Margin="0,15,104,0" />
|
||||
<TextBlock Grid.Column="0" Text="工控机漏电流状态" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
<Grid Grid.Column="1">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="30"/>
|
||||
<RowDefinition />
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid Grid.Row="1">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="温度1状态" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="2">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="温度2状态" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="3">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="湿度1状态" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="4">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*" />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="湿度2状态" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
<Grid Grid.Column="2">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="30"/>
|
||||
<RowDefinition />
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid Grid.Row="0">
|
||||
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal">
|
||||
<TextBlock Text="正常" Margin="10,5"/>
|
||||
<Border Width="20" Height="20" Background="Green" CornerRadius="10" />
|
||||
<TextBlock Text="一级告警" Margin="10,5"/>
|
||||
<Border Width="20" Height="20" Background="Yellow" CornerRadius="10" />
|
||||
<TextBlock Text="二级告警" Margin="10,5"/>
|
||||
<Border Width="20" Height="20" Background="Orange" CornerRadius="10" />
|
||||
<TextBlock Text="故障" Margin="10,5"/>
|
||||
<Border Width="20" Height="20" Background="red" CornerRadius="10" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
<Grid Grid.Row="1">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="漏水1状态" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="2">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="漏水2状态" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="3">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="内部压力1状态" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="4">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*" />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="内部压力2状态" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
|
||||
<!--当前工作状态/当前故障设备-->
|
||||
<Grid Grid.Row="2" Margin="0,-80,0,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid Grid.Column="0" Margin="0,0,0,-52" >
|
||||
<GroupBox Header="当前工作设备">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid Grid.Column="0">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="30"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid Grid.Row="1">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="MEMS色谱仪" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="2">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="MEMS质谱仪" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="3">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="色质联用仪" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="4">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="甲烷同位素分析仪" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
<Grid Grid.Column="1">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="30"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid Grid.Row="0">
|
||||
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Center" Orientation="Horizontal" Margin="15,0">
|
||||
<TextBlock Text="待机" Margin="10,5"/>
|
||||
<Border Width="20" Height="20" Background="Orange" CornerRadius="10" />
|
||||
<TextBlock Text="工作" Margin="10,5"/>
|
||||
<Border Width="20" Height="20" Background="Green" CornerRadius="10" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
<Grid Grid.Row="1">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="CO2同位素分析仪" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="2">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="颗粒物分析仪" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="3">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="测序仪" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
|
||||
<Grid Grid.Column="1" Margin="0,0,0,-52">
|
||||
<GroupBox Header="当前故障设备">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid Grid.Column="0">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="30"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid Grid.Row="1">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="MEMS色谱仪" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="2">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="MEMS质谱仪" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="3">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="色质联用仪" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="4">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="甲烷同位素分析仪" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
<Grid Grid.Column="1">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="30"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid Grid.Row="0">
|
||||
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Center" Orientation="Horizontal" Margin="15,0">
|
||||
<TextBlock Text="故障" Margin="10,5"/>
|
||||
<Border Width="20" Height="20" Background="Red" CornerRadius="10" />
|
||||
<TextBlock Text="正常" Margin="10,5"/>
|
||||
<Border Width="20" Height="20" Background="Green" CornerRadius="10" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
<Grid Grid.Row="1">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="CO2同位素分析仪" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="2">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="颗粒物分析仪" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="3">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="测序仪" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<Border Grid.Column="1" Width="20" Height="20" Background="Green" CornerRadius="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
<Grid Grid.Row="2"/>
|
||||
<Grid Grid.Row="3"/>
|
||||
<Grid Grid.Row="4"/>
|
||||
<Grid Grid.Row="5"/>
|
||||
</Grid>
|
||||
</ScrollViewer>
|
||||
</UserControl>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user