PgAccessorySetting.xaml 6.31 KB
<Page x:Class="FLY.Integrated.UI.Client.PgAccessorySetting"
      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:iCommon="clr-namespace:FLY.Integrated.Common;assembly=FLY.Integrated"
      mc:Ignorable="d" 
      d:DesignHeight="1000" d:DesignWidth="964"
      Unloaded="Page_Unloaded"
      Background="{StaticResource WhiteBrush}"
      d:DataContext="{d:DesignInstance iCommon:WinderAccessory}">
    <Page.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.Integrated.UI.Client;component/Themes/Styles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Page.Resources>
    <Grid >
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" Background="{StaticResource Background_Title}">
            <Button Style="{StaticResource ButtonStyle_back2}" Command="BrowseBack"/>
            <TextBlock Style="{StaticResource TextBlockStyle_Title}"  Text="牵引旋转系统参数"/>
        </StackPanel>
        <ScrollViewer Grid.Row="1" >
            <StackPanel >
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="auto" />
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <Border Style="{StaticResource BorderStyle_paramSection}" >
                        <TextBlock Text="状态" />
                    </Border>
                    <StackPanel Grid.Column="1" >
                        <StackPanel Orientation="Horizontal">
                            <StackPanel Margin="{StaticResource ControlMargin}">
                                <TextBlock Style="{StaticResource TextBlockStyle_FieldHeader}" Text="牵引速度" />
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Style="{StaticResource TextBlockStyle_FieldContent}" Text="{Binding TractionVelocityInner}" />
                                </StackPanel>
                            </StackPanel>
                        </StackPanel>
                    </StackPanel>
                </Grid>
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="auto" />
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <Border Style="{StaticResource BorderStyle_paramSection}" >
                        <TextBlock Text="牵引" />
                    </Border>
                    <StackPanel Grid.Column="1" >
                        <StackPanel Orientation="Horizontal">
                            <StackPanel Margin="{StaticResource ControlMargin}">
                                <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="速度系数" />
                                <StackPanel Orientation="Horizontal">
                                    <TextBox Style="{StaticResource TextBoxStyle_FieldContent}" Text="{Binding VelocityFactor, StringFormat={}{0:F2}}" />
                                </StackPanel>
                            </StackPanel>
                            <StackPanel Margin="{StaticResource ControlMargin}" >
                                <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="牵引直径" />
                                <StackPanel Orientation="Horizontal">
                                    <TextBox Style="{StaticResource TextBoxStyle_FieldContent}" Text="{Binding TractionDiameter, StringFormat={}{0:F1}}" />
                                </StackPanel>
                            </StackPanel>
                            <StackPanel Margin="{StaticResource ControlMargin}" >
                                <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="牵引速比" />
                                <StackPanel Orientation="Horizontal">
                                    <TextBox Style="{StaticResource TextBoxStyle_FieldContent}" Text="{Binding TractionVRatio, StringFormat={}{0:F2}}" />
                                </StackPanel>
                            </StackPanel>
                        </StackPanel>
                    </StackPanel>
                </Grid>
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="auto" />
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <Border Style="{StaticResource BorderStyle_paramSection}" >
                        <TextBlock Text="电机&#x0a;频率" />
                    </Border>
                    <StackPanel Grid.Column="1" Orientation="Vertical">
                        <StackPanel Orientation="Horizontal">
                            <StackPanel Margin="{StaticResource ControlMargin}">
                                <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="牵引额定频率" />
                                <StackPanel Orientation="Horizontal">
                                    <TextBox Style="{StaticResource TextBoxStyle_FieldContent}" Text="{Binding TractionDefaultFreq,StringFormat={}{0:F1}}" />
                                </StackPanel>
                            </StackPanel>
                            <StackPanel Margin="{StaticResource ControlMargin}">
                                <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="旋转额定频率" />
                                <StackPanel Orientation="Horizontal">
                                    <TextBox Style="{StaticResource TextBoxStyle_FieldContent}" Text="{Binding RotationDefaultFreq,StringFormat={}{0:F1}}" />
                                </StackPanel>
                            </StackPanel>
                        </StackPanel>
                    </StackPanel>
                </Grid>
            </StackPanel>
        </ScrollViewer>
    </Grid>
</Page>