aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Graphics/external-bridge-usb.png
blob: 414bbab046a657665a45172f0d9ab7280d680a01 (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 32 00 00 00 3b 08 06 00 00 00 39 30 d9 .PNG........IHDR...2...;.....90.
0020 79 00 00 00 04 67 41 4d 41 00 00 b1 8f 0b fc 61 05 00 00 00 09 70 48 59 73 00 00 2e 21 00 00 2e y....gAMA......a.....pHYs...!...
0040 21 01 07 5b fc ff 00 00 00 19 74 45 58 74 53 6f 66 74 77 61 72 65 00 70 61 69 6e 74 2e 6e 65 74 !..[......tEXtSoftware.paint.net
0060 20 34 2e 30 2e 31 37 33 6e 9f 63 00 00 0d a4 49 44 41 54 68 43 d5 5a 09 54 14 57 16 ed 99 c9 19 .4.0.173n.c....IDAThC.Z.T.W.....
0080 33 27 6a c6 5d 11 8d 06 35 a8 a0 24 71 49 cc a8 51 33 6a 8c d1 a8 e0 0a 01 17 14 04 34 18 83 4b 3'j.]...5..$qI..Q3j.........4..K
00a0 04 6c 40 04 65 47 36 89 82 51 51 70 57 44 4c 04 1d d7 51 04 21 1a 97 44 81 46 6d 76 68 a0 59 44 .l@.eG6..QQpWDL...Q.!..D.Fmvh.YD
00c0 e0 cd 7b bf ab 9a ee a6 58 ba a3 d1 f9 e7 dc 53 d5 f5 b7 77 eb bf ed ff 6a d1 ab 2c 51 51 51 6f ..{.....X......S...w....j..,QQQo
00e0 fe 7b d2 c4 d8 6f 1d bf b9 29 de ec 9a ed 2e de 2c f5 f3 f5 a9 f1 f7 f5 05 7f 5f 1f 25 c6 7e 32 .{...o...)......,........._.%.~2
0100 e6 00 d7 e5 f5 29 95 e6 1f fe 45 36 7f 78 87 f2 b9 46 fd 32 66 0f df fc fb 37 a6 50 b2 6a 3a 14 .....)....E6.x...F.2f....7.P.j:.
0120 5b 8c 6a 28 36 1f 59 9f 67 3d f1 59 8e a3 69 f9 af db 9c 7e bb 74 68 bf a4 be b2 02 2c cd cd 8f [.j(6.Y.g=.Y..i....~.th.....,...
0140 72 dd 5f 8f 52 be 70 68 07 24 31 15 b1 57 b6 72 b2 5c 66 33 09 64 e6 23 40 66 ff b9 e2 aa 7a bf r._.R.ph.$1..W.r.\f3.d.#@f....z.
0160 62 12 14 db 4e ae a9 0c de 00 81 f3 a6 5c a1 be dc 30 af b6 54 98 0d ed 24 9b 3f cc 07 91 83 44 b...N........\...0..T...$.?....D
0180 ea 65 b1 61 20 fb d1 1f 64 76 53 41 76 26 0e 64 0e 48 80 48 24 e2 3d 3d fb d1 0f 64 b1 e1 20 5b .e.a....dvSAv&.d.H.H$.==...d...[
01a0 60 02 4f e6 99 c8 a9 2f 8d c1 0d f7 6a 4a c9 22 e3 3e b2 79 c3 92 90 40 35 02 18 ce c7 83 2c 21 `.O..../....jJ.".>.y...@5.....,!
01c0 16 64 df cc 00 59 46 0a c8 d6 cc 02 99 e3 57 78 7f 53 f1 2c e1 a0 a2 0d df 9e fa e2 18 34 16 37 .d...YF.......Wx.S.,.........4.7
01e0 ec 9f 5b d8 4a 28 48 a8 0a a5 0b 11 05 e6 0d 4b fe d3 57 46 61 13 a4 4e 8a 95 28 45 14 cc 7f 1f ..[.J(H........K..WFa..N..(E....
0200 24 0b 46 81 34 3e 0e a4 47 f6 80 64 f5 6c c8 bd 9c 0c 12 47 33 90 a0 e1 b3 fb d5 73 40 7a 38 9a $.F.4>..G..d.l.....G3......s@z8.
0220 b5 a1 b6 d4 87 fa 72 64 70 ac 61 be 38 76 47 6e 1a dd 8a ab ab eb 5f ed 2c 2c ba 8c 32 31 19 d2 ......rdp.a.8vGn......_.,,..21..
0240 b9 63 c7 51 86 03 fb 7f f1 cf f6 ed 67 76 ed da 75 41 1f 3d 3d 9b 8e ed db db b4 6b d7 ce e6 bd .c.Q........gv..uA.==......k....
0260 01 03 5c 9d 3f 1e b4 ef b1 a9 51 19 27 00 13 28 d1 72 3a f8 59 2f 81 30 b1 3b 84 ba 88 c1 cf de ..\.?.....Q.'..(.r:.Y/.0.;......
0280 0e 22 3c bd f1 6a cf a0 b8 b7 63 75 61 62 0f d6 96 fa 50 5f 7e 1c ce ce 3e 27 0f c8 89 d5 72 31 ."<..j....cuab....P_~...>'....r1
02a0 33 33 fb 9b 91 91 e1 c7 fd fa ea 3b 99 ce 9a 19 bb de c9 e9 57 af ad 9e 55 3b 77 46 c0 89 13 c7 33.........;........W...U;wF....
02c0 e1 3f 17 2e 40 7a 7a 3a 3c b8 7f 0f a4 4f 9f 42 49 49 09 94 97 95 41 75 55 15 d4 c9 cb 80 3c 0e .?..@zz:<....O.BII....AuU.....<.
02e0 19 2b 2f 00 bd 5d 12 6c 99 dd 06 ad e0 6b bd 14 24 0b 47 ab 10 41 67 41 9e 0f dd 38 27 aa 70 71 .+/..].l.....k..$.G..AgA...8'.pq
0300 70 70 68 f7 e1 fb ef 8b 9d bf df 98 f7 d3 d9 44 a8 ac ac 84 86 86 06 ad 50 97 f7 18 75 fd 4b f4 pph............D........P...u.K.
0320 3c e8 9d 48 d7 11 a4 2a b4 12 24 dc 62 1b 27 98 6b 6e 8f b0 6b 06 f6 ac 0d b5 0d dd ec 8e 7d d1 <..H...*..$.b.'.kn..k.........}.
0340 9e b8 71 c8 9b 15 af 9c 5c 5d 3e d7 b8 3f 27 72 d3 b2 64 c9 92 0e 73 66 cf ba 9a 23 91 34 15 ae ..q.....\]>..?'r..d...sf...#.4..
0360 ae 0e 8a 8b 0a e1 71 4e 0e 3c 7a f8 90 21 3b 3b 1b a4 52 29 e4 e7 e5 61 5d 11 c8 2b 2a a0 be be ......qN.<z..!;;..R)...a]..+*...
0380 1e 6a 12 0f 00 8b 13 e4 62 c9 a8 11 64 13 a4 32 24 1c 09 3a d3 cc ba 45 cc b5 b0 67 6d 43 b0 cf .j......b...d..2$..:...E...gmC..
03a0 d3 23 d1 ca 71 d8 98 38 f6 ee 29 26 c9 9c d8 4d cb 27 63 3e 0a 29 c8 cf 87 7b 77 ef c2 0f 91 3b .#..q..8..)&...M.'c>.)...{w....;
03c0 c1 d7 87 d2 04 4c 19 fc 7c 21 d0 df 1f a2 a3 a2 e0 c8 91 c3 70 ea d4 29 86 e3 c7 8f c1 a1 b8 58 .....L..|!..........p..).......X
03e0 d8 b7 77 2f 44 45 ed 86 c8 c8 48 f0 f0 70 87 14 4b 2e d8 51 4c 20 2f 84 20 c3 26 fd 57 10 b1 13 ..w/DE....H..p..K..QL./...&.W...
0400 14 5e 15 3c 11 5f ec 43 7d f9 71 d8 98 38 76 ee 26 2b 18 66 34 c4 99 13 bd b1 8c 1f 3f be eb bc .^.<._.C}.q..8v.&+.f4.......?...
0420 b9 66 b5 ee 6e 62 38 79 e2 04 94 a1 be 6b ae 4a 5b 51 be 06 5d 29 05 38 0a 76 e4 5e 11 e4 91 c8 .f..nb8y.....k.J[Q..]).8.v.^....
0440 98 b5 25 12 be c5 9b f5 e5 c7 51 04 d0 69 6c 8e b0 d0 90 1a 03 03 3d f5 d8 d2 b7 77 6f f3 95 b6 ..%.......Q..il.......=....wo...
0460 36 82 82 69 0b d9 e2 31 8a 15 a1 88 4d 31 02 41 2e 96 3c 93 b6 44 a8 0f f5 e5 c7 21 12 6c 6c 9c 6..i...1....M1.A..<..D.....!.ll.
pre { line-height: 125%; } td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } .highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
<UserControl x:Class="Tango.MachineStudio.UI.Views.ConnectedMachineView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mahapps="http://metro.mahapps.com/winfx/xaml/controls"
             xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:integration="clr-namespace:Tango.Integration.ExternalBridge;assembly=Tango.Integration"
             xmlns:integ="clr-namespace:Tango.Integration.Operation;assembly=Tango.Integration"
             xmlns:emulations="clr-namespace:Tango.Emulations.ExternalBridge;assembly=Tango.Emulations"
             xmlns:converters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI"
             xmlns:controls="clr-namespace:Tango.SharedUI.Controls;assembly=Tango.SharedUI"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:Tango.MachineStudio.UI.Views"
             mc:Ignorable="d" 
              d:DesignHeight="300" d:DesignWidth="300" Width="600" Height="440" Background="White" DataContext="{Binding ConnectedMachineViewVM, Source={StaticResource Locator}}">

    <UserControl.Resources>
        <converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"></converters:BooleanToVisibilityConverter>
        <converters:BooleanToVisibilityInverseConverter x:Key="BooleanToVisibilityInverseConverter"></converters:BooleanToVisibilityInverseConverter>
        <converters:BooleanInverseConverter x:Key="BooleanInverseConverter"></converters:BooleanInverseConverter>
        <converters:ByteArrayToFileSizeConverter x:Key="ByteArrayToFileSizeConverter" />
    </UserControl.Resources>

    <Grid>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="80"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>

            <Grid>
                <StackPanel Orientation="Horizontal" Margin="10">
                    <ContentControl Content="{Binding ApplicationManager.ConnectedMachine}">
                        <ContentControl.Resources>
                            <DataTemplate DataType="{x:Type integration:ExternalBridgeTcpClient}">
                                <Image Source="/Images/external-bridge-tcp.png" Width="48" Height="48" RenderOptions.BitmapScalingMode="Fant"></Image>
                            </DataTemplate>

                            <DataTemplate DataType="{x:Type integration:ExternalBridgeUsbClient}">
                                <Image Source="/Images/external-bridge-usb.png" Width="48" Height="48" RenderOptions.BitmapScalingMode="Fant"></Image>
                            </DataTemplate>

                            <DataTemplate DataType="{x:Type emulations:EmulatorExternalBridge}">
                                <Image Source="/Images/external-bridge-emulator.png" Width="48" Height="48" RenderOptions.BitmapScalingMode="Fant"></Image>
                            </DataTemplate>
                        </ContentControl.Resources>
                    </ContentControl>

                    <TextBlock Text="Machine Connection" VerticalAlignment="Center" Margin="10 0 0 0" FontSize="20"></TextBlock>
                </StackPanel>
            </Grid>

            <Grid Grid.Row="1" Margin="10 0 10 10">

                <Grid.RowDefinitions>
                    <RowDefinition Height="1*"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                </Grid.RowDefinitions>

                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="1*"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>

                <Grid d:DataContext="{d:DesignInstance Type=integ:MachineOperator, IsDesignTimeCreatable=False}">
                    <ContentControl Content="{Binding ApplicationManager.ConnectedMachine}">
                        <ContentControl.Resources>
                            <DataTemplate DataType="{x:Type integration:ExternalBridgeTcpClient}">
                                <controls:TableGrid RowHeight="22">
                                    <TextBlock FontWeight="SemiBold" Text="Serial Number:" />
                                    <TextBlock Text="{Binding SerialNumber}" />
                                    <TextBlock FontWeight="SemiBold" Text="Name:" />
                                    <TextBlock Text="{Binding Machine.Name}" />
                                    <TextBlock FontWeight="SemiBold" Text="Organization:" />
                                    <TextBlock Text="{Binding Machine.Organization.Name}" />
                                    <TextBlock FontWeight="SemiBold" Text="Embedded Software Version:" />
                                    <TextBlock Text="{Binding DeviceInformation.Version}" />
                                    <TextBlock FontWeight="SemiBold" Text="IP Address:" />
                                    <TextBlock Text="{Binding IPAddress}" />
                                    <TextBlock FontWeight="SemiBold" Text="Total Bytes Sent:" />
                                    <TextBlock Text="{Binding Adapter.TotalBytesSent,Converter={StaticResource ByteArrayToFileSizeConverter},Mode=OneWay}" />
                                    <TextBlock FontWeight="SemiBold" Text="Total Bytes Received:" />
                                    <TextBlock Text="{Binding Adapter.TotalBytesReceived,Converter={StaticResource ByteArrayToFileSizeConverter},Mode=OneWay}" />
                                    <TextBlock FontWeight="SemiBold" Text="Transfer Rate:" />
                                    <TextBlock>
                                        <Run Text="{Binding Adapter.TransferRate,Converter={StaticResource ByteArrayToFileSizeConverter},Mode=OneWay}"></Run>
                                        <Run Text="/ sec"></Run>
                                    </TextBlock>
                                    <TextBlock FontWeight="SemiBold" Text="Diagnostics Frame Rate:" />
                                    <TextBlock>
                                        <Run Text="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.DiagnosticsFrameProvider.FrameRate,Mode=OneWay,IsAsync=True}"></Run>
                                        <Run Text="/ sec"></Run>
                                    </TextBlock>
                                    <TextBlock FontWeight="SemiBold" Text="Enable Diagnostics:" />
                                    <ToggleButton IsChecked="{Binding EnableDiagnostics}" HorizontalAlignment="Left"></ToggleButton>
                                    <TextBlock FontWeight="SemiBold" Text="Enable Embedded Debug Logs:" />
                                    <ToggleButton IsChecked="{Binding EnableEmbeddedDebugging}" HorizontalAlignment="Left"></ToggleButton>
                                    <TextBlock FontWeight="SemiBold" Text="Enable Events:" />
                                    <ToggleButton IsChecked="{Binding EnableEventsNotification}" HorizontalAlignment="Left"></ToggleButton>
                                </controls:TableGrid>
                            </DataTemplate>

                            <DataTemplate DataType="{x:Type integration:ExternalBridgeUsbClient}">
                                <controls:TableGrid RowHeight="22">
                                    <TextBlock FontWeight="SemiBold" Text="Serial Number:" />
                                    <TextBlock Text="{Binding SerialNumber}" />
                                    <TextBlock FontWeight="SemiBold" Text="Name:" />
                                    <TextBlock Text="{Binding Machine.Name}" />
                                    <TextBlock FontWeight="SemiBold" Text="Organization:" />
                                    <TextBlock Text="{Binding Machine.Organization.Name}" />
                                    <TextBlock FontWeight="SemiBold" Text="Embedded Software Version:" />
                                    <TextBlock Text="{Binding DeviceInformation.Version}" />
                                    <TextBlock FontWeight="SemiBold" Text="COM Port:" />
                                    <TextBlock Text="{Binding ComPort}" />
                                    <TextBlock FontWeight="SemiBold" Text="Device:" />
                                    <TextBlock Text="{Binding Device}" />
                                    <TextBlock FontWeight="SemiBold" Text="Total Bytes Sent:" />
                                    <TextBlock Text="{Binding Adapter.TotalBytesSent,Converter={StaticResource ByteArrayToFileSizeConverter},Mode=OneWay}" />
                                    <TextBlock FontWeight="SemiBold" Text="Total Bytes Received:" />
                                    <TextBlock Text="{Binding Adapter.TotalBytesReceived,Converter={StaticResource ByteArrayToFileSizeConverter},Mode=OneWay}" />
                                    <TextBlock FontWeight="SemiBold" Text="Transfer Rate:" />
                                    <TextBlock>
                                        <Run Text="{Binding Adapter.TransferRate,Converter={StaticResource ByteArrayToFileSizeConverter},Mode=OneWay}"></Run>
                                        <Run Text="/ sec"></Run>
                                    </TextBlock>
                                    <TextBlock FontWeight="SemiBold" Text="Diagnostics Frame Rate:" />
                                    <TextBlock>
                                        <Run Text="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.DiagnosticsFrameProvider.FrameRate,Mode=OneWay,IsAsync=True}"></Run>
                                        <Run Text="/ sec"></Run>
                                    </TextBlock>
                                    <TextBlock FontWeight="SemiBold" Text="Enable Diagnostics:" />
                                    <ToggleButton IsChecked="{Binding EnableDiagnostics}" HorizontalAlignment="Left"></ToggleButton>
                                    <TextBlock FontWeight="SemiBold" Text="Enable Embedded Debug Logs:" />
                                    <ToggleButton IsChecked="{Binding EnableEmbeddedDebugging}" HorizontalAlignment="Left"></ToggleButton>
                                    <TextBlock FontWeight="SemiBold" Text="Enable Events:" />
                                    <ToggleButton IsChecked="{Binding EnableEventsNotification}" HorizontalAlignment="Left"></ToggleButton>
                                </controls:TableGrid>
                            </DataTemplate>

                            <DataTemplate DataType="{x:Type emulations:EmulatorExternalBridge}">
                                <controls:TableGrid RowHeight="22">
                                    <TextBlock FontWeight="SemiBold" Text="Address:" />
                                    <TextBlock Text="{Binding Adapter.Address}" />
                                    <TextBlock FontWeight="SemiBold" Text="Serial Number:" />
                                    <TextBlock Text="{Binding SerialNumber}" />
                                    <TextBlock FontWeight="SemiBold" Text="Name:" />
                                    <TextBlock Text="{Binding Machine.Name}" />
                                    <TextBlock FontWeight="SemiBold" Text="Organization:" />
                                    <TextBlock Text="{Binding Machine.Organization.Name}" />
                                    <TextBlock FontWeight="SemiBold" Text="Total Bytes Sent:" />
                                    <TextBlock Text="{Binding Adapter.TotalBytesSent,Converter={StaticResource ByteArrayToFileSizeConverter},Mode=OneWay}" />
                                    <TextBlock FontWeight="SemiBold" Text="Total Bytes Received:" />
                                    <TextBlock Text="{Binding Adapter.TotalBytesReceived,Converter={StaticResource ByteArrayToFileSizeConverter},Mode=OneWay}" />
                                    <TextBlock FontWeight="SemiBold" Text="Transfer Rate:" />
                                    <TextBlock>
                                        <Run Text="{Binding Adapter.TransferRate,Converter={StaticResource ByteArrayToFileSizeConverter},Mode=OneWay}"></Run>
                                        <Run Text="/ sec"></Run>
                                    </TextBlock>
                                    <TextBlock FontWeight="SemiBold" Text="Diagnostics Frame Rate:" />
                                    <TextBlock>
                                        <Run Text="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.DiagnosticsFrameProvider.FrameRate,Mode=OneWay,IsAsync=True}"></Run>
                                        <Run Text="/ sec"></Run>
                                    </TextBlock>
                                    <TextBlock FontWeight="SemiBold" Text="Enable Diagnostics:" />
                                    <ToggleButton IsChecked="{Binding EnableDiagnostics}" HorizontalAlignment="Left"></ToggleButton>
                                    <TextBlock FontWeight="SemiBold" Text="Enable Embedded Debug Logs:" />
                                    <ToggleButton IsChecked="{Binding EnableEmbeddedDebugging}" HorizontalAlignment="Left"></ToggleButton>
                                    <TextBlock FontWeight="SemiBold" Text="Enable Events:" />
                                    <ToggleButton IsChecked="{Binding EnableEventsNotification}" HorizontalAlignment="Left"></ToggleButton>
                                </controls:TableGrid>
                            </DataTemplate>
                        </ContentControl.Resources>
                    </ContentControl>
                </Grid>

                <Grid Grid.Row="1" Grid.ColumnSpan="2">
                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Height="40" VerticalAlignment="Bottom">

                    </StackPanel>
                </Grid>

                <Grid Grid.Row="1" Grid.ColumnSpan="2">
                    <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
                        <Button DockPanel.Dock="Bottom" Height="40" Width="170" Command="{Binding UploadHardwareConfigurationCommand}" ToolTip="Upload the current hardware configuration stored for this machine">UPLOAD HW CONFIG</Button>
                        <Button DockPanel.Dock="Bottom" Height="40" Width="140" Command="{Binding DisconnectCommand}" Margin="10 0 0 0">DISCONNECT</Button>
                    </StackPanel>
                </Grid>

                <Grid Grid.Column="1">
                    <DockPanel>
                        <StackPanel>
                            <Button FontSize="11" Height="40" Width="140" Command="{Binding ResetCommand}" Background="Transparent" BorderBrush="#202020" Foreground="#202020" Margin="0 2" ToolTip="Reset the embedded device">RESET</Button>
                            <Button FontSize="11" Height="40" Width="140" Command="{Binding TurnOffHeatersCommand}" Background="Transparent" BorderBrush="#202020" Foreground="#202020" Margin="0 2" ToolTip="Resets the current process parameters in the embedded device">
                                <TextBlock TextWrapping="Wrap" TextAlignment="Center">
                                TURN OFF HEATERS
                                </TextBlock>
                            </Button>
                        </StackPanel>
                    </DockPanel>
                </Grid>
            </Grid>
        </Grid>
    </Grid>
</UserControl>