| ofs | hex dump | ascii |
|---|
| 0000 | 4f 54 54 4f 00 0c 00 80 00 03 00 40 43 46 46 20 70 31 9f 6d 00 00 0f 18 00 00 c0 4f 44 53 49 47 | OTTO.......@CFF.p1.m.......ODSIG |
| 0020 | d1 bd 29 02 00 01 b1 4c 00 00 03 e8 47 50 4f 53 e5 01 d1 0e 00 00 cf 68 00 00 cb 26 47 53 55 42 | ..)....L....GPOS.......h...&GSUB |
| 0040 | ea e1 bf 70 00 01 9a 90 00 00 10 10 4f 53 2f 32 cb 60 29 2e 00 00 01 30 00 00 00 60 63 6d 61 70 | ...p........OS/2.`)....0...`cmap |
| 0060 | 2b ed 7e 09 00 00 09 1c 00 00 05 dc 68 65 61 64 03 64 c9 ae 00 00 00 cc 00 00 00 36 68 68 65 61 | +.~.........head.d.........6hhea |
| 0080 | 1a 5f 0d 28 00 00 01 04 00 00 00 24 68 6d 74 78 2e a5 11 68 00 01 aa a0 00 00 06 ac 6d 61 78 70 | ._.(.......$hmtx...h........maxp |
| 00a0 | 01 ab 50 00 00 00 01 28 00 00 00 06 6e 61 6d 65 c2 2c f4 b2 00 00 01 90 00 00 07 8c 70 6f 73 74 | ..P....(....name.,..........post |
| 00c0 | fe ca 00 a7 00 00 0e f8 00 00 00 20 00 01 00 00 00 01 01 89 e3 83 fe e8 5f 0f 3c f5 00 03 0d 05 | ........................_.<..... |
| 00e0 | 00 00 00 00 cb 6a ba 87 00 00 00 00 cb 6a ba 87 fd f2 fc ac 0f 86 0c 6e 00 00 00 03 00 02 00 00 | .....j.......j.........n........ |
| 0100 | 00 00 00 00 00 01 00 00 0a 49 fd 44 02 9b 10 46 fd f2 fd f2 0f 86 00 01 00 00 00 00 00 00 00 00 | .........I.D...F................ |
| 0120 | 00 00 00 00 00 00 01 ab 00 00 50 00 01 ab 00 00 00 02 06 b4 01 90 00 05 00 04 09 1d 08 77 00 00 | ..........P..................w.. |
| 0140 | 01 d3 09 1d 08 77 00 00 06 36 00 a6 02 ed 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 af 40 00 | .....w...6....................@. |
| 0160 | 20 6b 00 00 00 00 00 00 00 00 44 75 72 6f 00 40 00 20 fb 04 0a 49 fd 44 02 9b 0b 97 04 09 00 00 | .k........Duro.@.....I.D........ |
| 0180 | 00 13 00 00 00 00 06 f5 09 1a 00 00 00 20 00 0c 00 00 00 1e 01 6e 00 01 00 00 00 00 00 00 00 46 | .....................n.........F |
| 01a0 | 00 00 00 01 00 00 00 00 00 01 00 05 00 46 00 01 00 00 00 00 00 02 00 07 00 4b 00 01 00 00 00 00 | .............F...........K...... |
| 01c0 | 00 03 00 26 00 52 00 01 00 00 00 00 00 04 00 05 00 46 00 01 00 00 00 00 00 05 00 29 00 78 00 01 | ...&.R...........F.........).x.. |
| 01e0 | 00 00 00 00 00 06 00 0d 00 a1 00 01 00 00 00 00 00 07 00 21 00 ae 00 01 00 00 00 00 00 08 00 08 | ...................!............ |
| 0200 | 00 cf 00 01 00 00 00 00 00 09 00 08 00 d7 00 01 00 00 00 00 00 0a 00 01 00 df 00 01 00 00 00 00 | ................................ |
| 0220 | 00 0b 00 10 00 e0 00 01 00 00 00 00 00 0c 00 01 00 df 00 01 00 00 00 00 00 0d 01 1a 00 f0 00 01 | ................................ |
| 0240 | 00 00 00 00 00 0e 00 10 00 e0 00 03 00 01 04 09 00 00 00 8c 02 0a 00 03 00 01 04 09 00 01 00 0a | ................................ |
| 0260 | 02 96 00 03 00 01 04 09 00 02 00 0e 02 a0 00 03 00 01 04 09 00 03 00 4c 02 ae 00 03 00 01 04 09 | .......................L........ |
| 0280 | 00 04 00 1a 02 fa 00 03 00 01 04 09 00 05 00 52 03 14 00 03 00 01 04 09 00 06 00 1a 02 fa 00 03 | ...............R................ |
| 02a0 | 00 01 04 09 00 07 00 42 03 66 00 03 00 01 04 09 00 08 00 10 03 a8 00 03 00 01 04 09 00 09 00 10 | .......B.f...................... |
| 02c0 | 03 b8 00 03 00 01 04 09 00 0a 00 02 03 c8 00 03 00 01 04 09 00 0b 00 20 03 ca 00 03 00 01 04 09 | ................................ |
| 02e0 | 00 0c 00 02 03 c8 00 03 00 01 04 09 00 0d 02 34 03 ea 00 03 00 01 04 09 00 0e 00 20 03 ca 43 6f | ...............4..............Co |
| 0300 | 70 79 72 69 67 68 74 20 a9 20 32 30 31 31 2d 32 30 31 32 20 44 75 72 6f 74 79 70 65 2c 20 77 77 | pyright...2011-2012.Durotype,.ww |
| 0320 | 77 2e 64 75 72 6f 74 79 70 65 2e 63 6f 6d 2e 20 41 6c 6c 20 72 69 67 68 74 73 20 72 65 73 65 72 | w.durotype.com..All.rights.reser |
| 0340 | 76 65 64 2e 46 6c 65 78 6f 52 65 67 75 6c 61 72 44 75 72 6f 74 79 70 65 20 2d 20 46 6c 65 78 6f | ved.FlexoRegularDurotype.-.Flexo |
| 0360 | 20 2d 20 32 30 31 32 20 2d 20 56 65 72 73 69 6f 6e 20 31 2e 30 36 56 65 72 73 69 6f 6e 20 31 2e | .-.2012.-.Version.1.06Version.1. |
| 0380 | 30 36 20 20 20 20 20 20 20 20 20 20 55 6c 74 72 61 50 72 65 63 69 73 69 6f 6e 20 46 6f 6e 74 46 | 06..........UltraPrecision.FontF |
| 03a0 | 6c 65 78 6f 2d 52 65 67 75 6c 61 72 46 6c 65 78 6f 20 69 73 20 61 20 74 72 61 64 65 6d 61 72 6b | lexo-RegularFlexo.is.a.trademark |
| 03c0 | 20 6f 66 20 44 75 72 6f 74 79 70 65 2e 44 75 72 6f 74 79 70 65 42 65 6e 20 42 6c 6f 6d 20 77 77 | .of.Durotype.DurotypeBen.Blom.ww |
| 03e0 | 77 2e 64 75 72 6f 74 79 70 65 2e 63 6f 6d 54 68 69 73 20 66 6f 6e 74 20 69 73 20 74 68 65 20 70 | w.durotype.comThis.font.is.the.p |
| 0400 | 72 6f 70 65 72 74 79 20 6f 66 20 44 75 72 6f 74 79 70 65 2c 20 61 6e 64 20 69 74 73 20 75 73 65 | roperty.of.Durotype,.and.its.use |
| 0420 | 20 62 79 20 79 6f 75 20 69 73 20 63 6f 76 65 72 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 | .by.you.is.covered.under.the.ter |
| 0440 | 6d 73 20 <UserControl x:Class="Tango.TransportRouter.UI.Views.MainView"
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:converters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI"
xmlns:mahapps="http://metro.mahapps.com/winfx/xaml/controls"
xmlns:fa="http://schemas.fontawesome.io/icons/"
xmlns:local="clr-namespace:Tango.TransportRouter.UI.Views"
mc:Ignorable="d"
d:DesignHeight="170" d:DesignWidth="545" Background="#202020">
<UserControl.Resources>
<SolidColorBrush Color="#42C300" x:Key="on"></SolidColorBrush>
<converters:BooleanToVisibilityInverseConverter x:Key="BooleanToVisibilityInverseConverter"></converters:BooleanToVisibilityInverseConverter>
<converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"></converters:BooleanToVisibilityConverter>
</UserControl.Resources>
<Grid>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="50"/>
<RowDefinition Height="73*"/>
</Grid.RowDefinitions>
<Grid>
<StackPanel Orientation="Horizontal">
<Image Source="/Images/router.png" RenderOptions.BitmapScalingMode="Fant"></Image>
<TextBlock VerticalAlignment="Bottom" Margin="10 0 0 3" FontStyle="Italic" FontSize="20" Foreground="Silver">Tango Transport Router</TextBlock>
</StackPanel>
<Rectangle VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Height="2">
<Rectangle.Fill>
<LinearGradientBrush>
<GradientStop Color="Transparent" Offset="0.1" />
<GradientStop Color="#FFFFE800" Offset="1"/>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
</Grid>
<Grid Grid.Row="1">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid>
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Top" Margin="10" Foreground="Yellow" FontSize="16" FontWeight="Bold">USB</TextBlock>
<Grid Width="100" Height="40" Background="DimGray">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Ellipse Grid.Column="0" Width="16" Height="16">
<Ellipse.Style>
<Style TargetType="Ellipse">
<Setter Property="Fill" Value="Black"></Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding TcpOn}" Value="True">
<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<ColorAnimation BeginTime="00:00:0.15" Storyboard.TargetProperty="Fill.Color" From="Black" To="Lime" Duration="00:00:0.05" AutoReverse="True"></ColorAnimation>
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>
</DataTrigger>
<DataTrigger Binding="{Binding UsbOn}" Value="True">
<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<ColorAnimation BeginTime="00:00:0.0" Storyboard.TargetProperty="Fill.Color" From="Black" To="Lime" Duration="00:00:0.05" AutoReverse="True"></ColorAnimation>
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>
</DataTrigger>
</Style.Triggers>
</Style>
</Ellipse.Style>
</Ellipse>
<Ellipse Grid.Column="1" Width="16" Height="16">
<Ellipse.Style>
<Style TargetType="Ellipse">
<Setter Property="Fill" Value="Black"></Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding TcpOn}" Value="True">
<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<ColorAnimation BeginTime="00:00:0.10" Storyboard.TargetProperty="Fill.Color" From="Black" To="Lime" Duration="00:00:0.05" AutoReverse="True"></ColorAnimation>
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>
</DataTrigger>
<DataTrigger Binding="{Binding UsbOn}" Value="True">
<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<ColorAnimation BeginTime="00:00:0.05" Storyboard.TargetProperty="Fill.Color" From="Black" To="Lime" Duration="00:00:0.05" AutoReverse="True"></ColorAnimation>
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>
</DataTrigger>
</Style.Triggers>
</Style>
</Ellipse.Style>
</Ellipse>
<Rectangle Grid.Column="1" Width="18" Height="24" HorizontalAlignment="Right" Margin="0 0 -18 0" Fill="DimGray"></Rectangle>
<Rectangle Grid.Column="0" Width="18" Height="24" HorizontalAlignment="Left" Margin="-18 0 0 0" Fill="DimGray"></Rectangle>
</Grid>
<ComboBox Visibility="{Binding IsStarted,Converter={StaticResource BooleanToVisibilityInverseConverter}}" ItemsSource="{Binding UsbPorts}" SelectedItem="{Binding SelectedUsbPort,Mode=TwoWay}" VerticalAlignment="Bottom" VerticalContentAlignment="Center" FontSize="12" Foreground="Yellow" BorderThickness="0" Background="Transparent" HorizontalAlignment="Center" Width="100" Margin="10"></ComboBox>
</Grid>
<Grid Grid.Column="1">
<Button Cursor="Hand" Width="90" Height="90" Style="{DynamicResource MetroCircleButtonStyle}" mahapps:ButtonHelper.PreserveTextCase="True" BorderThickness="0" Command="{Binding ToggleStartStopCommand}">
<StackPanel Orientation="Horizontal">
<fa:ImageAwesome Icon="PowerOff" Width="80" Height="80" Cursor="Hand">
<fa:ImageAwesome.Style>
<Style TargetType="fa:ImageAwesome">
<Setter Property="Foreground" Value="DimGray"></Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding IsStarted}" Value="True">
<Setter Property="Foreground" Value="#49C906"></Setter>
</DataTrigger>
</Style.Triggers>
</Style>
</fa:ImageAwesome.Style>
</fa:ImageAwesome>
</StackPanel>
</Button>
</Grid>
<Grid Grid.Column="2">
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Top" Margin="10" Foreground="Yellow" FontSize="16" FontWeight="Bold">TCP</TextBlock>
<Grid Width="100" Height="40" Background="DimGray">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Ellipse Grid.Column="0" Width="16" Height="16">
<Ellipse.Style>
<Style TargetType="Ellipse">
<Setter Property="Fill" Value="Black"></Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding TcpOn}" Value="True">
<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<ColorAnimation BeginTime="00:00:0.05" Storyboard.TargetProperty="Fill.Color" From="Black" To="Lime" Duration="00:00:0.05" AutoReverse="True"></ColorAnimation>
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>
</DataTrigger>
<DataTrigger Binding="{Binding UsbOn}" Value="True">
<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<ColorAnimation BeginTime="00:00:0.10" Storyboard.TargetProperty="Fill.Color" From="Black" To="Lime" Duration="00:00:0.05" AutoReverse="True"></ColorAnimation>
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>
</DataTrigger>
</Style.Triggers>
</Style>
</Ellipse.Style>
</Ellipse>
<Ellipse Grid.Column="1" Width="16" Height="16">
<Ellipse.Style>
<Style TargetType="Ellipse">
<Setter Property="Fill" Value="Black"></Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding TcpOn}" Value="True">
<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<ColorAnimation Storyboard.TargetProperty="Fill.Color" From="Black" To="Lime" Duration="00:00:0.05" AutoReverse="True"></ColorAnimation>
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>
</DataTrigger>
<DataTrigger Binding="{Binding UsbOn}" Value="True">
<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<ColorAnimation BeginTime="00:00:0.15" Storyboard.TargetProperty="Fill.Color" From="Black" To="Lime" Duration="00:00:0.05" AutoReverse="True"></ColorAnimation>
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>
</DataTrigger>
</Style.Triggers>
</Style>
</Ellipse.Style>
</Ellipse>
<Rectangle Grid.Column="0" Width="18" Height="24" HorizontalAlignment="Left" Margin="-18 0 0 0" Fill="DimGray"></Rectangle>
<Rectangle Grid.Column="1" Width="18" Height="24" HorizontalAlignment="Right" Margin="0 0 -18 0" Fill="DimGray"></Rectangle>
</Grid>
<TextBlock Visibility="{Binding IsWaitingForTCP,Converter={StaticResource BooleanToVisibilityConverter}}" VerticalAlignment="Bottom" Text="Waiting for connection..." HorizontalAlignment="Center" Margin="20" Foreground="DimGray">
<TextBlock.Style>
<Style TargetType="TextBlock">
<Style.Triggers>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Opacity" From="0" To="1" AutoReverse="True" Duration="00:00:0.2" RepeatBehavior="Forever"></DoubleAnimation>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Style.Triggers>
</Style>
</TextBlock.Style>
</TextBlock>
</Grid>
</Grid>
</Grid>
</Grid>
</Grid>
</UserControl>
|