| ofs | hex dump | ascii |
|---|
| 0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 80 00 00 00 80 08 06 00 00 00 c3 3e 61 | .PNG........IHDR..............>a |
| 0020 | cb 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 03 b1 00 00 03 | .....sBIT....|.d.....pHYs....... |
| 0040 | b1 01 f5 83 ed 49 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 | .....I....tEXtSoftware.www.inksc |
| 0060 | 61 70 65 2e 6f 72 67 9b ee 3c 1a 00 00 1c 77 49 44 41 54 78 9c ed 9d 7d 7c 94 d5 95 c7 7f e7 99 | ape.org..<....wIDATx...}|....... |
| 0080 | 99 64 22 01 12 b6 6f 52 c4 a0 16 2c 20 81 84 10 58 b4 c2 d2 45 ab 95 17 8b b3 66 66 12 66 92 40 | .d"...oR...,....X...E.....ff.f.@ |
| 00a0 | 5c f1 8d b5 d5 da ad 65 e3 56 db a5 ad 52 d7 97 a6 79 99 89 99 99 d8 a0 15 74 8b dd 6a 0b 9f 5a | \......e.V...R...y.......t..j..Z |
| 00c0 | 85 24 24 64 02 e8 42 11 22 ba d4 6e b5 49 20 24 93 cc cc 3d fb 47 12 98 cc eb 33 c9 93 79 a1 f9 | .$$d..B."..n.I.$...=.G....3..y.. |
| 00e0 | fe 37 f7 9e b9 f7 4c ee c9 7d ee 73 ef 39 e7 12 33 43 49 3e da f9 f7 69 e9 e7 dd 0e 10 cd 00 43 | .7....L..}.s.9..3CI>...i.......C |
| 0100 | 1d 44 44 10 e8 63 e1 15 0f 67 96 34 1f 51 b4 f3 09 a2 26 d8 00 8d 89 c9 e7 bc f3 58 a2 75 08 63 | .DD..c...g.4.Q....&........X.u.c |
| 0120 | 57 0c 06 24 bc 0e 60 c2 00 e2 8c a4 78 8b 84 85 b2 c4 64 ca 4d 30 be 28 6e 00 2c 21 5b 96 20 91 | W..$..`.....x.....d.M0.(n.,![... |
| 0140 | 3c b9 09 c6 15 d9 06 d0 5d 97 3f ab b3 3a 6f 7e 44 41 66 79 03 cb 98 87 9d 3a 55 38 91 ce 9f 2f | <.......].?..:o~DAfy.....:U8.../ |
| 0160 | 9e da 5d bb 34 57 9e 86 13 8c 06 59 06 d0 5d bb 74 35 7b f9 10 a9 e8 60 b7 35 ef 5b 28 a7 70 df | ..].4W.....Y..].t5{....`.5.[(.p. |
| 0180 | 5b 20 b3 ef b4 4f 5d 1f ce 0e 55 79 d6 92 7f 13 a5 4a 47 98 c5 fe 6e 4b 7e a9 cc 36 27 88 92 88 | [....O]...Uy.....JG...nK~..6'... |
| 01a0 | 06 d0 5d bb 74 35 58 ec 06 30 15 40 2a 83 b6 77 5d 99 b7 af bb 2e 7f 96 bf 6c 97 75 59 d6 90 9c | ..].t5X..0.@*..w]........l.uY... |
| 01c0 | bc ce bd 9e 80 d9 e2 93 9a eb 27 77 5a 96 54 08 e2 5f 83 31 03 80 86 89 7f de 69 5d 72 b7 dc 76 | ..........'wZ.T.._.1......i]r..v |
| 01e0 | 27 90 4f 58 03 e8 b6 2c f9 2a 58 ec 66 40 eb 57 75 03 0b b4 fb fe 67 7e 6a 5d 7c 2d 20 1e 8b a6 | '.OX...,.*X.f@.Wu.....g~j]|-.... |
| 0200 | 73 22 69 4b a7 35 ff 86 e1 cf 5d 2f 2c 5d a9 96 06 da 89 b0 39 40 14 78 b6 d3 92 77 4f 34 ed 4f | s"iK.5....]/,]......9@.x...wO4.O |
| 0220 | 10 19 0a b5 0f d0 5d bb 64 15 33 5e 03 90 16 b6 01 e0 d7 0c a4 00 f8 87 d1 ab c1 ed 20 6a 07 c3 | ......].d.3^.................j.. |
| 0240 | 30 d8 64 d8 0e ef cf d8 d8 f4 f4 e8 fb 9a c0 97 a0 06 d0 65 cd 5b 01 d0 1e 44 18 fc b8 31 61 04 | 0.d................e.[...D...1a. |
| 0260 | 8a 11 60 00 5d d5 39 57 42 a5 6e 05 30 2d 3e 2a c9 42 08 <UserControl x:Class="Tango.MachineStudio.MachineDesigner.Views.MachinesView"
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:Tango.MachineStudio.MachineDesigner.Views"
xmlns:global="clr-namespace:Tango.MachineStudio.MachineDesigner"
xmlns:observables="clr-namespace:Tango.BL.Entities;assembly=Tango.BL"
xmlns:vm="clr-namespace:Tango.MachineStudio.MachineDesigner.ViewModels"
xmlns:controls="clr-namespace:Tango.SharedUI.Controls;assembly=Tango.SharedUI"
xmlns:shapes="clr-namespace:Tango.SharedUI.Shapes;assembly=Tango.SharedUI"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:converters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI"
mc:Ignorable="d"
d:DesignHeight="1080" d:DesignWidth="1920" Background="Transparent" d:DataContext="{d:DesignInstance Type=vm:MainViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.MainViewVM}">
<UserControl.Resources>
<converters:DateTimeUTCToShortDateTimeConverter x:Key="DateTimeUTCToShortDateTimeConverter" />
<converters:BooleanToYesNoConverter x:Key="BooleanToYesNoConverter" />
</UserControl.Resources>
<Grid>
<DockPanel Margin="100" MaxWidth="1200">
<Grid DockPanel.Dock="Top">
<StackPanel Orientation="Horizontal">
<Image Source="../Images/machine-full-fx.png" Width="350" RenderOptions.BitmapScalingMode="Fant" Margin="10" />
<StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" Margin="0 0 0 10">
<materialDesign:PackIcon VerticalAlignment="Center" Kind="BarcodeScan" Width="32" Height="32" />
<TextBox Width="400" FontSize="20" Margin="10 0 0 0" materialDesign:HintAssist.Hint="Serial Number" Text="{Binding Filter,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,Delay=500}"></TextBox>
</StackPanel>
</StackPanel>
</Grid>
<Grid DockPanel.Dock="Bottom" IsEnabled="{Binding IsFree}">
<StackPanel VerticalAlignment="Center" Orientation="Horizontal" HorizontalAlignment="Left" Margin="0 0 0 0">
<Button Margin="0 0 10 0" MinWidth="160" Height="50" Background="{StaticResource RedBrush300}" BorderBrush="{StaticResource RedBrush300}" Command="{Binding RemoveMachineCommand}">
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="Delete" Width="20" Height="20" />
<TextBlock Margin="5 0 0 0" FontSize="16">DELETE</TextBlock>
</StackPanel>
</Button>
<Button Margin="0 0 10 0" MinWidth="160" Height="50" Background="{StaticResource OrangeBrush300}" BorderBrush="{StaticResource OrangeBrush200}" Command="{Binding CloneMachineCommand}">
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="ContentCopy" Width="20" Height="20" />
<TextBlock Margin="5 0 0 0" FontSize="16">CLONE</TextBlock>
</StackPanel>
</Button>
<Button Margin="0 0 10 0" MinWidth="160" Height="50" Background="{StaticResource GreenBrush300}" BorderBrush="{StaticResource GreenBrush300}" Command="{Binding AddMachineCommand}">
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="Plus" Width="20" Height="20" />
<TextBlock Margin="5 0 0 0" FontSize="16">NEW MACHINE</TextBlock>
</StackPanel>
</Button>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<Button Margin="50 0 0 0" MinWidth="200" Height="60" Command="{Binding EditMachineCommand}">
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="Pencil" Width="24" Height="24" />
<TextBlock Margin="10 0 0 0" FontSize="18">EDIT</TextBlock>
</StackPanel>
</Button>
</StackPanel>
</Grid>
<Grid IsEnabled="{Binding IsFree}">
<controls:DoubleClickDataGrid Style="{StaticResource {x:Type DataGrid}}" DoubleClickCommand="{Binding EditMachineCommand}" Margin="0 0 0 10" SelectionMode="Single" SelectionUnit="FullRow" BorderBrush="{StaticResource borderBrush}" IsReadOnly="True" BorderThickness="1" Background="{StaticResource TransparentBackgroundBrush}" AlternatingRowBackground="{StaticResource Transparent200}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" ItemsSource="{Binding MachinesAdapter.Machines}" SelectedItem="{Binding SelectedMachine}">
<DataGrid.CellStyle>
<Style TargetType="DataGridCell" BasedOn="{StaticResource {x:Type DataGridCell}}">
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
<Setter Property="VerticalContentAlignment" Value="Center"></Setter>
</Style>
</DataGrid.CellStyle>
<DataGrid.Columns>
<DataGridTextColumn Header="SERIAL NUMBER" Binding="{Binding SerialNumber}" Width="Auto" />
<DataGridTextColumn Header="NAME" Binding="{Binding Name}" Width="Auto" />
<DataGridTextColumn Header="ORGANIZATION" Binding="{Binding Organization.Name}" Width="Auto" />
<DataGridTextColumn Header="VERSION" Binding="{Binding MachineVersion.Name}" Width="Auto" />
<DataGridTextColumn Header="REGISTERED" Binding="{Binding IsDeviceRegistered,Converter={StaticResource BooleanToYesNoConverter}}" Width="Auto" />
<DataGridTextColumn Header="DEMO MACHINE" Binding="{Binding IsDemo,Converter={StaticResource BooleanToYesNoConverter}}" Width="Auto" />
<DataGridTextColumn Header="LAST UPDATED" Binding="{Binding LastUpdated,Converter={StaticResource DateTimeUTCToShortDateTimeConverter}}" Width="1*" />
</DataGrid.Columns>
</controls:DoubleClickDataGrid>
</Grid>
</DockPanel>
</Grid>
</UserControl>
|