<?xml version="1.0" encoding="utf-8"?>
<nacs:ScreenWindow TemplateScreen="Background1" PopupScreen="False" ModalScreen="True" BorderStyle="ThreeDBorder" ScreenTitle="Screen2" Title="Units" SizeToContent="WidthAndHeight" Top="0" Left="0" WindowStartupLocation="CenterScreen" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:nacs="clr-namespace:Neo.ApplicationFramework.Controls.Screen;assembly=Controls" xmlns:nacw="clr-namespace:Neo.ApplicationFramework.Controls.WindowsControls;assembly=Controls" xmlns:nacd="clr-namespace:Neo.ApplicationFramework.Common.Data;assembly=CommonCF" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:nacd1="clr-namespace:Neo.ApplicationFramework.Common.Dynamics;assembly=CommonCF" xmlns:nacc="clr-namespace:Neo.ApplicationFramework.Common.Converters;assembly=Common" xmlns:nac="clr-namespace:Neo.ApplicationFramework.Controls;assembly=Controls" xmlns:nacb="clr-namespace:Neo.ApplicationFramework.Common.Bevel;assembly=Common" x:Class="Neo.ApplicationFramework.Generated.Units">
  <nacs:ElementCanvas Background="#00FFFFFF" Name="m_EditorCanvas" Width="320" Height="240" FocusVisualStyle="{x:Null}" AllowDrop="True" ClipToBounds="True" Focusable="True">
    <nacw:ComboBox FontSize="14" Name="m_ComboBox1" Width="152" Height="36" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="1" Canvas.Left="12" Canvas.Top="44">
      <nacw:ComboBox.Resources>
        <ResourceDictionary>
          <nacc:VariantValueConverter x:Key="ComboBox1.VariantValueConverter" ExpressionName="{x:Null}" />
        </ResourceDictionary>
      </nacw:ComboBox.Resources>
      <nacw:ComboBox.Value>
        <Binding Source="{x:Static nacd:DataItemProxyFactory.Instance}" Path="[Tags.UNIT_PROTARY].Value" Converter="{StaticResource ComboBox1.VariantValueConverter}">
          <Binding.FallbackValue>
            <s:Double>0</s:Double>
          </Binding.FallbackValue>
        </Binding>
      </nacw:ComboBox.Value>
      <nacw:ComboBox.IntervalMapper>
        <nacd1:StringIntervalMapper DefaultValue="{x:Null}">
          <nacd1:StringIntervalMapper.Intervals>
            <nacd1:StringIntervalList>
              <nacd1:StringInterval Start="0" End="0" Value="Counts" />
              <nacd1:StringInterval Start="1" End="1" Value="Radians" />
              <nacd1:StringInterval Start="2" End="2" Value="Degrees" />
              <nacd1:StringInterval Start="3" End="3" Value="User Defined" />
              <nacd1:StringInterval Start="4" End="4" Value="Counts 16bit" />
            </nacd1:StringIntervalList>
          </nacd1:StringIntervalMapper.Intervals>
        </nacd1:StringIntervalMapper>
      </nacw:ComboBox.IntervalMapper>
    </nacw:ComboBox>
    <nac:Label Text="Position Unit" Background="#00FFFFFF" Foreground="#FF000000" Padding="2.5,0,2.5,1" Name="m_Text1" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="2" Canvas.Left="8" Canvas.Top="28" />
    <nacw:ComboBox FontSize="14" Name="m_ComboBox2" Width="152" Height="36" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="3" Canvas.Left="12" Canvas.Top="120">
      <nacw:ComboBox.Resources>
        <ResourceDictionary>
          <nacc:VariantValueConverter x:Key="ComboBox2.VariantValueConverter" ExpressionName="{x:Null}" />
        </ResourceDictionary>
      </nacw:ComboBox.Resources>
      <nacw:ComboBox.Value>
        <Binding Source="{x:Static nacd:DataItemProxyFactory.Instance}" Path="[Tags.UNIT_VROTARY].Value" Converter="{StaticResource ComboBox2.VariantValueConverter}">
          <Binding.FallbackValue>
            <s:Double>0</s:Double>
          </Binding.FallbackValue>
        </Binding>
      </nacw:ComboBox.Value>
      <nacw:ComboBox.IntervalMapper>
        <nacd1:StringIntervalMapper DefaultValue="{x:Null}">
          <nacd1:StringIntervalMapper.Intervals>
            <nacd1:StringIntervalList>
              <nacd1:StringInterval Start="0" End="0" Value="rpm" />
              <nacd1:StringInterval Start="1" End="1" Value="rps" />
              <nacd1:StringInterval Start="2" End="2" Value="deg/s" />
              <nacd1:StringInterval Start="3" End="3" Value="User Unit /s" />
            </nacd1:StringIntervalList>
          </nacd1:StringIntervalMapper.Intervals>
        </nacd1:StringIntervalMapper>
      </nacw:ComboBox.IntervalMapper>
    </nacw:ComboBox>
    <nac:Label Text="Velocity Unit" Background="#00FFFFFF" Foreground="#FF000000" Padding="2.5,0,2.5,1" Name="m_Text2" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="4" Canvas.Left="8" Canvas.Top="104" />
    <nac:Label Text="Acceleration Unit" Background="#00FFFFFF" Foreground="#FF000000" Padding="2.5,0,2.5,1" Name="m_Text3" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="5" Canvas.Left="8" Canvas.Top="180" />
    <nacw:ComboBox FontSize="14" Name="m_ComboBox3" Width="152" Height="35" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="6" Canvas.Left="12" Canvas.Top="196">
      <nacw:ComboBox.Resources>
        <ResourceDictionary>
          <nacc:VariantValueConverter x:Key="ComboBox3.VariantValueConverter" ExpressionName="{x:Null}" />
        </ResourceDictionary>
      </nacw:ComboBox.Resources>
      <nacw:ComboBox.Value>
        <Binding Source="{x:Static nacd:DataItemProxyFactory.Instance}" Path="[Tags.UNIT_ACCROTARY].Value" Converter="{StaticResource ComboBox3.VariantValueConverter}">
          <Binding.FallbackValue>
            <s:Double>0</s:Double>
          </Binding.FallbackValue>
        </Binding>
      </nacw:ComboBox.Value>
      <nacw:ComboBox.IntervalMapper>
        <nacd1:StringIntervalMapper DefaultValue="{x:Null}">
          <nacd1:StringIntervalMapper.Intervals>
            <nacd1:StringIntervalList>
              <nacd1:StringInterval Start="0" End="0" Value="rpm/s" />
              <nacd1:StringInterval Start="1" End="1" Value="rps/s" />
              <nacd1:StringInterval Start="2" End="2" Value="deg/s^2" />
              <nacd1:StringInterval Start="3" End="3" Value="User Unit /s^2" />
            </nacd1:StringIntervalList>
          </nacd1:StringIntervalMapper.Intervals>
        </nacd1:StringIntervalMapper>
      </nacw:ComboBox.IntervalMapper>
    </nacw:ComboBox>
    <nac:Label Text="User Unit Ratio" Background="#00FFFFFF" Foreground="#FF000000" Padding="2.5,0,2.5,1" Name="m_Text4" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="7" Canvas.Left="176" Canvas.Top="28" />
    <nac:AnalogNumericFX AutoStretchFont="False" BorderBrush="#FF7F9DB9" Foreground="#FF000000" FontSize="12" Padding="2,2,2,2" Name="m_AnalogNumeric1" Width="72" Height="24" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="8" KeyboardNavigation.TabNavigation="None" Canvas.Left="180" Canvas.Top="44">
      <nac:AnalogNumericFX.Resources>
        <ResourceDictionary>
          <nacc:VariantValueConverter x:Key="AnalogNumeric1.VariantValueConverter" ExpressionName="{x:Null}" />
        </ResourceDictionary>
      </nac:AnalogNumericFX.Resources>
      <nac:AnalogNumericFX.Value>
        <Binding Source="{x:Static nacd:DataItemProxyFactory.Instance}" Path="[Tags.UNIT_PIN].Value" Converter="{StaticResource AnalogNumeric1.VariantValueConverter}">
          <Binding.FallbackValue>0</Binding.FallbackValue>
        </Binding>
      </nac:AnalogNumericFX.Value>
      <nac:AnalogNumericFX.BevelEffectInfo>
        <nacb:BevelEffectInfo Style="Sunken" Width="2" />
      </nac:AnalogNumericFX.BevelEffectInfo>
      <nac:AnalogNumericFX.TextDecorations>
        <TextDecorationCollection />
      </nac:AnalogNumericFX.TextDecorations>
      <nac:AnalogNumericFX.Background>
        <LinearGradientBrush StartPoint="0.5,1" EndPoint="0.5,0">
          <LinearGradientBrush.GradientStops>
            <GradientStopCollection>
              <GradientStop Color="#FFFFFFFF" />
              <GradientStop Color="#FFD4D0C8" Offset="1" />
            </GradientStopCollection>
          </LinearGradientBrush.GradientStops>
        </LinearGradientBrush>
      </nac:AnalogNumericFX.Background>
    </nac:AnalogNumericFX>
    <nac:Label Text="User Units :" Background="#00FFFFFF" Foreground="#FF000000" Padding="2.5,0,2.5,1" Name="m_Text5" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="9" Canvas.Left="252" Canvas.Top="48" />
    <nac:AnalogNumericFX AutoStretchFont="False" BorderBrush="#FF7F9DB9" Foreground="#FF000000" FontSize="12" Padding="2,2,2,2" Name="m_AnalogNumeric2" Width="72" Height="24" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="10" KeyboardNavigation.TabNavigation="None" Canvas.Left="180" Canvas.Top="88">
      <nac:AnalogNumericFX.Resources>
        <ResourceDictionary>
          <nacc:VariantValueConverter x:Key="AnalogNumeric2.VariantValueConverter" ExpressionName="{x:Null}" />
        </ResourceDictionary>
      </nac:AnalogNumericFX.Resources>
      <nac:AnalogNumericFX.Value>
        <Binding Source="{x:Static nacd:DataItemProxyFactory.Instance}" Path="[Tags.UNIT_POUT].Value" Converter="{StaticResource AnalogNumeric2.VariantValueConverter}">
          <Binding.FallbackValue>0</Binding.FallbackValue>
        </Binding>
      </nac:AnalogNumericFX.Value>
      <nac:AnalogNumericFX.BevelEffectInfo>
        <nacb:BevelEffectInfo Style="Sunken" Width="2" />
      </nac:AnalogNumericFX.BevelEffectInfo>
      <nac:AnalogNumericFX.TextDecorations>
        <TextDecorationCollection />
      </nac:AnalogNumericFX.TextDecorations>
      <nac:AnalogNumericFX.Background>
        <LinearGradientBrush StartPoint="0.5,1" EndPoint="0.5,0">
          <LinearGradientBrush.GradientStops>
            <GradientStopCollection>
              <GradientStop Color="#FFFFFFFF" />
              <GradientStop Color="#FFD4D0C8" Offset="1" />
            </GradientStopCollection>
          </LinearGradientBrush.GradientStops>
        </LinearGradientBrush>
      </nac:AnalogNumericFX.Background>
    </nac:AnalogNumericFX>
    <nac:Label Text="Motor Revs" Background="#00FFFFFF" Foreground="#FF000000" Padding="2.5,0,2.5,1" Name="m_Text6" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="11" Canvas.Left="252" Canvas.Top="92" />
    <nac:AnalogNumericFX AutoStretchFont="False" BorderBrush="#FF7F9DB9" Foreground="#FF000000" FontSize="12" Padding="2,2,2,2" Name="m_AnalogNumeric3" Width="72" Height="24" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="12" KeyboardNavigation.TabNavigation="None" Canvas.Left="180" Canvas.Top="158">
      <nac:AnalogNumericFX.Resources>
        <ResourceDictionary>
          <nacc:VariantValueConverter x:Key="AnalogNumeric3.VariantValueConverter" ExpressionName="{x:Null}" />
        </ResourceDictionary>
      </nac:AnalogNumericFX.Resources>
      <nac:AnalogNumericFX.Value>
        <Binding Source="{x:Static nacd:DataItemProxyFactory.Instance}" Path="[Tags.DRV_EMURES].Value" Converter="{StaticResource AnalogNumeric3.VariantValueConverter}">
          <Binding.FallbackValue>0</Binding.FallbackValue>
        </Binding>
      </nac:AnalogNumericFX.Value>
      <nac:AnalogNumericFX.BevelEffectInfo>
        <nacb:BevelEffectInfo Style="Sunken" Width="2" />
      </nac:AnalogNumericFX.BevelEffectInfo>
      <nac:AnalogNumericFX.TextDecorations>
        <TextDecorationCollection />
      </nac:AnalogNumericFX.TextDecorations>
      <nac:AnalogNumericFX.Background>
        <LinearGradientBrush StartPoint="0.5,1" EndPoint="0.5,0">
          <LinearGradientBrush.GradientStops>
            <GradientStopCollection>
              <GradientStop Color="#FFFFFFFF" />
              <GradientStop Color="#FFD4D0C8" Offset="1" />
            </GradientStopCollection>
          </LinearGradientBrush.GradientStops>
        </LinearGradientBrush>
      </nac:AnalogNumericFX.Background>
    </nac:AnalogNumericFX>
    <nac:Label Text="DRV.EMURES" Background="#00FFFFFF" Foreground="#FF000000" Padding="2.5,0,2.5,1" Name="m_Text7" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="13" Canvas.Left="174" Canvas.Top="137" />
    <nac:Label Text="Lines/rev" Background="#00FFFFFF" Foreground="#FF000000" Padding="2.5,0,2.5,1" Name="m_Text8" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="14" Canvas.Left="252" Canvas.Top="160" />
  </nacs:ElementCanvas>
</nacs:ScreenWindow>