| ofs | hex dump | ascii |
|---|
| 0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 40 00 00 00 40 08 06 00 00 00 aa 69 71 | .PNG........IHDR...@...@......iq |
| 0020 | de 00 00 00 04 73 42 49 54 08 08 08 08 7c 08 64 88 00 00 00 09 70 48 59 73 00 00 01 e3 00 00 01 | .....sBIT....|.d.....pHYs....... |
| 0040 | e3 01 a8 53 be 24 00 00 00 19 74 45 58 74 53 6f 66 74 77 61 72 65 00 77 77 77 2e 69 6e 6b 73 63 | ...S.$....tEXtSoftware.www.inksc |
| 0060 | 61 70 65 2e 6f 72 67 9b ee 3c 1a 00 00 10 05 49 44 41 54 78 9c dd 9b 7b 70 54 55 9e c7 3f e7 de | ape.org..<.....IDATx...{pTU..?.. |
| 0080 | 4e 43 de e9 24 20 44 42 78 48 82 3c 75 c4 72 06 88 88 8f 51 24 06 23 4c 40 44 1d c6 99 ad 7d d4 | NC..$.DBxH.<u.r....Q$.#L@D....}. |
| 00a0 | ec 94 ab eb 5a a8 8c cc a2 b3 65 ed ec bb 6a a7 76 c7 b5 74 64 1d 71 c0 11 15 08 e0 f0 08 89 8a | ....Z.....e...j.v..td.q......... |
| 00c0 | 3c 9d 59 83 04 21 09 cb 23 21 e9 24 10 f2 ec 7b 7f fb c7 ed db 7d bb fb 76 e8 3c e0 8f 3d 45 91 | <.Y..!..#!.$...{.....}..v.<..=E. |
| 00e0 | d3 a7 7f f7 9c df f7 fb 3d bf df 39 f7 f4 bd 4a 44 b8 de a5 bc bc dc db 29 9e 1f a3 e9 4f 01 88 | ........=..9...JD.......)....O.. |
| 0100 | 18 bf 4a 25 f0 6f 1b 37 6e ec bd de be a8 eb 49 80 52 eb b4 87 96 7d fd 23 74 ed 05 94 96 2f 22 | ..J%.o.7n......I.R....}.#t..../" |
| 0120 | 10 1c df 14 f3 8c 98 b2 7e db a6 a9 bf 12 f9 a9 79 dd 7c ba 5e 04 94 96 af 5a 89 ae 5e 56 a8 29 | ........~.......y.|.^....Z..^V.) |
| 0140 | 02 84 c6 0d fe 15 11 ab 2a 72 a2 cf 30 5e de f1 fe bb ef 5c 0f bf ae 39 01 25 e5 8f 97 ea 1e ed | ........*r..0^.....\...9.%...... |
| 0160 | 6f 15 cc 12 11 ec d1 34 31 31 50 20 82 a9 34 94 69 20 02 b6 85 69 ca 31 e9 0b bc 58 b1 e5 bd 8f | o......411P...4.i....i.1...X.... |
| 0180 | ae a5 7f d7 8c 80 25 8f 3d b9 50 09 af 28 a5 be 63 a9 6b 8d e3 a3 8f c5 ca 4f bb e8 7c 60 66 03 | ......%.=.P..(..c.k......O..|`f. |
| 01a0 | d0 58 b8 98 3e 6f 06 a3 6a b7 e1 e9 f2 47 cc 0e 53 a4 4a 90 17 76 6c de b8 f7 5a f8 39 ec 04 94 | .X..>o..j....G..S.J..vl...Z.9... |
| 01c0 | ae 58 75 bb a6 e9 af 2a 4d bb 17 07 f0 34 09 f0 80 d6 4a 31 6d 78 c4 64 87 f8 d8 6c e6 20 22 34 | .Xu....*M....4....J1mx.d...l.."4 |
| 01e0 | 16 2d a1 79 f2 bd 60 f6 e1 ab df 4f 6e 6d 05 7a cf 25 80 d0 ac 10 91 1d 0a d6 54 bc bf f1 d0 70 | .-.y..`....Onm.z.%........T....p |
| 0200 | fa 3b 6c 04 3c bc ea 07 d3 94 18 af 2a a5 95 0a 28 00 44 18 21 06 f7 6a ad dc 43 2b 5e 09 e6 36 | .;l.<.......*...(.D.!..j..C+^..6 |
| 0220 | 11 2a 24 8b f7 cd 5c 44 84 0b 45 a5 b4 4c be 2f 04 56 0b f4 e0 3b bd 9b 9c 6f 76 a1 f7 75 d9 04 | .*$...\D..E..L./.V...;...ov..u.. |
| 0240 | 00 88 61 ca fb a6 c8 0b bb b7 fc f6 f8 70 f8 3d 64 02 ca 56 af 9e 20 bd b2 5e d7 b4 15 22 a2 03 | ..a..........p.=d..V.....^...".. |
| 0260 | 08 e0 15 83 05 aa 9d fb 94 9f 14<UserControl x:Class="Tango.MachineStudio.Common.Controls.RealTimeGraphMultiControl"
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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:graphEx="clr-namespace:RealTimeGraphEx.FastGraphs;assembly=RealTimeGraphEx"
xmlns:components="clr-namespace:RealTimeGraphEx.Components;assembly=RealTimeGraphEx"
xmlns:converters="clr-namespace:Tango.MachineStudio.Common.Converters"
xmlns:local="clr-namespace:Tango.MachineStudio.Common.Controls"
mc:Ignorable="d"
d:DesignHeight="150" d:DesignWidth="300">
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<!--RealTimeGraphEx-->
<ResourceDictionary Source="pack://application:,,,/RealTimeGraphEx;component/Resources/Resources.xaml"></ResourceDictionary>
<ResourceDictionary Source="../Resources/MaterialDesign.xaml"></ResourceDictionary>
<ResourceDictionary>
<Style TargetType="ContentControl" x:Key="graphContent">
<Style.Setters>
<Setter Property="ContentTemplate">
<Setter.Value>
<DataTemplate>
<Grid MouseEnter="Graph_MouseEnter" MouseLeave="Graph_MouseLeave" ClipToBounds="True">
<ContentControl Content="{Binding}"></ContentControl>
<Grid Opacity="0.8" HorizontalAlignment="Stretch" VerticalAlignment="Top" ClipToBounds="True" Height="35" Margin="0 -35 0 0">
<StackPanel Orientation="Horizontal" Margin="5" HorizontalAlignment="Right" VerticalAlignment="Top">
<Button Margin="0 0 5 0" Click="OnGraphFullScreen" ToolTip="Full Screen" Width="24" Height="24" BorderBrush="Transparent" Background="{StaticResource AccentColorBrush}" Style="{StaticResource MaterialDesignFloatingActionAccentButton}" >
<materialDesign:PackIcon Kind="Fullscreen" HorizontalAlignment="Right" Width="20" Height="20" Foreground="{StaticResource WhiteBrush}" />
</Button>
<Button Click="OnGraphRemove" ToolTip="Remove" Width="24" Height="24" BorderBrush="Transparent" Background="#FF7777" Style="{StaticResource MaterialDesignFloatingActionAccentButton}" >
<materialDesign:PackIcon Kind="CloseCircle" HorizontalAlignment="Right" Width="20" Height="20" Foreground="{StaticResource WhiteBrush}" />
</Button>
</StackPanel>
</Grid>
</Grid>
</DataTemplate>
</Setter.Value>
</Setter>
</Style.Setters>
</Style>
</ResourceDictionary>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
<Grid>
<!--Temperature-->
<ContentControl Style="{StaticResource graphContent}" Margin="0 0 0 0" MinHeight="5">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="40"/>
<ColumnDefinition Width="438*"/>
</Grid.ColumnDefinitions>
<Border BorderBrush="{StaticResource AccentColorBrush}" BorderThickness="1 1 0 1" Background="#90FFFFFF">
<StackPanel Orientation="Horizontal">
<components:YAxisScroll x:Name="yAxis" Interval="6" Graph="{Binding ElementName=Graph}" Width="35" Foreground="{StaticResource MaterialDesignLightForeground}" VerticalOffset="-5" FontSize="8" StringFormat="#0.0"></components:YAxisScroll>
<components:YAxisTicks x:Name="yAxisTicks" SmallTickTemplate="{StaticResource graphTicksTemplate}" Width="5" SmallTicks="6" Foreground="{StaticResource MaterialDesignLightForeground}" BigTicks="10" Graph="{Binding ElementName=Graph}"></components:YAxisTicks>
</StackPanel>
</Border>
<Border Grid.Column="1" BorderThickness="1" BorderBrush="{StaticResource borderBrush}" Background="{DynamicResource graphBackground}" Margin="5 0 0 0">
<graphEx:RealTimeGraphExMultiLineErase x:Name="Graph" x:FieldModifier="public" Controller="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=Controller}" Antialiased="True" RefreshRate="30" MarkerColor="{StaticResource graphsMarkerColor}" FillGraph="False" Minimum="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=Minimum}" Maximum="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=Maximum}" Stroke="DodgerBlue">
<graphEx:RealTimeGraphExMultiLineErase.Components>
<components:MouseValueToolTip ToolTipTemplate="{StaticResource graphTooltipTemplate}" />
<components:GridLines Rows="4" Columns="6" GridBrush="{DynamicResource graphGridLinesBrush}"></components:GridLines>
</graphEx:RealTimeGraphExMultiLineErase.Components>
<graphEx:RealTimeGraphExMultiLineErase.InnerContent>
<Grid>
<Label Style="{StaticResource graphLabel}">
<StackPanel Orientation="Horizontal">
<TextBlock VerticalAlignment="Center" Text="{Binding RelativeSource={RelativeSource AncestorType=UserControl,AncestorLevel=2},Path=SensorName,FallbackValue='Dispensers Motors'}"></TextBlock>
<TextBlock Foreground="Gray" Margin="10 0 0 0" FontFamily="Sylfaen Regular" VerticalAlignment="Center" Text="{Binding RelativeSource={RelativeSource AncestorType=UserControl,AncestorLevel=2},Path=SensorUnits,FallbackValue='(hz)'}"></TextBlock>
</StackPanel>
</Label>
</Grid>
</graphEx:RealTimeGraphExMultiLineErase.InnerContent>
</graphEx:RealTimeGraphExMultiLineErase>
</Border>
<Border Grid.Column="2" Margin="5 0 0 0" HorizontalAlignment="Right" Opacity="0.8">
<components:YAxisLegends VerticalAlignment="Center" Margin="0 0 5 0" Graph="{Binding ElementName=Graph}" Width="70" FlowDirection="RightToLeft" LegendTemplate="{StaticResource graphLegendTemplate}">
</components:YAxisLegends>
</Border>
</Grid>
</ContentControl>
</Grid>
</UserControl>
|