123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425 |
- <UserControl x:Class="EfemUI.Controls.AITServoMotor"
- 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:controls="clr-namespace:EfemUI.Controls"
- mc:Ignorable="d" x:Name="self"
- d:DesignHeight="700" d:DesignWidth="1580" >
- <Canvas>
- <Canvas.Resources>
- <controls:CommandConverter x:Key="commandConverter"/>
- </Canvas.Resources>
- <Grid Width="310" Canvas.Left="22" Canvas.Top="20" >
- <Grid.RowDefinitions>
- <RowDefinition Height="48"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150" />
- <ColumnDefinition Width="150" />
- </Grid.ColumnDefinitions>
- <Rectangle Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" FontSize="18" TextAlignment="Center" Text="Status" Foreground="White" />
- <Rectangle Grid.Row="1" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="1" Grid.Column="0" FontSize="15" Text="Running" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="1" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Ellipse Grid.Row="1" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path= DeviceData.IsRunning, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
- <Rectangle Grid.Row="2" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="2" Grid.Column="0" FontSize="15" Text="EMO" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="2" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Ellipse Grid.Row="2" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsEmo, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
- <Rectangle Grid.Row="3" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="3" Grid.Column="0" FontSize="15" Text="Alarm" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="3" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Ellipse Grid.Row="3" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsError, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
- <Rectangle Grid.Row="4" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="4" Grid.Column="0" FontSize="15" Text="Auto Mode" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="4" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Ellipse Grid.Row="4" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsAuto, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
- <Rectangle Grid.Row="5" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="5" Grid.Column="0" FontSize="15" Text="Manual Mode" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="5" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Ellipse Grid.Row="5" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsManual, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
- <Rectangle Grid.Row="6" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="6" Grid.Column="0" FontSize="15" Text="Servo Normal" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="6" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Ellipse Grid.Row="6" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsServoNormal, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
- <Rectangle Grid.Row="7" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="7" Grid.Column="0" FontSize="15" Text="Servo No Warning" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="7" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Ellipse Grid.Row="7" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsServoNoWarning, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
- <Rectangle Grid.Row="8" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="8" Grid.Column="0" FontSize="15" Text="Servo No Alarm" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="8" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Ellipse Grid.Row="8" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsServoNoAlarm, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
- <Rectangle Grid.Row="9" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="9" Grid.Column="0" FontSize="15" Text="NOP" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="9" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Ellipse Grid.Row="9" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsNop, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
- <Rectangle Grid.Row="10" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="10" Grid.Column="0" FontSize="15" Text="Servo On" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="10" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Ellipse Grid.Row="10" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsServoOn, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
- <Rectangle Grid.Row="11" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="11" Grid.Column="0" FontSize="15" Text="Position Done" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="11" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Ellipse Grid.Row="11" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsPositionComplete, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
- <Rectangle Grid.Row="12" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="12" Grid.Column="0" FontSize="15" Text="N Limit" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="12" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Ellipse Grid.Row="12" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsNLimit, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
- <Rectangle Grid.Row="13" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="13" Grid.Column="0" FontSize="15" Text="P Limit" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="13" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Ellipse Grid.Row="13" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsPLimit, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
- <Rectangle Grid.Row="14" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="14" Grid.Column="0" FontSize="15" Text="Error Code" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="14" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="14" Grid.Column="1" FontSize="15" Text="{Binding ElementName=self, Path=DeviceData.ErrorCode}" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="15" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="15" Grid.Column="0" FontSize="15" Text="Position" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="15" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="15" Grid.Column="1" FontSize="15" Text="{Binding ElementName=self, Path=DeviceData.CurrentPosition}" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="16" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="16" Grid.Column="0" FontSize="15" Text="Speed" Foreground="White" TextAlignment="Center"/>
- <Rectangle Grid.Row="16" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="16" Grid.Column="1" FontSize="15" Text="{Binding ElementName=self, Path=DeviceData.CurrentSpeed}" Foreground="White" TextAlignment="Center"/>
- </Grid>
- <Grid Canvas.Left="364" Canvas.Top="21">
- <Grid.RowDefinitions>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="270"/>
- <ColumnDefinition Width="270"/>
- </Grid.ColumnDefinitions>
- <Rectangle Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"/>
- <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" FontSize="20" TextAlignment="Center" Text="Mode" Foreground="White" />
- <Rectangle Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"/>
- <Ellipse Grid.Row="1" Grid.Column="0" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsServoOn, Converter={StaticResource BoolSensorConverter}}"
- Style="{x:Null}" Margin="22,16,233,17"/>
- <Button Grid.Row="1" Grid.Column="0" Foreground="White" Content="Servo ON" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="ServoOn" FontSize="17" Width="150" Height="35" VerticalAlignment="Center" />
- <Button Grid.Row="1" Grid.Column="1" Foreground="White" Content="Servo OFF" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="ServoOff" FontSize="17" Width="150" Height="35" VerticalAlignment="Center" />
- <Rectangle Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"/>
- <Ellipse Grid.Row="2" Grid.Column="0" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsError, Converter={StaticResource BoolSensorConverter}}"
- Style="{x:Null}" Margin="22,16,233,17"/>
- <Button Grid.Row="2" Grid.Column="0" Foreground="White" Content="Reset Alarm" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="ResetAlarm" FontSize="17" Width="150" Height="35" VerticalAlignment="Center" />
- <Rectangle Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"/>
- <Ellipse Grid.Row="3" Grid.Column="0" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsManual, Converter={StaticResource BoolSensorConverter}}"
- Style="{x:Null}" Margin="22,16,233,17"/>
- <Button Grid.Row="3" Grid.Column="0" Foreground="White" Content="Manual" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Manual" FontSize="17" Width="150" Height="35" VerticalAlignment="Center" />
- <Ellipse Grid.Row="3" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
- Fill="{Binding ElementName=self, Path=DeviceData.IsAuto, Converter={StaticResource BoolSensorConverter}}"
- Style="{x:Null}" Margin="22,16,233,17"/>
- <Button Grid.Row="3" Grid.Column="1" Foreground="White" Content="Auto" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Auto" FontSize="17" Width="150" Height="35" VerticalAlignment="Center" />
- <Rectangle Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"/>
- <Button Grid.Row="4" Grid.Column="0" Foreground="White" Content="Home" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Home" FontSize="17" Width="150" Height="35" VerticalAlignment="Center" />
- </Grid>
- <Grid Canvas.Left="364" Canvas.Top="283">
- <Grid.RowDefinitions>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200" />
- <ColumnDefinition Width="120" />
- <ColumnDefinition Width="120" />
- <ColumnDefinition Width="100" />
- </Grid.ColumnDefinitions>
- <Rectangle Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="4" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"/>
- <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="4" FontSize="20" TextAlignment="Center" Text="Speed" Foreground="White" />
- <Rectangle Grid.Row="1" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="1" Grid.Column="0" FontSize="15" Text="Jog Speed(MM/Min)" Foreground="White" />
- <Rectangle Grid.Row="1" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="1" Grid.Column="1" TextAlignment="Center" FontSize="12" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding ElementName=self, Path=DeviceData.JogSpeedSetPoint}" />
- <Rectangle Grid.Row="1" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBox x:Name="SetJogBox" Grid.Row="1" Grid.Column="2" PreviewTextInput="OnPreviewTextInput" TextAlignment="Center" FontSize="15" Width="{Binding ElementName=self, Path=JogSpeedInput }" Height="35" Margin="3,3,0,0" Padding="0,0,0,0" Text="{Binding ElementName=self,Path=ScSetPoint}" />
- <Rectangle Grid.Row="1" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="1" Grid.Column="3" Content="Set" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="{Binding ElementName=SetJogBox,Path=Text, Converter={StaticResource commandConverter}, ConverterParameter=SetJogSpeed}"/>
- <Rectangle Grid.Row="2" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="2" Grid.Column="0" FontSize="15" Text="Auto Speed(MM/Min)" Foreground="White" />
- <Rectangle Grid.Row="2" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="2" Grid.Column="1" TextAlignment="Center" FontSize="12" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding ElementName=self, Path=DeviceData.AutoSpeedSetPoint}" />
- <Rectangle Grid.Row="2" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBox x:Name="SetAutoBox" Grid.Row="2" Grid.Column="2" PreviewTextInput="OnPreviewTextInput" TextAlignment="Center" FontSize="15" Width="{Binding ElementName=self, Path=AutoSpeedInput }" Height="35" Margin="3,3,0,0" Padding="0,0,0,0" Text="{Binding ElementName=self,Path=ScSetPoint}" />
- <Rectangle Grid.Row="2" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="2" Grid.Column="3" Content="Set" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="{Binding ElementName=SetAutoBox,Path=Text, Converter={StaticResource commandConverter}, ConverterParameter=SetAutoSpeed}"/>
- <Rectangle Grid.Row="3" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="3" Grid.Column="0" FontSize="15" Text="Acc. Speed(ms)" Foreground="White" />
- <Rectangle Grid.Row="3" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="3" Grid.Column="1" TextAlignment="Center" FontSize="12" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding ElementName=self, Path=DeviceData.AccSpeedSetPoint}" />
- <Rectangle Grid.Row="3" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBox x:Name="SetAccBox" Grid.Row="3" Grid.Column="2" PreviewTextInput="OnPreviewTextInput" TextAlignment="Center" FontSize="15" Width="{Binding ElementName=self, Path=AccSpeedInput}" Height="35" Margin="3,3,0,0" Padding="0,0,0,0" Text="{Binding ElementName=self,Path=ScSetPoint}" />
- <Rectangle Grid.Row="3" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="3" Grid.Column="3" Content="Set" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="{Binding ElementName=SetAutoBox,Path=Text, Converter={StaticResource commandConverter}, ConverterParameter=SetAccSpeed}"/>
- </Grid>
- <Grid Canvas.Left="944" Canvas.Top="21">
- <Grid.RowDefinitions>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
- <RowDefinition Height="38"/>
-
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="180" />
- <ColumnDefinition Width="120" />
- <ColumnDefinition Width="180" />
- <ColumnDefinition Width="100" />
- </Grid.ColumnDefinitions>
- <Rectangle Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="4" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"/>
- <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="4" FontSize="20" TextAlignment="Center" Text="Position Teaching" Foreground="White" />
- <Rectangle Grid.Row="1" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="1" Grid.Column="0" FontSize="15" Text="Current Position(mm)" Foreground="White" />
- <Rectangle Grid.Row="1" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="1" Grid.Column="1" TextAlignment="Center" FontSize="12" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding ElementName=self, Path=DeviceData.CurrentPosition}" />
- <Rectangle Grid.Row="1" Grid.Column="2" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="1" Grid.Column="2" FontSize="15" Text="Current Speed(mm/Min)" Foreground="White" />
- <Rectangle Grid.Row="1" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="1" Grid.Column="3" TextAlignment="Center" FontSize="12" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding ElementName=self, Path=DeviceData.CurrentSpeed}" />
- <Rectangle Grid.Row="2" Grid.Column="0" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="2" Grid.Column="0" Content="PMove(+)" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="PMove"/>
- <Rectangle Grid.Row="2" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="2" Grid.Column="1" Content="NMove(-)" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="NMove"/>
- <Rectangle Grid.Row="2" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="2" Grid.Column="2" Content="Stop" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Stop"/>
- <Rectangle Grid.Row="2" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="2" Grid.Column="3" Content="EMO Abort" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Abort"/>
-
- <Rectangle Grid.Row="3" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="3" Grid.Column="0" FontSize="15" Text="Position 0 (Home)" Foreground="White" />
- <Rectangle Grid.Row="3" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="3" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,0"/>
- <Rectangle Grid.Row="3" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="3" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,0"/>
- <Rectangle Grid.Row="3" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Rectangle Grid.Row="4" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="4" Grid.Column="0" FontSize="15" Text="Position 1 (LP1)" Foreground="White" />
- <Rectangle Grid.Row="4" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="4" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,1"/>
- <Rectangle Grid.Row="4" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="4" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,1"/>
- <Rectangle Grid.Row="4" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Rectangle Grid.Row="5" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="5" Grid.Column="0" FontSize="15" Text="Position 2 (LP2)" Foreground="White" />
- <Rectangle Grid.Row="5" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="5" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,2"/>
- <Rectangle Grid.Row="5" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="5" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,2"/>
- <Rectangle Grid.Row="5" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Rectangle Grid.Row="6" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="6" Grid.Column="0" FontSize="15" Text="Position 3 (LP3)" Foreground="White" />
- <Rectangle Grid.Row="6" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="6" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,3"/>
- <Rectangle Grid.Row="6" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="6" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,3"/>
- <Rectangle Grid.Row="6" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Rectangle Grid.Row="7" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="7" Grid.Column="0" FontSize="15" Text="Position 4 (LP4)" Foreground="White" />
- <Rectangle Grid.Row="7" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="7" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,4"/>
- <Rectangle Grid.Row="7" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="7" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,4"/>
- <Rectangle Grid.Row="7" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Rectangle Grid.Row="8" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="8" Grid.Column="0" FontSize="15" Text="Position 5 (LP5)" Foreground="White" />
- <Rectangle Grid.Row="8" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="8" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,5"/>
- <Rectangle Grid.Row="8" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="8" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,5"/>
- <Rectangle Grid.Row="8" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Rectangle Grid.Row="9" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="9" Grid.Column="0" FontSize="15" Text="Position 6 (LP6)" Foreground="White" />
- <Rectangle Grid.Row="9" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="9" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,6"/>
- <Rectangle Grid.Row="9" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="9" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,6"/>
- <Rectangle Grid.Row="9" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Rectangle Grid.Row="10" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="10" Grid.Column="0" FontSize="15" Text="Position 7 (LP7)" Foreground="White" />
- <Rectangle Grid.Row="10" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="10" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,7"/>
- <Rectangle Grid.Row="10" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="10" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,7"/>
- <Rectangle Grid.Row="10" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Rectangle Grid.Row="11" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="11" Grid.Column="0" FontSize="15" Text="Position 8 (LP8)" Foreground="White" />
- <Rectangle Grid.Row="11" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="11" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,8"/>
- <Rectangle Grid.Row="11" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="11" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,8"/>
- <Rectangle Grid.Row="11" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Rectangle Grid.Row="12" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="12" Grid.Column="0" FontSize="15" Text="Position 9 (LP9)" Foreground="White" />
- <Rectangle Grid.Row="12" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="12" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,9"/>
- <Rectangle Grid.Row="12" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="12" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,9"/>
- <Rectangle Grid.Row="12" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Rectangle Grid.Row="13" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="13" Grid.Column="0" FontSize="15" Text="Position 10 (LP10)" Foreground="White" />
- <Rectangle Grid.Row="13" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="13" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,10"/>
- <Rectangle Grid.Row="13" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="13" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,10"/>
- <Rectangle Grid.Row="13" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Rectangle Grid.Row="14" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="14" Grid.Column="0" FontSize="15" Text="Position 11 (Aligner)" Foreground="White" />
- <Rectangle Grid.Row="14" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="14" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,11"/>
- <Rectangle Grid.Row="14" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="14" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,11"/>
- <Rectangle Grid.Row="14" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Rectangle Grid.Row="15" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="15" Grid.Column="0" FontSize="15" Text="Position 12 (LL1)" Foreground="White" />
- <Rectangle Grid.Row="15" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="15" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,12"/>
- <Rectangle Grid.Row="15" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="15" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,12"/>
- <Rectangle Grid.Row="15" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Rectangle Grid.Row="16" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="16" Grid.Column="0" FontSize="15" Text="Position 13 (LL2)" Foreground="White" />
- <Rectangle Grid.Row="16" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="16" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,13"/>
- <Rectangle Grid.Row="16" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="16" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,13"/>
- <Rectangle Grid.Row="16" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
-
- <Rectangle Grid.Row="17" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="17" Grid.Column="0" FontSize="15" Text="Position 14 (LL3)" Foreground="White" />
- <Rectangle Grid.Row="17" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="17" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,14"/>
- <Rectangle Grid.Row="17" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="17" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,14"/>
- <Rectangle Grid.Row="17" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Rectangle Grid.Row="18" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <TextBlock Grid.Row="18" Grid.Column="0" FontSize="15" Text="Position 15 (LL4)" Foreground="White" />
- <Rectangle Grid.Row="18" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="18" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,15"/>
- <Rectangle Grid.Row="18" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- <Button Grid.Row="18" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,15"/>
- <Rectangle Grid.Row="18" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
- </Grid>
- </Canvas>
- </UserControl>
|