|
|
@@ -6,341 +6,579 @@ |
|
|
|
xmlns:local="clr-namespace:BPASmartClient.Academy.View" |
|
|
|
xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf" |
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
|
xmlns:oxy="http://oxyplot.org/wpf" |
|
|
|
xmlns:vm="clr-namespace:BPASmartClient.Academy.ViewModel" |
|
|
|
d:DesignHeight="450" |
|
|
|
d:DesignWidth="800" |
|
|
|
mc:Ignorable="d"> |
|
|
|
xmlns:oxy="http://oxyplot.org/wpf" xmlns:vm="clr-namespace:BPASmartClient.Academy.ViewModel" |
|
|
|
d:DesignHeight="450" d:DesignWidth="800" mc:Ignorable="d"> |
|
|
|
<UserControl.DataContext> |
|
|
|
<vm:DeviceChartViewModel /> |
|
|
|
</UserControl.DataContext> |
|
|
|
<UserControl.Resources> |
|
|
|
<Style x:Key="setCheck" TargetType="{x:Type RadioButton}"> |
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" /> |
|
|
|
<Setter Property="VerticalContentAlignment" Value="Center" /> |
|
|
|
<Setter Property="HorizontalAlignment" Value="Center" /> |
|
|
|
<Setter Property="VerticalAlignment" Value="Center" /> |
|
|
|
<Setter Property="Background" Value="Transparent" /> |
|
|
|
<Setter Property="Template"> |
|
|
|
<Setter.Value> |
|
|
|
<ControlTemplate TargetType="{x:Type RadioButton}"> |
|
|
|
<Border Background="Transparent" BorderThickness="0"> |
|
|
|
<ContentControl |
|
|
|
x:Name="check" |
|
|
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|
|
|
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" |
|
|
|
Content="{TemplateBinding Content}" |
|
|
|
Foreground="#777777" /> |
|
|
|
</Border> |
|
|
|
<ControlTemplate.Triggers> |
|
|
|
<Trigger Property="IsMouseOver" Value="True"> |
|
|
|
<Setter TargetName="check" Property="Foreground" Value="White" /> |
|
|
|
</Trigger> |
|
|
|
<Trigger Property="IsPressed" Value="True"> |
|
|
|
<Setter TargetName="check" Property="Foreground" Value="White" /> |
|
|
|
</Trigger> |
|
|
|
</ControlTemplate.Triggers> |
|
|
|
</ControlTemplate> |
|
|
|
</Setter.Value> |
|
|
|
</Setter> |
|
|
|
</Style> |
|
|
|
</UserControl.Resources> |
|
|
|
<Grid> |
|
|
|
<UniformGrid |
|
|
|
x:Name="ooo" |
|
|
|
Grid.Row="1" |
|
|
|
Columns="3" |
|
|
|
Rows="2"> |
|
|
|
<!--#region 温度曲线--> |
|
|
|
<StackPanel Orientation="Vertical"> |
|
|
|
<lvc:CartesianChart |
|
|
|
x:Name="ppp" |
|
|
|
Height="270" |
|
|
|
HorizontalAlignment="Stretch" |
|
|
|
VerticalAlignment="Top" |
|
|
|
AnimationsSpeed="0:0:1" |
|
|
|
DataTooltip="{x:Null}" |
|
|
|
Hoverable="False" |
|
|
|
MouseDoubleClick="DataView_CLick" |
|
|
|
ToolTip="温度曲线"> |
|
|
|
<lvc:CartesianChart.Series> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" |
|
|
|
LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="Red" |
|
|
|
StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.TempWok}" /> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" |
|
|
|
LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="Blue" |
|
|
|
StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.TempMaterial}" /> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" |
|
|
|
LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="Green" |
|
|
|
StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.TempVent}" /> |
|
|
|
</lvc:CartesianChart.Series> |
|
|
|
<lvc:CartesianChart.AxisY> |
|
|
|
<lvc:Axis MaxValue="200" MinValue="0"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisY> |
|
|
|
<lvc:CartesianChart.AxisX> |
|
|
|
<lvc:Axis LabelFormatter="{Binding DateTimeFormatter}" Unit="{Binding AxisUnit}"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" Step="{Binding AxisStep}" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisX> |
|
|
|
</lvc:CartesianChart> |
|
|
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
|
|
|
<TextBlock Foreground="White" Text="温度曲线/℃" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" |
|
|
|
Height="2" |
|
|
|
Margin="10,0,0,2" |
|
|
|
Fill="Blue" /> |
|
|
|
<TextBlock Foreground="White" Text="物料罐温度" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" |
|
|
|
Height="2" |
|
|
|
Margin="10,0,0,2" |
|
|
|
Fill="Red" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜温度" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" |
|
|
|
Height="2" |
|
|
|
Margin="10,0,0,2" |
|
|
|
Fill="Green" /> |
|
|
|
<TextBlock Foreground="White" Text="排气温度" /> |
|
|
|
</StackPanel> |
|
|
|
<ScrollViewer x:Name="ooo" Grid.Row="1"> |
|
|
|
<StackPanel> |
|
|
|
<StackPanel Orientation="Vertical"> |
|
|
|
<StackPanel |
|
|
|
Margin="0,0,60,0" HorizontalAlignment="Right" VerticalAlignment="Center" Orientation="Horizontal"> |
|
|
|
<TextBlock |
|
|
|
VerticalAlignment="Center" FontSize="16" Foreground="DeepSkyBlue" Text="产品编号:" /> |
|
|
|
<TextBox |
|
|
|
Width="200" Height="30" Margin="0,0,10,0" VerticalContentAlignment="Center" |
|
|
|
Background="Transparent" BorderBrush="DeepSkyBlue" CaretBrush="DeepSkyBlue" FontSize="16" |
|
|
|
Foreground="DeepSkyBlue" |
|
|
|
Style="{x:Null}" |
|
|
|
Text="{Binding ProductNum}" /> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<!--#endregion--> |
|
|
|
<Button |
|
|
|
Width="120" Height="30" |
|
|
|
Command="{Binding FindProductCommand}" |
|
|
|
Content="查询编号" |
|
|
|
Style="{StaticResource ButtonStyle}" /> |
|
|
|
|
|
|
|
<!--#region 转速曲线--> |
|
|
|
<StackPanel Margin="20,0,0,0" Orientation="Vertical"> |
|
|
|
<lvc:CartesianChart |
|
|
|
Height="270" |
|
|
|
HorizontalAlignment="Stretch" |
|
|
|
VerticalAlignment="Top" |
|
|
|
AnimationsSpeed="0:0:1" |
|
|
|
DataTooltip="{x:Null}" |
|
|
|
Hoverable="False" |
|
|
|
MouseDoubleClick="DataView_CLick" |
|
|
|
ToolTip="转速曲线"> |
|
|
|
<lvc:CartesianChart.Series> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" |
|
|
|
LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="#F44F15" |
|
|
|
StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.M101_Speed}" /> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" |
|
|
|
LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="#423FFD" |
|
|
|
StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.M102_Speed}" /> |
|
|
|
</lvc:CartesianChart.Series> |
|
|
|
<lvc:CartesianChart.AxisY> |
|
|
|
<lvc:Axis MinValue="0" MaxValue="100"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisY> |
|
|
|
<lvc:CartesianChart.AxisX> |
|
|
|
<lvc:Axis LabelFormatter="{Binding DateTimeFormatter}" Unit="{Binding AxisUnit}"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" Step="{Binding AxisStep}" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisX> |
|
|
|
</lvc:CartesianChart> |
|
|
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
|
|
|
<TextBlock Foreground="White" Text="转速曲线/%" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" |
|
|
|
Height="2" |
|
|
|
Margin="10,0,0,2" |
|
|
|
Fill="#423FFD" /> |
|
|
|
<TextBlock Foreground="White" Text="物料罐转速" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" |
|
|
|
Height="2" |
|
|
|
Margin="10,0,0,2" |
|
|
|
Fill="#F44F15" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜转速" /> |
|
|
|
</StackPanel> |
|
|
|
<TextBlock |
|
|
|
Margin="30,0,0,0" VerticalAlignment="Center" FontSize="16" Foreground="DeepSkyBlue" |
|
|
|
Text="查询时间:" /> |
|
|
|
<DatePicker |
|
|
|
Width="150" Margin="0,0,10,0" BorderBrush="DeepSkyBlue" FontSize="16" |
|
|
|
SelectedDate="{Binding SelectTime}" |
|
|
|
Style="{DynamicResource PickerStyle}" /> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<!--#endregion--> |
|
|
|
<Button |
|
|
|
Width="120" Height="30" |
|
|
|
Command="{Binding Select}" |
|
|
|
Content="查询" |
|
|
|
Style="{StaticResource ButtonStyle}" /> |
|
|
|
<Button |
|
|
|
Command="{Binding ShowRefrenceWindowCommand}" |
|
|
|
Content="打开参照曲线选择" |
|
|
|
Style="{StaticResource ButtonStyle}" /> |
|
|
|
<Button |
|
|
|
Command="{Binding HiddenRefrenceWindowCommand}" |
|
|
|
Content="关闭参照曲线选择" |
|
|
|
Style="{StaticResource ButtonStyle}" /> |
|
|
|
</StackPanel> |
|
|
|
<!--#region 表格--> |
|
|
|
<Grid |
|
|
|
Grid.Column="0" Margin="20,20,20,0" d:Visibility="Visible" Background="Transparent" |
|
|
|
Visibility="{Binding ReferenceWindownVisiblity}"> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="50" /> |
|
|
|
<RowDefinition /> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
<!--#region 标题--> |
|
|
|
<Grid Background="#ff0C255F"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="50" /> |
|
|
|
<ColumnDefinition /> |
|
|
|
<ColumnDefinition Width="400" /> |
|
|
|
<ColumnDefinition Width="150" /> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<Border |
|
|
|
Grid.ColumnSpan="1" BorderBrush="#777777" BorderThickness="0.8" /> |
|
|
|
<Border |
|
|
|
Grid.ColumnSpan="2" BorderBrush="#777777" BorderThickness="0,0.8,0.8,0.8" /> |
|
|
|
<Border |
|
|
|
Grid.ColumnSpan="3" BorderBrush="#777777" BorderThickness="0,0.8,0.8,0.8" /> |
|
|
|
<Border |
|
|
|
Grid.ColumnSpan="4" BorderBrush="#777777" BorderThickness="0,0.8,0.8,0.8" /> |
|
|
|
<TextBlock |
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" Foreground="White" |
|
|
|
Text="序号" /> |
|
|
|
<TextBlock |
|
|
|
Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" |
|
|
|
Foreground="White" Text="配方名称" /> |
|
|
|
<TextBlock |
|
|
|
Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" |
|
|
|
Foreground="White" Text="创建时间" /> |
|
|
|
<TextBlock |
|
|
|
Grid.Column="3" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" |
|
|
|
Foreground="White" Text="操作" /> |
|
|
|
</Grid> |
|
|
|
<!--#endregion--> |
|
|
|
<!--#region 表格内容--> |
|
|
|
<ScrollViewer |
|
|
|
Grid.Row="1" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden"> |
|
|
|
<ItemsControl ItemsSource="{Binding RecipeCharts}"> |
|
|
|
<ItemsControl.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid> |
|
|
|
<Grid |
|
|
|
Height="30" Margin="0,1" Background="#163175"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="50" /> |
|
|
|
<ColumnDefinition /> |
|
|
|
<ColumnDefinition Width="400" /> |
|
|
|
<ColumnDefinition Width="150" /> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<Border |
|
|
|
Grid.ColumnSpan="1" BorderBrush="#777777" BorderThickness="0.4" /> |
|
|
|
<Border |
|
|
|
Grid.ColumnSpan="2" BorderBrush="#777777" BorderThickness="0,0.4,0.4,0.4" /> |
|
|
|
<Border |
|
|
|
Grid.ColumnSpan="3" BorderBrush="#777777" BorderThickness="0,0.4,0.4,0.4" /> |
|
|
|
<Border |
|
|
|
Grid.ColumnSpan="4" BorderBrush="#777777" BorderThickness="0,0.4,0.4,0.4" /> |
|
|
|
<TextBlock |
|
|
|
x:Name="num" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" |
|
|
|
Foreground="White" |
|
|
|
Text="{Binding Num}" /> |
|
|
|
<TextBlock |
|
|
|
Grid.Column="1" Margin="5,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
|
FontSize="16" Foreground="White" |
|
|
|
Text="{Binding Name}" /> |
|
|
|
<TextBlock |
|
|
|
Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" |
|
|
|
Foreground="White" |
|
|
|
Text="{Binding CreateTime, StringFormat={}{0:yyyy-MM-dd HH:mm:ss}}" /> |
|
|
|
<RadioButton |
|
|
|
x:Name="ceshi" Grid.Column="3" |
|
|
|
Command="{Binding DataContext.InspectDataCommand, RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}}" |
|
|
|
CommandParameter="{Binding Id}" |
|
|
|
Content="添加参照" FontSize="16" Foreground="White" |
|
|
|
Style="{StaticResource setCheck}" /> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</DataTemplate> |
|
|
|
</ItemsControl.ItemTemplate> |
|
|
|
</ItemsControl> |
|
|
|
</ScrollViewer> |
|
|
|
<!--#endregion--> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
<!--#region 比例阀开度曲线 --> |
|
|
|
<StackPanel Orientation="Vertical"> |
|
|
|
<lvc:CartesianChart |
|
|
|
Height="270" |
|
|
|
HorizontalAlignment="Stretch" |
|
|
|
VerticalAlignment="Top" |
|
|
|
AnimationsSpeed="0:0:1" |
|
|
|
DataTooltip="{x:Null}" |
|
|
|
Hoverable="False" |
|
|
|
MouseDoubleClick="DataView_CLick" |
|
|
|
ToolTip="比例阀开度曲线"> |
|
|
|
<lvc:CartesianChart.Series> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" |
|
|
|
LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="White" |
|
|
|
StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.OpenValve}" /> |
|
|
|
</lvc:CartesianChart.Series> |
|
|
|
<lvc:CartesianChart.AxisY> |
|
|
|
<lvc:Axis MaxValue="100" MinValue="0"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisY> |
|
|
|
<lvc:CartesianChart.AxisX> |
|
|
|
<lvc:Axis LabelFormatter="{Binding DateTimeFormatter}" Unit="{Binding AxisUnit}"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" Step="{Binding AxisStep}" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisX> |
|
|
|
</lvc:CartesianChart> |
|
|
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
|
|
|
<TextBlock Foreground="White" Text="比例阀开度曲线/%" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" |
|
|
|
Height="2" |
|
|
|
Margin="20,0,0,2" |
|
|
|
Fill="White" /> |
|
|
|
<TextBlock Foreground="White" Text="比例阀开度" /> |
|
|
|
<!--#endregion--> |
|
|
|
</StackPanel> |
|
|
|
<UniformGrid Columns="2" Rows="3"> |
|
|
|
<!--#region 废弃--> |
|
|
|
<!--#region 温度曲线--> |
|
|
|
<!-- |
|
|
|
<StackPanel Orientation="Vertical"> |
|
|
|
<lvc:CartesianChart |
|
|
|
x:Name="ppp" Height="270" HorizontalAlignment="Stretch" VerticalAlignment="Top" |
|
|
|
AnimationsSpeed="0:0:1" |
|
|
|
DataTooltip="{x:Null}" |
|
|
|
Hoverable="False" MouseDoubleClick="DataView_CLick" ToolTip="温度曲线"> |
|
|
|
<lvc:CartesianChart.Series> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="Red" StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.TempWok}" /> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="Blue" StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.TempMaterial}" /> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="Green" StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.TempVent}" /> |
|
|
|
</lvc:CartesianChart.Series> |
|
|
|
<lvc:CartesianChart.AxisY> |
|
|
|
<lvc:Axis MaxValue="200" MinValue="0"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisY> |
|
|
|
<lvc:CartesianChart.AxisX> |
|
|
|
<lvc:Axis LabelFormatter="{Binding DateTimeFormatter}" Unit="{Binding AxisUnit}"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" Step="{Binding AxisStep}" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisX> |
|
|
|
</lvc:CartesianChart> |
|
|
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
|
|
|
<TextBlock Foreground="White" Text="温度曲线/℃" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="10,0,0,2" Fill="Blue" /> |
|
|
|
<TextBlock Foreground="White" Text="物料罐温度" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="10,0,0,2" Fill="Red" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜温度" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="10,0,0,2" Fill="Green" /> |
|
|
|
<TextBlock Foreground="White" Text="排气温度" /> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<!--#endregion--> |
|
|
|
</StackPanel> |
|
|
|
--> |
|
|
|
<!--#endregion--> |
|
|
|
|
|
|
|
<!--#region 压力曲线 --> |
|
|
|
<StackPanel Orientation="Vertical"> |
|
|
|
<lvc:CartesianChart |
|
|
|
Height="270" |
|
|
|
HorizontalAlignment="Stretch" |
|
|
|
VerticalAlignment="Top" |
|
|
|
AnimationsSpeed="0:0:1" |
|
|
|
DataTooltip="{x:Null}" |
|
|
|
Hoverable="False" |
|
|
|
MouseDoubleClick="DataView_CLick" |
|
|
|
ToolTip="压力曲线"> |
|
|
|
<lvc:CartesianChart.Series> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" |
|
|
|
LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="#F1C74B" |
|
|
|
StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.PressureWok}" /> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" |
|
|
|
LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="#FF1FFF" |
|
|
|
StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.PressureWok_Week}" /> |
|
|
|
</lvc:CartesianChart.Series> |
|
|
|
<lvc:CartesianChart.AxisY> |
|
|
|
<lvc:Axis |
|
|
|
LabelFormatter="{Binding doubleFormatter}" |
|
|
|
MaxValue="0.6" |
|
|
|
MinValue="-0.1"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisY> |
|
|
|
<lvc:CartesianChart.AxisX> |
|
|
|
<lvc:Axis LabelFormatter="{Binding DateTimeFormatter}" Unit="{Binding AxisUnit}"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" Step="{Binding AxisStep}" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisX> |
|
|
|
</lvc:CartesianChart> |
|
|
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
|
|
|
<TextBlock Foreground="White" Text="压力曲线/Mpa" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" |
|
|
|
Height="2" |
|
|
|
Margin="20,0,0,2" |
|
|
|
Fill="#F1C74B" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜压力" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" |
|
|
|
Height="2" |
|
|
|
Margin="20,0,0,2" |
|
|
|
Fill="#FF1FFF" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜蒸汽压力" /> |
|
|
|
</StackPanel> |
|
|
|
<!--#region 转速曲线--> |
|
|
|
<!-- |
|
|
|
<StackPanel Margin="20,0,0,0" Orientation="Vertical"> |
|
|
|
<lvc:CartesianChart |
|
|
|
Height="270" HorizontalAlignment="Stretch" VerticalAlignment="Top" AnimationsSpeed="0:0:1" |
|
|
|
DataTooltip="{x:Null}" |
|
|
|
Hoverable="False" MouseDoubleClick="DataView_CLick" ToolTip="转速曲线"> |
|
|
|
<lvc:CartesianChart.Series> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="#F44F15" StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.M101_Speed}" /> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="#423FFD" StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.M102_Speed}" /> |
|
|
|
</lvc:CartesianChart.Series> |
|
|
|
<lvc:CartesianChart.AxisY> |
|
|
|
<lvc:Axis MaxValue="100" MinValue="0"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisY> |
|
|
|
<lvc:CartesianChart.AxisX> |
|
|
|
<lvc:Axis LabelFormatter="{Binding DateTimeFormatter}" Unit="{Binding AxisUnit}"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" Step="{Binding AxisStep}" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisX> |
|
|
|
</lvc:CartesianChart> |
|
|
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
|
|
|
<TextBlock Foreground="White" Text="转速曲线/%" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="10,0,0,2" Fill="#423FFD" /> |
|
|
|
<TextBlock Foreground="White" Text="物料罐转速" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="10,0,0,2" Fill="#F44F15" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜转速" /> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<!--#endregion--> |
|
|
|
</StackPanel> |
|
|
|
--> |
|
|
|
<!--#endregion--> |
|
|
|
|
|
|
|
<!--#region 重量曲线 --> |
|
|
|
<StackPanel Margin="0,20,0,0" Orientation="Vertical"> |
|
|
|
<lvc:CartesianChart |
|
|
|
Height="270" |
|
|
|
HorizontalAlignment="Stretch" |
|
|
|
VerticalAlignment="Top" |
|
|
|
AnimationsSpeed="0:0:1" |
|
|
|
DataTooltip="{x:Null}" |
|
|
|
Hoverable="False" |
|
|
|
MouseDoubleClick="DataView_CLick" |
|
|
|
ToolTip="重量曲线"> |
|
|
|
<lvc:CartesianChart.Series> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" |
|
|
|
LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="#fe43fe" |
|
|
|
StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.WeightWok}" /> |
|
|
|
</lvc:CartesianChart.Series> |
|
|
|
<lvc:CartesianChart.AxisY> |
|
|
|
<lvc:Axis> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisY> |
|
|
|
<lvc:CartesianChart.AxisX> |
|
|
|
<lvc:Axis LabelFormatter="{Binding DateTimeFormatter}" Unit="{Binding AxisUnit}"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" Step="{Binding AxisStep}" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisX> |
|
|
|
</lvc:CartesianChart> |
|
|
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
|
|
|
<TextBlock Foreground="White" Text="重量曲线/kg" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" |
|
|
|
Height="2" |
|
|
|
Margin="20,0,0,2" |
|
|
|
Fill="#fe43fe" /> |
|
|
|
<TextBlock Foreground="White" Text="冷却水罐重量" /> |
|
|
|
</StackPanel> |
|
|
|
<!--#region 比例阀开度曲线--> |
|
|
|
<!-- |
|
|
|
<StackPanel Orientation="Vertical"> |
|
|
|
<lvc:CartesianChart |
|
|
|
Height="270" HorizontalAlignment="Stretch" VerticalAlignment="Top" AnimationsSpeed="0:0:1" |
|
|
|
DataTooltip="{x:Null}" |
|
|
|
Hoverable="False" MouseDoubleClick="DataView_CLick" ToolTip="比例阀开度曲线"> |
|
|
|
<lvc:CartesianChart.Series> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="White" StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.OpenValve}" /> |
|
|
|
</lvc:CartesianChart.Series> |
|
|
|
<lvc:CartesianChart.AxisY> |
|
|
|
<lvc:Axis MaxValue="100" MinValue="0"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisY> |
|
|
|
<lvc:CartesianChart.AxisX> |
|
|
|
<lvc:Axis LabelFormatter="{Binding DateTimeFormatter}" Unit="{Binding AxisUnit}"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" Step="{Binding AxisStep}" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisX> |
|
|
|
</lvc:CartesianChart> |
|
|
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
|
|
|
<TextBlock Foreground="White" Text="比例阀开度曲线/%" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="20,0,0,2" Fill="White" /> |
|
|
|
<TextBlock Foreground="White" Text="比例阀开度" /> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
--> |
|
|
|
<!--#endregion--> |
|
|
|
|
|
|
|
<!--#region 压力曲线--> |
|
|
|
<!-- |
|
|
|
<StackPanel Orientation="Vertical"> |
|
|
|
<lvc:CartesianChart |
|
|
|
Height="270" HorizontalAlignment="Stretch" VerticalAlignment="Top" AnimationsSpeed="0:0:1" |
|
|
|
DataTooltip="{x:Null}" |
|
|
|
Hoverable="False" MouseDoubleClick="DataView_CLick" ToolTip="压力曲线"> |
|
|
|
<lvc:CartesianChart.Series> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="#F1C74B" StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.PressureWok}" /> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="#FF1FFF" StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.PressureWok_Week}" /> |
|
|
|
</lvc:CartesianChart.Series> |
|
|
|
<lvc:CartesianChart.AxisY> |
|
|
|
<lvc:Axis |
|
|
|
LabelFormatter="{Binding doubleFormatter}" |
|
|
|
MaxValue="0.6" MinValue="-0.1"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisY> |
|
|
|
<lvc:CartesianChart.AxisX> |
|
|
|
<lvc:Axis LabelFormatter="{Binding DateTimeFormatter}" Unit="{Binding AxisUnit}"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" Step="{Binding AxisStep}" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisX> |
|
|
|
</lvc:CartesianChart> |
|
|
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
|
|
|
<TextBlock Foreground="White" Text="压力曲线/Mpa" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="20,0,0,2" Fill="#F1C74B" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜压力" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="20,0,0,2" Fill="#FF1FFF" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜蒸汽压力" /> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
--> |
|
|
|
<!--#endregion--> |
|
|
|
|
|
|
|
<!--#region 重量曲线--> |
|
|
|
<!-- |
|
|
|
<StackPanel Margin="0,20,0,0" Orientation="Vertical"> |
|
|
|
<lvc:CartesianChart |
|
|
|
Height="270" HorizontalAlignment="Stretch" VerticalAlignment="Top" AnimationsSpeed="0:0:1" |
|
|
|
DataTooltip="{x:Null}" |
|
|
|
Hoverable="False" MouseDoubleClick="DataView_CLick" ToolTip="重量曲线"> |
|
|
|
<lvc:CartesianChart.Series> |
|
|
|
<lvc:LineSeries |
|
|
|
Fill="Transparent" LineSmoothness="1" |
|
|
|
PointGeometry="{x:Null}" |
|
|
|
Stroke="#fe43fe" StrokeThickness="2" |
|
|
|
Values="{Binding DataFeedback.WeightWok}" /> |
|
|
|
</lvc:CartesianChart.Series> |
|
|
|
<lvc:CartesianChart.AxisY> |
|
|
|
<lvc:Axis> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisY> |
|
|
|
<lvc:CartesianChart.AxisX> |
|
|
|
<lvc:Axis LabelFormatter="{Binding DateTimeFormatter}" Unit="{Binding AxisUnit}"> |
|
|
|
<lvc:Axis.Separator> |
|
|
|
<lvc:Separator IsEnabled="False" Step="{Binding AxisStep}" /> |
|
|
|
</lvc:Axis.Separator> |
|
|
|
</lvc:Axis> |
|
|
|
</lvc:CartesianChart.AxisX> |
|
|
|
</lvc:CartesianChart> |
|
|
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
|
|
|
<TextBlock Foreground="White" Text="重量曲线/kg" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="20,0,0,2" Fill="#fe43fe" /> |
|
|
|
<TextBlock Foreground="White" Text="冷却水罐重量" /> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
--> |
|
|
|
<!--#endregion--> |
|
|
|
<!--#endregion--> |
|
|
|
<!--#region 新图表OxyPlot--> |
|
|
|
<!--#region 温度曲线--> |
|
|
|
<StackPanel Margin="20" Orientation="Vertical"> |
|
|
|
<oxy:PlotView |
|
|
|
Height="270" HorizontalAlignment="Stretch" VerticalAlignment="Top" |
|
|
|
Model="{Binding PlotModels[0]}" |
|
|
|
MouseDoubleClick="DataView_CLick" ToolTip="温度曲线"> |
|
|
|
</oxy:PlotView> |
|
|
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
|
|
|
<TextBlock Foreground="White" Text="温度曲线/℃" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="10,0,0,2" |
|
|
|
Fill="{StaticResource 配料罐温度_10L}" /> |
|
|
|
<TextBlock Foreground="White" Text="配料罐温度" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="10,0,0,2" |
|
|
|
Fill="{StaticResource 反应釜温度_10L}" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜温度" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="10,0,0,2" |
|
|
|
Fill="{StaticResource 反应釜排气温度_10L}" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜排气温度" /> |
|
|
|
|
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="10,0,0,2" |
|
|
|
Fill="{StaticResource 配料罐温度_10L_参考}" /> |
|
|
|
<TextBlock Foreground="White" Text="配料罐温度_参考" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="10,0,0,2" |
|
|
|
Fill="{StaticResource 反应釜温度_10L_参考}" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜温度_参考" /> |
|
|
|
|
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="10,0,0,2" |
|
|
|
Fill="{StaticResource 反应釜排气温度_10L_参考}" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜排气温度_参考" /> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<!--#endregion--> |
|
|
|
|
|
|
|
<!--#region 转速曲线--> |
|
|
|
<StackPanel Margin="20" Orientation="Vertical"> |
|
|
|
<oxy:PlotView |
|
|
|
Height="270" HorizontalAlignment="Stretch" VerticalAlignment="Top" |
|
|
|
Model="{Binding PlotModels[1]}" |
|
|
|
MouseDoubleClick="DataView_CLick" ToolTip="转速曲线"> |
|
|
|
</oxy:PlotView> |
|
|
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
|
|
|
<TextBlock Foreground="White" Text="转速曲线/%" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="10,0,0,2" |
|
|
|
Fill="{StaticResource 配料罐转速_10L}" /> |
|
|
|
<TextBlock Foreground="White" Text="配料罐转速" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="10,0,0,2" |
|
|
|
Fill="{StaticResource 反应釜转速_10L}" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜转速" /> |
|
|
|
|
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="10,0,0,2" |
|
|
|
Fill="{StaticResource 配料罐转速_10L_参考}" /> |
|
|
|
<TextBlock Foreground="White" Text="配料罐转速_参考" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="10,0,0,2" |
|
|
|
Fill="{StaticResource 反应釜转速_10L_参考}" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜转速_参考" /> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<!--#endregion--> |
|
|
|
|
|
|
|
<!--#region 比例阀开度曲线--> |
|
|
|
<StackPanel Margin="20" Orientation="Vertical"> |
|
|
|
<oxy:PlotView |
|
|
|
Height="270" HorizontalAlignment="Stretch" VerticalAlignment="Top" |
|
|
|
Model="{Binding PlotModels[2]}" |
|
|
|
MouseDoubleClick="DataView_CLick" ToolTip="比例阀开度曲线"> |
|
|
|
</oxy:PlotView> |
|
|
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
|
|
|
<TextBlock Foreground="White" Text="比例阀开度曲线/%" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="20,0,0,2" |
|
|
|
Fill="{StaticResource 比例阀开度_10L}" /> |
|
|
|
<TextBlock Foreground="White" Text="比例阀开度" /> |
|
|
|
|
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="20,0,0,2" |
|
|
|
Fill="{StaticResource 比例阀开度_10L_参考}" /> |
|
|
|
<TextBlock Foreground="White" Text="比例阀开度_参考" /> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<!--#endregion--> |
|
|
|
|
|
|
|
<!--#region 压力曲线--> |
|
|
|
<StackPanel Margin="20" Orientation="Vertical"> |
|
|
|
<oxy:PlotView |
|
|
|
Height="270" HorizontalAlignment="Stretch" VerticalAlignment="Top" |
|
|
|
Model="{Binding PlotModels[3]}" |
|
|
|
MouseDoubleClick="DataView_CLick" ToolTip="压力曲线"> |
|
|
|
</oxy:PlotView> |
|
|
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
|
|
|
<TextBlock Foreground="White" Text="压力曲线/Mpa" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="20,0,0,2" |
|
|
|
Fill="{StaticResource 反应釜压力_10L}" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜压力" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="20,0,0,2" |
|
|
|
Fill="{StaticResource 反应釜蒸汽压力_10L}" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜蒸汽压力" /> |
|
|
|
|
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="20,0,0,2" |
|
|
|
Fill="{StaticResource 反应釜压力_10L_参考}" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜压力_参考" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="20,0,0,2" |
|
|
|
Fill="{StaticResource 反应釜蒸汽压力_10L_参考}" /> |
|
|
|
<TextBlock Foreground="White" Text="反应釜蒸汽压力_参考" /> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<!--#endregion--> |
|
|
|
|
|
|
|
<!--#region 重量曲线--> |
|
|
|
<StackPanel Margin="20" Orientation="Vertical"> |
|
|
|
<oxy:PlotView |
|
|
|
Height="270" HorizontalAlignment="Stretch" VerticalAlignment="Top" |
|
|
|
Model="{Binding PlotModels[4]}" |
|
|
|
MouseDoubleClick="DataView_CLick" ToolTip="重量曲线"> |
|
|
|
</oxy:PlotView> |
|
|
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
|
|
|
<TextBlock Foreground="White" Text="重量曲线/kg" /> |
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="20,0,0,2" |
|
|
|
Fill="{StaticResource 冷却水罐重量_10L}" /> |
|
|
|
<TextBlock Foreground="White" Text="冷却水罐重量" /> |
|
|
|
|
|
|
|
<Rectangle |
|
|
|
Width="20" Height="2" Margin="20,0,0,2" |
|
|
|
Fill="{StaticResource 冷却水罐重量_10L_参考}" /> |
|
|
|
<TextBlock Foreground="White" Text="冷却水罐重量_参考" /> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<!--#endregion--> |
|
|
|
<!--#endregion--> |
|
|
|
</UniformGrid> |
|
|
|
</StackPanel> |
|
|
|
<!--#endregion--> |
|
|
|
</UniformGrid> |
|
|
|
<!--#region 总曲线 --> |
|
|
|
</ScrollViewer> |
|
|
|
|
|
|
|
<!--#region 总曲线--> |
|
|
|
<Grid |
|
|
|
x:Name="chartGrid" |
|
|
|
HorizontalAlignment="Stretch" |
|
|
|
VerticalAlignment="Stretch" |
|
|
|
Background="White" |
|
|
|
x:Name="chartGrid" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="White" |
|
|
|
Visibility="Collapsed"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition /> |
|
|
|
<ColumnDefinition Width="200" /> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<oxy:PlotView |
|
|
|
x:Name="chartView" |
|
|
|
Margin="5" |
|
|
|
Background="White" |
|
|
|
Foreground="Black" |
|
|
|
x:Name="chartView" Margin="5" Background="White" Foreground="Black" |
|
|
|
PanCursor="Hand" /> |
|
|
|
<Button |
|
|
|
Grid.Column="1" |
|
|
|
Width="120" |
|
|
|
Height=" 40" |
|
|
|
HorizontalAlignment="Center" |
|
|
|
VerticalAlignment="Center" |
|
|
|
Click="Button_Click" |
|
|
|
Content="退出" /> |
|
|
|
Grid.Column="1" Width="120" Height=" 40" HorizontalAlignment="Center" |
|
|
|
VerticalAlignment="Center" Click="Button_Click" Content="退出" /> |
|
|
|
</Grid> |
|
|
|
<!--#endregion--> |
|
|
|
</Grid> |
|
|
|