| ofs | hex dump | ascii |
|---|
| 0000 | 40 60 02 20 cd e3 03 00 41 0c 04 00 41 0c 04 00 41 0c 04 00 41 0c 04 00 41 0c 04 00 41 0c 04 00 | @`......A...A...A...A...A...A... |
| 0020 | 41 0c 04 00 41 0c 04 00 41 0c 04 00 41 0c 04 00 41 0c 04 00 41 0c 04 00 21 07 04 00 00 00 00 00 | A...A...A...A...A...A...!....... |
| 0040 | 0e b5 01 91 00 90 00 98 02 68 00 98 01 99 80 68 90 47 0e bd 0e b5 01 91 00 90 01 98 28 b1 00 98 | .........h.....h.G..........(... |
| 0060 | 42 68 00 98 01 99 80 68 90 47 0e bd ad f1 08 0d 00 90 00 98 10 28 01 d2 01 20 0f e0 00 98 c0 0a | Bh.....h.G...........(.......... |
| 0080 | 01 d1 02 20 0a e0 00 98 80 0c 01 d1 03 20 05 e0 00 98 40 0e 01 d1 04 20 00 e0 05 20 02 b0 70 47 | ..................@...........pG |
| 00a0 | ad f1 08 0d 00 90 00 98 80 28 01 d2 01 20 0f e0 00 98 80 0b 01 d1 02 20 0a e0 00 98 40 0d 01 d1 | .........(..................@... |
| 00c0 | 03 20 05 e0 00 98 00 0f 01 d1 04 20 00 e0 05 20 02 b0 70 47 ad f1 08 0d 00 90 00 98 00 28 01 d5 | ..................pG.........(.. |
| 00e0 | 0a 20 17 e0 00 98 80 28 01 da 01 20 12 e0 00 98 b0 f5 80 4f 01 da 02 20 0c e0 00 98 b0 f5 00 1f | .......(...........O............ |
| 0100 | 01 da 03 20 06 e0 00 98 b0 f1 80 5f 01 da 04 20 00 e0 05 20 02 b0 70 47 ad f1 08 0d 00 90 00 98 | ..........._..........pG........ |
| 0120 | 00 28 04 d5 00 98 40 42 40 00 40 1e 01 e0 00 98 40 00 02 b0 70 47 08 b5 00 90 00 98 ff f7 ec ff | .(....@B@.@.....@...pG.......... |
| 0140 | ff f7 ae ff 08 bd 0e b5 8d e8 03 00 9d e8 03 00 08 1c 02 90 02 98 18 b9 00 98 ff f7 a1 ff 19 e0 | ................................ |
| 0160 | 02 98 08 28 01 d2 05 20 14 e0 02 98 80 0a 01 d1 06 20 0f e0 02 98 40 0c 01 d1 07 20 0a e0 02 98 | ...(..................@......... |
| 0180 | 00 0e 01 d1 08 20 05 e0 02 98 c0 0f 01 d1 09 20 00 e0 0a 20 0e bd 30 b5 ad f1 0c 0d 8d e8 03 00 | ......................0......... |
| 01a0 | 9d e8 03 00 00 29 11 da 9d e8 30 00 00 21 60 42 4f f0 01 02 4f f0 00 03 4f ea d0 74 61 eb 05 01 | .....)....0..!`BO...O...O..ta... |
| 01c0 | 40 00 49 00 21 43 80 1a 99 41 05 e0 9d e8 0c 00 59 00 d0 0f 01 43 50 00 03 b0 30 bd 0e b5 8d e8 | @.I.!C...A......Y....CP...0..... |
| 01e0 | 03 00 9d e8 03 00 ff f7 d6 ff ff f7 ac ff 0e bd 08 b5 00 90 00 98 00 68 ff f7 38 ff 01 46 00 98 | .......................h..8..F.. |
| 0200 | 80 68 40 18 08 bd ad f1 10 0d 01 91 00 90 00 20 02 90 00 98 80 28 34 d3 02 99 48 1c 01 9a 02 90 | .h@..................(4...H..... |
| 0220 | 00 98 40 f0 80 00 88 54 00 98 c0 09 00 90 00 98 80 28 26 d3 02 99 48 1c 01 9a 02 90 00 98 40 f0 | ..@....T.........(&...H.......@. |
| 0240 | 80 00 88 54 00 98 c0 09 00 90 00 98 80 28 18 d3 02 99 48 1c 01 9a 02 90 00 98 40 f0 80 00 88 54 | ...T.........(....H.......@....T |
| 0260 | 00 98 c0 09 00 90 00 98 80 28 0a d3 02 99 48 1c 01 9a 02 90 00 98 40 f0 80 00 88 54 00 98 c0 09 | .........(....H.......@....T.... |
| 0280 | 00 90 02 98 01 9a 41 1c 02 91 9d f8 00 10 81 54 02 98 04 b0 70 47 0e b5 01 91 00 90 00 98 00 28 | ......A........T....pG.........( |
| 02a0 | 2a d5 00 98 01 99 40 f0 80 00 08 70 00 98 01 99 c0 11 40 f0 80 00 48 70 00 98 01 99 80 13 40 f0 | *.....@....p......@...Hp......@. |
| 02c0 | 80 00 88 70 00 98 01 99 40 15 40 f0 80 00 c8 70 00 98 01 99 00 17 40 f0 80 00 08 71 01 99 ff 20 | ...p....@.@....p......@....q.... |
| 02e0 | 08 72 01 <UserControl x:Class="Tango.MachineStudio.Technician.PropertiesTemplates.MultiGraphTemplate"
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:mahapps="http://metro.mahapps.com/winfx/xaml/controls"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:colorPicker="clr-namespace:Tango;assembly=Tango.ColorPicker"
xmlns:sharedConverters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI"
xmlns:converters="clr-namespace:Tango.MachineStudio.Technician.Converters"
xmlns:items="clr-namespace:Tango.MachineStudio.Technician.TechItems"
xmlns:local="clr-namespace:Tango.MachineStudio.Technician.PropertiesTemplates"
mc:Ignorable="d"
d:DesignHeight="600" d:DesignWidth="300" d:DataContext="{d:DesignInstance Type=items:SingleGraphItem, IsDesignTimeCreatable=False}">
<UserControl.Resources>
<converters:MonitorsToMultiChannleMonitorsConverter x:Key="MonitorsToMultiChannleMonitorsConverter" />
<sharedConverters:BooleanInverseConverter x:Key="BooleanInverseConverter" />
<converters:SecondsToTimeSpanConverter x:Key="SecondsToTimeSpanConverter" />
<Style TargetType="{x:Type TabItem}" BasedOn="{StaticResource {x:Type TabItem}}">
<Setter Property="mahapps:ControlsHelper.HeaderFontSize" Value="14" />
<Setter Property="Margin" Value="2" />
</Style>
</UserControl.Resources>
<Grid>
<StackPanel>
<GroupBox Header="INPUT">
<StackPanel>
<TextBlock FontSize="10">Selected Input</TextBlock>
<ComboBox Margin="0 5 0 0" ItemsSource="{Binding Adapter.TechMonitors,Converter={StaticResource MonitorsToMultiChannleMonitorsConverter}}" SelectedItem="{Binding TechMonitor,Mode=TwoWay}" DisplayMemberPath="Description" />
</StackPanel>
</GroupBox>
<GroupBox Header="GRAPH" Margin="0 10 0 0">
<StackPanel>
<StackPanel Margin="0 10 0 0">
<TextBlock HorizontalAlignment="Center" FontWeight="SemiBold" Foreground="Gray">
<Run>FIFO CAPACITY:</Run>
<Run Text="{Binding Duration,Converter={StaticResource SecondsToTimeSpanConverter},Mode=OneWay,StringFormat='hh\\:mm\\:ss'}"></Run>
</TextBlock>
<Slider Margin="0 5 0 0" Minimum="1" Maximum="3600" TickFrequency="1" IsSnapToTickEnabled="True" Value="{Binding Duration}"></Slider>
<TextBlock FontSize="10" Margin="0 20 0 0">Decimal Places</TextBlock>
<mahapps:NumericUpDown Background="Transparent" Margin="0 5 0 0" HasDecimals="False" Minimum="0" Maximum="4" Value="{Binding DecimalPlaces}" HorizontalContentAlignment="Center" Foreground="Gray" />
</StackPanel>
<StackPanel Margin="0 10" IsEnabled="{Binding UseAutoRange,Converter={StaticResource BooleanInverseConverter}}">
<UniformGrid Columns="2" Margin="0 5 0 0" IsEnabled="{Binding UseMinMax}">
<StackPanel Margin="0 0 5 0">
<TextBlock>Minimum</TextBlock>
<mahapps:NumericUpDown HasDecimals="True" HorizontalContentAlignment="Center" BorderBrush="Gainsboro" Foreground="Gray" Margin="0 5 0 0" Minimum="-1000000" Maximum="1000000" Value="{Binding Min,Mode=TwoWay}"></mahapps:NumericUpDown>
</StackPanel>
<StackPanel Margin="5 0 0 0">
<TextBlock>Maximum</TextBlock>
<mahapps:NumericUpDown HasDecimals="True" HorizontalContentAlignment="Center" BorderBrush="Gainsboro" Foreground="Gray" Margin="0 5 0 0" Minimum="{Binding Min}" Maximum="1000000" Value="{Binding Max,Mode=TwoWay}"></mahapps:NumericUpDown>
</StackPanel>
</UniformGrid>
<Button Margin="0 10 0 0" Command="{Binding ResetMinMaxToDefaultCommand}" Style="{StaticResource MaterialDesignFlatButton}">Set To Default</Button>
</StackPanel>
<CheckBox IsChecked="{Binding UseAutoRange}">Auto Range</CheckBox>
<CheckBox Margin="0 10 0 0" IsChecked="{Binding IsPaused}">Pause</CheckBox>
<Button Margin="0 10" Command="{Binding ClearCommand}">CLEAR</Button>
</StackPanel>
</GroupBox>
<GroupBox Header="CSV RECORDING">
<StackPanel Margin="0 10">
<DockPanel>
<Button HorizontalAlignment="Left" ToolTip="Record this graph data. When stopped, the data will be saved to a csv file." Command="{Binding ToggleRecordingCommand}">
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon VerticalAlignment="Center" Kind="Record" Foreground="#FF6D6D">
<materialDesign:PackIcon.Style>
<Style TargetType="materialDesign:PackIcon">
<Setter Property="Opacity" Value="1"></Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding IsRecording}" Value="True">
<DataTrigger.EnterActions>
<BeginStoryboard Name="blink">
<Storyboard>
<DoubleAnimationUsingKeyFrames RepeatBehavior="Forever" Storyboard.TargetProperty="Opacity" FillBehavior="Stop">
<DiscreteDoubleKeyFrame KeyTime="00:00:00" Value="0" />
<DiscreteDoubleKeyFrame KeyTime="00:00:0.5" Value="1" />
<DiscreteDoubleKeyFrame KeyTime="00:00:1" Value="1" />
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>
<DataTrigger.ExitActions>
<RemoveStoryboard BeginStoryboardName="blink" />
</DataTrigger.ExitActions>
</DataTrigger>
</Style.Triggers>
</Style>
</materialDesign:PackIcon.Style>
</materialDesign:PackIcon>
<TextBlock Margin="10 0 0 0">
<TextBlock.Style>
<Style TargetType="TextBlock">
<Setter Property="Text" Value="Start Recording"></Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding IsRecording}" Value="True">
<Setter Property="Text" Value="Stop Recording"></Setter>
</DataTrigger>
</Style.Triggers>
</Style>
</TextBlock.Style>
</TextBlock>
</StackPanel>
</Button>
<TextBlock DockPanel.Dock="Right" HorizontalAlignment="Center" VerticalAlignment="Center" FontFamily="digital-7" FontSize="24" Text="{Binding RecordingTime,StringFormat=hh\\:mm\\:ss,TargetNullValue='00:00:00'}"></TextBlock>
</DockPanel>
</StackPanel>
</GroupBox>
</StackPanel>
</Grid>
</UserControl>
|