Files
ShrlAlgoToolkit/ShrlAlgoToolkit.RevitAddins/RvIndependent/MetroTunnel/MetroTunnelView.xaml

74 lines
3.0 KiB
Plaintext
Raw Normal View History

<wpf:FluentWindowEx
x:Class="ShrlAlgo.RvKits.RvIndependent.MetroTunnel.MetroTunnelView"
2024-09-22 11:05:41 +08:00
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"
2024-09-22 11:05:41 +08:00
Title="简易盾构区间"
Width="500"
Height="280"
MinWidth="300"
d:DataContext="{d:DesignInstance Type=metroTunnel1:MetroTunnelViewModel}"
2024-09-22 11:05:41 +08:00
mc:Ignorable="d">
<Window.Resources>
2025-04-24 20:56:10 +08:00
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
2024-09-22 11:05:41 +08:00
</Window.Resources>
2025-04-24 20:56:10 +08:00
<wpf:AutoGrid
2024-09-22 11:05:41 +08:00
ChildMargin="5"
Columns="*,*"
Rows="Auto,Auto,Auto,Auto,*">
<wpf:TextBoxEx
2024-09-22 11:05:41 +08:00
Prefix="邻接块(前)角度"
Suffix="°"
Text="{Binding FrontTubeAngle}"
ToolTip="值域50~90°" />
<wpf:TextBoxEx
2024-09-22 11:05:41 +08:00
Prefix="标准块角度"
Suffix="°"
Text="{Binding StandardTubeAngle}"
ToolTip="值域60~90°" />
<wpf:TextBoxEx
2024-09-22 11:05:41 +08:00
Prefix="邻接块(后)角度"
Suffix="°"
Text="{Binding BackTubeAngle}"
ToolTip="值域50~90°" />
<wpf:TextBoxEx
2024-09-22 11:05:41 +08:00
Prefix="标准块一侧角度"
Suffix="°"
Text="{Binding StartAngle}"
ToolTip="路线前进方向反向观察,标准块一侧角度,值域0~90°" />
<wpf:TextBoxEx
2024-09-22 11:05:41 +08:00
Prefix="错缝变化角度"
Suffix="°"
Text="{Binding StaggerAngle}"
ToolTip="值域0~90°" />
<wpf:TextBoxEx
2024-09-22 11:05:41 +08:00
Prefix="隧道管片外径"
Suffix="mm"
Text="{Binding TubeOuterDiameter}"
ToolTip="值域6000~10000mm" />
<wpf:TextBoxEx
2024-09-22 11:05:41 +08:00
Prefix="管片厚度"
Suffix="mm"
Text="{Binding TubeThickness}"
ToolTip="值域200~500mm" />
<wpf:TextBoxEx
2024-09-22 11:05:41 +08:00
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="布置" />
2025-04-24 20:56:10 +08:00
</wpf:AutoGrid>
</wpf:FluentWindowEx>