| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446 |
- <UserControl x:Class="ivf_tl_Operate.View.ChartPageView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:ivf_tl_Operate.View"
- xmlns:customControl="clr-namespace:ivf_tl_CustomControls;assembly=ivf_tl_CustomControls_Surface"
- xmlns:customUserControl="clr-namespace:ivf_tl_Operate.CustomUserControls"
- xmlns:oxy="http://oxyplot.org/wpf"
- mc:Ignorable="d"
- d:DesignHeight="2736" d:DesignWidth="1824">
- <Grid x:Name="_root">
- <Grid.RowDefinitions>
- <RowDefinition Height="250"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <!--顶部信息-->
- <Border Grid.Row="0" Background="{StaticResource BannerTopFill}">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="350"/>
- <ColumnDefinition Width="1"/>
- <ColumnDefinition Width="1"/>
- <ColumnDefinition Width="auto"/>
- <ColumnDefinition Width="auto"/>
- <ColumnDefinition Width="auto"/>
- <ColumnDefinition Width="auto"/>
- </Grid.ColumnDefinitions>
- <!--<customUserControl:BackButton Grid.Column="0" MouseUp="BackButton_MouseUp"/>-->
- <customControl:ButtonLeftImage Grid.Column="0" Content="{DynamicResource C0044}" Click="Return_Click" Width="350" Height="250" IconWidth="46" IconHeight="46" FontSize="44" FontWeight="Medium" Foreground="#4D75AC" BorderThickness="0" Background="Transparent" IconSource="/ivf_tl_Operate;component/Resources/Image/button_return.png" IconMargin="0 0 10 0"/>
-
- <Border Grid.Column="1" Background="#FFFFFF"/>
- <Border Grid.Column="2" Background="#DFE0E4"/>
-
- <Border Grid.Column="3" Width="409" Height="133" Margin="20 0 0 0" MouseUp="Border_MouseUp" Name="_buttonLeftData">
- <Border.Background>
- <ImageBrush ImageSource="/ivf_tl_Operate;component/Resources/Image/chart_date.png" Stretch="UniformToFill"/>
- </Border.Background>
- <StackPanel Orientation="Horizontal">
- <Image x:Name="leftDataDis" Visibility="Hidden" Width="60" Height="60" HorizontalAlignment="Left" Source="/ivf_tl_Operate;component/Resources/Image/date_disable.png" Stretch="Fill" Margin="20,0,0,0"></Image>
- <TextBlock x:Name="leftDataString" Text="{Binding LeftDateString,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="50" Foreground="Gray" Margin="5,34,103,35"/>
- </StackPanel>
- </Border>
-
- <TextBlock Grid.Column="4" Text="-" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="#B0B4B9" FontSize="44" Margin="20 0 20 0"/>
-
- <Border Grid.Column="5" Width="409" Height="133" MouseUp="Border_MouseUp_GetRightDate" Name="_buttonRightData">
- <Border.Background>
- <ImageBrush ImageSource="/ivf_tl_Operate;component/Resources/Image/chart_date.png" Stretch="UniformToFill"/>
- </Border.Background>
- <StackPanel Orientation="Horizontal">
- <Image x:Name="rightDataDis" Visibility="Hidden" Width="60" Height="60" HorizontalAlignment="Left" Source="/ivf_tl_Operate;component/Resources/Image/date_disable.png" Stretch="Fill" Margin="20,0,10,0"></Image>
- <TextBlock x:Name="rightDataString" Text="{Binding RightDateString,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="50" Foreground="Gray"/>
- </StackPanel>
- </Border>
- <Border Grid.Column="6" Width="257" Height="137" Margin="20,0,20,0" MouseUp="Border_MouseUp_1" x:Name="_buttonSearch" >
- <Border.Background>
- <ImageBrush ImageSource="/ivf_tl_Operate;component/Resources/Image/chart_button.png" Stretch="UniformToFill"/>
- </Border.Background>
- <TextBlock x:Name="searchSure" Text="{DynamicResource C0159}" FontSize="44" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center" />
- </Border>
- <!--<Border Grid.Column="7" Width="257" Height="137" Margin="20 0 0 0" MouseUp="Border_Export">
- <Border.Background>
- <ImageBrush ImageSource="/Incubator;component/Image/chart_button.png" Stretch="UniformToFill"/>
- </Border.Background>
- <TextBlock Text="批量导出" FontSize="44" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center" />
- </Border>-->
- </Grid>
- </Border>
- <!--列表-->
- <Border Grid.Row="2" Background="{StaticResource BorderStageFill}">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="278"/>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="auto"/>
- </Grid.RowDefinitions>
- <!--腔室选择-->
- <StackPanel Grid.Row="0" Width="1726" Height="169" Margin="49 109 49 0" Orientation="Horizontal" x:Name="_buttonHouse">
- <StackPanel.Background>
- <ImageBrush ImageSource="/ivf_tl_Operate;component/Resources/Image/chart_bar.png" Stretch="None" AlignmentX="Left" AlignmentY="Top" />
- </StackPanel.Background>
-
- <customUserControl:ChartButton x:Name="_chartButton1" Tag="1" Content="1" MouseUp="_chartButton1_MouseUp" Width="180"/>
-
- <Rectangle x:Name="r1" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
- <customUserControl:ChartButton x:Name="_chartButton2" Tag="2" Content="2" MouseUp="_chartButton1_MouseUp" />
- <Rectangle x:Name="r2" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
- <customUserControl:ChartButton x:Name="_chartButton3" Tag="3" Content="3" MouseUp="_chartButton1_MouseUp" />
- <Rectangle x:Name="r3" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
- <customUserControl:ChartButton x:Name="_chartButton4" Tag="4" Content="4" MouseUp="_chartButton1_MouseUp" />
- <Rectangle x:Name="r4" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
- <customUserControl:ChartButton x:Name="_chartButton5" Tag="5" Content="5" MouseUp="_chartButton1_MouseUp" />
- <Rectangle x:Name="r5" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
- <customUserControl:ChartButton x:Name="_chartButton6" Tag="6" Content="6" MouseUp="_chartButton1_MouseUp" />
- <Rectangle x:Name="r6" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
- <customUserControl:ChartButton x:Name="_chartButton7" Tag="7" Content="7" MouseUp="_chartButton1_MouseUp" />
- <Rectangle x:Name="r7" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
- <customUserControl:ChartButton x:Name="_chartButton8" Tag="8" Content="8" MouseUp="_chartButton1_MouseUp" />
- <Rectangle x:Name="r8" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
- <customUserControl:ChartButton x:Name="_chartButton9" Tag="9" Content="9" MouseUp="_chartButton1_MouseUp" />
- <Rectangle x:Name="r9" Width="1" Height="60" Fill="Gray" VerticalAlignment="Top" Margin="0 44 0 0"/>
- <customUserControl:ChartButton x:Name="_chartButton10" Tag="10" Content="10" MouseUp="_chartButton1_MouseUp" Width="172" />
- </StackPanel>
- <Grid Grid.Row="0" Width="1726" Height="169" Margin="49 109 49 0" x:Name="_buttonNewHouse" Visibility="Collapsed">
- <Grid.Background>
- <ImageBrush ImageSource="/ivf_tl_Operate;component/Resources/Image/chart_bar.png" Stretch="None" AlignmentX="Left" AlignmentY="Top" />
- </Grid.Background>
- <Label Foreground="#6E7276" FontSize="50" HorizontalAlignment="Center" VerticalAlignment="Center">2号舱室</Label>
- </Grid>
- <Grid x:Name="_gridRow1_close" Grid.Row="1" Height="80" Margin="0 10 0 10" Visibility="Visible">
- <StackPanel Margin="0 0 50 0" Grid.Row="0" Orientation="Horizontal" VerticalAlignment="Top" HorizontalAlignment="Right">
- <Border Visibility="Collapsed" x:Name="_buttonWeekHis1" Margin="0,0,40,0" Background="White" Width="140" Height="60" CornerRadius="25" MouseDown="weekHis1">
- <Label Foreground="Gray" FontSize="25" HorizontalAlignment="Center" VerticalAlignment="Center">数据分析</Label>
- </Border>
- <Border x:Name="_buttonWeekHis" Margin="0,0,40,0" Background="White" Height="60" CornerRadius="25" MouseDown="weekHis">
- <Label Foreground="Gray" FontSize="25" HorizontalAlignment="Center" VerticalAlignment="Center" Content="{DynamicResource C0254}"></Label>
- </Border>
- <Border Visibility="Collapsed" x:Name="_button1" Margin="0,0,40,0" Background="White" Width="110" Height="60" CornerRadius="25" MouseDown="restHisPlot">
- <Label Foreground="Gray" FontSize="25" HorizontalAlignment="Center" VerticalAlignment="Center">重置</Label>
- </Border>
- <!--<Border x:Name="_button2" Margin="0,0,40,0" Background="White" Width="110" Height="60" CornerRadius="25" MouseDown="Export_MouseDown">
- <Label x:Name="exportState" Foreground="Gray" FontSize="25" HorizontalAlignment="Center" VerticalAlignment="Center">导出</Label>
- </Border>-->
- </StackPanel>
- </Grid>
- <StackPanel x:Name="_gridRow2_open" Grid.Row="2" Width="1724" Margin="0 100 0 0" Visibility="Collapsed">
- <TextBlock Height="55" x:Name="_temA_TextBlock" Text="1号舱室温度数据分析" FontSize="44" Foreground="Gray" VerticalAlignment="Bottom" HorizontalAlignment="Center"/>
- <ScrollViewer PreviewMouseWheel="ScrollViewer_PreviewMouseWheel" ManipulationBoundaryFeedback="ScrollViewer_ManipulationBoundaryFeedback" HorizontalAlignment="Center" MaxWidth="1724" Height="700" Margin="0 50 0 0" PanningMode="HorizontalOnly" CanContentScroll="True" VerticalScrollBarVisibility="Disabled" HorizontalScrollBarVisibility="Hidden">
- <StackPanel>
- <StackPanel Visibility="Visible" x:Name="_temFenXi_StackPanel" Orientation="Horizontal">
- <!--第一列-->
- <!--
- <StackPanel>
- <Border CornerRadius="30 0 0 0" Background="#4D75AC" Width="345" Height="150"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- <Label Padding="60 0 0 0" Content="平均温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- <Label Padding="60 0 0 0" Content="最高温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- <Label Padding="60 0 0 0" Content="最低温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- </StackPanel>
- -->
- <!--第二列-->
- <!--
- <StackPanel>
- <Border CornerRadius="0 0 0 0" Background="#5E88C1" Width="345" Height="150">
-
- </Border>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="平均温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="341" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="最高温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="341" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="最低温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="341" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="341" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- </StackPanel>
- -->
- <!--第三列-->
- <!--
- <StackPanel>
- <Border CornerRadius="0 30 0 0" Background="#4D75AC" Width="345" Height="150"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="平均温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="最高温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="最低温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- </StackPanel>-->
- </StackPanel>
- <Grid Width="{Binding ElementName=_temFenXi_StackPanel,Path=Width}">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="345"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <StackPanel Grid.Column="0" Orientation="Horizontal">
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- <Label Padding="60 0 0 0" Content="累计异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Grid.Column="0" VerticalAlignment="Bottom" Width="345" Height="1" Fill="#6E7276"/>
- <Rectangle Grid.Column="1" HorizontalAlignment="Left" Width="2" Height="109" Fill="#DDDEE0"/>
- <Rectangle Grid.Column="1" HorizontalAlignment="Right" Width="1" Height="109" Fill="#6E7276"/>
- <Rectangle Grid.Column="1" VerticalAlignment="Bottom" Height="1" Fill="#6E7276"/>
- <Label Grid.Column="1" x:Name="_allTemErrorTime_Label" Margin="2 0 2 1" Background="#F3F5F6" Content="123" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="36" Foreground="#6E7276"/>
- </Grid>
- </StackPanel>
- </ScrollViewer>
- </StackPanel>
- <StackPanel x:Name="_gridRow3_open" Grid.Row="3" Width="1724" Margin="0 100 0 0" Visibility="Collapsed">
- <TextBlock Height="55" x:Name="_preA_TextBlock" Text="1号舱室气压数据分析" FontSize="44" Foreground="Gray" VerticalAlignment="Bottom" HorizontalAlignment="Center"/>
- <ScrollViewer PreviewMouseWheel="ScrollViewer_PreviewMouseWheel" ManipulationBoundaryFeedback="ScrollViewer_ManipulationBoundaryFeedback" HorizontalAlignment="Center" MaxWidth="1724" Height="810" Margin="0 50 0 0" PanningMode="Both" CanContentScroll="True" VerticalScrollBarVisibility="Disabled" HorizontalScrollBarVisibility="Hidden">
- <StackPanel>
- <StackPanel Visibility="Visible" x:Name="_preFenXi_StackPanel" Orientation="Horizontal">
- <!--第一列-->
- <!--
- <StackPanel>
- <Border CornerRadius="30 0 0 0" Background="#4D75AC" Width="345" Height="150"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- <Label Padding="60 0 0 0" Content="平均温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- <Label Padding="60 0 0 0" Content="最高温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- <Label Padding="60 0 0 0" Content="最低温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- </StackPanel>
- -->
- <!--第二列-->
- <!--
- <StackPanel>
- <Border CornerRadius="0 0 0 0" Background="#5E88C1" Width="345" Height="150">
- </Border>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="平均温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="341" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="最高温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="341" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="最低温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="341" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="341" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="341" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- </StackPanel>
- -->
- <!--第三列-->
- <!--
- <StackPanel>
- <Border CornerRadius="0 30 0 0" Background="#4D75AC" Width="345" Height="150"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="平均温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="最高温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="最低温度" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#F3F5F6" Width="342" Height="109"/>
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- <StackPanel Orientation="Horizontal">
- <Rectangle Width="2" Height="109" Fill="#DDDEE0"/>
- <Label Padding="60 0 0 0" Content="单日异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- </StackPanel>
- <Rectangle Width="345" Height="1" Fill="#6E7276"/>
- </StackPanel>-->
- </StackPanel>
- <Grid Width="{Binding ElementName=_preFenXi_StackPanel,Path=Width}">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="345"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <StackPanel Grid.Column="0" Orientation="Horizontal">
- <Rectangle Width="1" Height="109" Fill="#6E7276"/>
- <Label Padding="60 0 0 0" Content="累计异常时长" Foreground="#4D75AC" VerticalContentAlignment="Center" FontSize="40" Background="#E4E8ED" Width="342" Height="109"/>
- <Rectangle Width="2" Height="109" Fill="#FAFAFA"/>
- </StackPanel>
- <Rectangle Grid.Column="0" VerticalAlignment="Bottom" Width="345" Height="1" Fill="#6E7276"/>
- <Rectangle Grid.Column="1" HorizontalAlignment="Left" Width="2" Height="109" Fill="#DDDEE0"/>
- <Rectangle Grid.Column="1" HorizontalAlignment="Right" Width="1" Height="109" Fill="#6E7276"/>
- <Rectangle Grid.Column="1" VerticalAlignment="Bottom" Height="1" Fill="#6E7276"/>
- <Label Grid.Column="1" x:Name="_allPreErrorTime_Label" Margin="2 0 2 1" Background="#E4E8ED" Content="123" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="36" Foreground="#6E7276"/>
- </Grid>
- </StackPanel>
- </ScrollViewer>
- </StackPanel>
- <!--历史报表-->
- <StackPanel x:Name="_gridRow2_close" Grid.Row="2" Height="725" Margin="0 180 0 0" Visibility="Visible">
- <TextBlock Height="55" Text="{DynamicResource C0256}" FontSize="44" Foreground="Gray" VerticalAlignment="Bottom" HorizontalAlignment="Center"/>
- <oxy:PlotView Height="620" Margin="0 50 0 0" x:Name="_plot" Model="{Binding RealModel}"/>
- <!--<oxy:Plot x:Name="_plot" >-->
- <!--Title="温度压力曲线"-->
- <!--
- <oxy:Plot.Axes>
- <oxy:DateTimeAxis Title="时间"/>
- <oxy:LinearAxis Title="数值"/>
- </oxy:Plot.Axes>
- <oxy:Plot.Series>
- <oxy:LineSeries x:Name="_seriesTemprature" FontSize="30" Title="温度" ItemsSource="{Binding TempDataPoints}" MarkerType="Circle" />
- <oxy:LineSeries x:Name="_seriesPressure" FontSize="30" Title="压力" ItemsSource="{Binding PressureDataPoints}" MarkerType="Circle" />
- </oxy:Plot.Series>
- </oxy:Plot>-->
- </StackPanel>
- <!--实时报表-->
- <StackPanel x:Name="_gridRow3_close" Grid.Row="3" Height="725" Margin="0 250 0 0" Visibility="Visible">
- <TextBlock Height="55" Text="{DynamicResource C0255}" FontSize="44" Foreground="Gray" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <oxy:PlotView Height="620" Margin="0 50 0 0" x:Name="_plotView" Model="{Binding HistoryModel}" IsMouseWheelEnabled="False"/>
- </StackPanel>
- <TextBlock x:Name="_gridRow4_close" Grid.Row="4" Text="{Binding Message}" Margin="20"/>
- </Grid>
- </Border>
- </Grid>
- </UserControl>
|