Files
ShrlAlgoToolkit/ShrlAlgo.RvKits/RvIndependent/MetroTunnel/MetroTunnelView.xaml

74 lines
3.0 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<wpf:FluentWindowEx
x:Class="ShrlAlgo.RvKits.RvIndependent.MetroTunnel.MetroTunnelView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:metroTunnel="clr-namespace:ShrlAlgo.RvKits.RvIndependent"
xmlns:wpf="https://github.com/ShrlAlgo/WPFluent"
xmlns:metroTunnel1="clr-namespace:ShrlAlgo.RvKits.RvIndependent.MetroTunnel"
Title="简易盾构区间"
Width="500"
Height="280"
MinWidth="300"
d:DataContext="{d:DesignInstance Type=metroTunnel1:MetroTunnelViewModel}"
mc:Ignorable="d">
<Window.Resources>
<ResourceDictionary Source="pack://application:,,,/ShrlAlgo.RvKits;component/WPFUI.xaml" />
</Window.Resources>
<wpf:AutoGridEx
ChildMargin="5"
Columns="*,*"
Rows="Auto,Auto,Auto,Auto,*">
<wpf:TextBoxEx
Prefix="邻接块(前)角度"
Suffix="°"
Text="{Binding FrontTubeAngle}"
ToolTip="值域50~90°" />
<wpf:TextBoxEx
Prefix="标准块角度"
Suffix="°"
Text="{Binding StandardTubeAngle}"
ToolTip="值域60~90°" />
<wpf:TextBoxEx
Prefix="邻接块(后)角度"
Suffix="°"
Text="{Binding BackTubeAngle}"
ToolTip="值域50~90°" />
<wpf:TextBoxEx
Prefix="标准块一侧角度"
Suffix="°"
Text="{Binding StartAngle}"
ToolTip="路线前进方向反向观察,标准块一侧角度,值域0~90°" />
<wpf:TextBoxEx
Prefix="错缝变化角度"
Suffix="°"
Text="{Binding StaggerAngle}"
ToolTip="值域0~90°" />
<wpf:TextBoxEx
Prefix="隧道管片外径"
Suffix="mm"
Text="{Binding TubeOuterDiameter}"
ToolTip="值域6000~10000mm" />
<wpf:TextBoxEx
Prefix="管片厚度"
Suffix="mm"
Text="{Binding TubeThickness}"
ToolTip="值域200~500mm" />
<wpf:TextBoxEx
Prefix="管片宽度"
Suffix="mm"
Text="{Binding TubeWidth}"
ToolTip="值域1000~3000mm" />
<ComboBox SelectedIndex="{Binding AssembleSelectedIndex, UpdateSourceTrigger=PropertyChanged}" ToolTip="错缝形式">
<ComboBoxItem Content="通缝拼装" />
<ComboBoxItem Content="摇摆错缝拼装" />
<ComboBoxItem Content="顺时针错缝拼装" />
<ComboBoxItem Content="逆时针错缝拼装" />
</ComboBox>
<Button
Command="{Binding ConfirmCommand}"
CommandParameter="{Binding RelativeSource={RelativeSource AncestorType={x:Type Window}, Mode=FindAncestor}}"
Content="布置" />
</wpf:AutoGridEx>
</wpf:FluentWindowEx>