2025-08-20 12:10:35 +08:00
|
|
|
|
<ui:NeoWindow
|
2025-04-24 20:56:44 +08:00
|
|
|
|
x:Class="ShrlAlgoToolkit.RevitAddins.RvIndependent.MetroTunnel.MetroTunnelView"
|
2024-09-22 11:05:41 +08:00
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
2025-10-10 11:19:58 +08:00
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
2024-09-22 11:05:41 +08:00
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2025-04-24 20:56:44 +08:00
|
|
|
|
xmlns:metroTunnel="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvIndependent"
|
|
|
|
|
|
xmlns:metroTunnel1="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvIndependent.MetroTunnel"
|
2025-08-20 12:10:35 +08:00
|
|
|
|
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
|
2025-10-10 11:19:58 +08:00
|
|
|
|
Title="简易盾构区间"
|
|
|
|
|
|
Width="500"
|
|
|
|
|
|
Height="280"
|
|
|
|
|
|
MinWidth="300"
|
|
|
|
|
|
d:DataContext="{d:DesignInstance Type=metroTunnel1:MetroTunnelViewModel}"
|
|
|
|
|
|
Icon="{DynamicResource RevitIcon}"
|
|
|
|
|
|
mc:Ignorable="d">
|
2024-09-22 11:05:41 +08:00
|
|
|
|
<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-08-20 12:10:35 +08:00
|
|
|
|
<ui:Grid
|
2024-09-22 11:05:41 +08:00
|
|
|
|
ChildMargin="5"
|
|
|
|
|
|
Columns="*,*"
|
|
|
|
|
|
Rows="Auto,Auto,Auto,Auto,*">
|
2025-08-20 12:10:35 +08:00
|
|
|
|
<TextBox
|
|
|
|
|
|
ui:InputAssist.Prefix="邻接块(前)角度"
|
|
|
|
|
|
ui:InputAssist.Suffix="°"
|
2024-09-22 11:05:41 +08:00
|
|
|
|
Text="{Binding FrontTubeAngle}"
|
|
|
|
|
|
ToolTip="值域:50~90°" />
|
2025-08-20 12:10:35 +08:00
|
|
|
|
<TextBox
|
|
|
|
|
|
ui:InputAssist.Prefix="标准块角度"
|
|
|
|
|
|
ui:InputAssist.Suffix="°"
|
2024-09-22 11:05:41 +08:00
|
|
|
|
Text="{Binding StandardTubeAngle}"
|
|
|
|
|
|
ToolTip="值域:60~90°" />
|
2025-08-20 12:10:35 +08:00
|
|
|
|
<TextBox
|
|
|
|
|
|
ui:InputAssist.Prefix="邻接块(后)角度"
|
|
|
|
|
|
ui:InputAssist.Suffix="°"
|
2024-09-22 11:05:41 +08:00
|
|
|
|
Text="{Binding BackTubeAngle}"
|
|
|
|
|
|
ToolTip="值域:50~90°" />
|
2025-08-20 12:10:35 +08:00
|
|
|
|
<TextBox
|
|
|
|
|
|
ui:InputAssist.Prefix="标准块一侧角度"
|
|
|
|
|
|
ui:InputAssist.Suffix="°"
|
2024-09-22 11:05:41 +08:00
|
|
|
|
Text="{Binding StartAngle}"
|
|
|
|
|
|
ToolTip="路线前进方向反向观察,标准块一侧角度,值域:0~90°" />
|
2025-08-20 12:10:35 +08:00
|
|
|
|
<TextBox
|
|
|
|
|
|
ui:InputAssist.Prefix="错缝变化角度"
|
|
|
|
|
|
ui:InputAssist.Suffix="°"
|
2024-09-22 11:05:41 +08:00
|
|
|
|
Text="{Binding StaggerAngle}"
|
|
|
|
|
|
ToolTip="值域:0~90°" />
|
2025-08-20 12:10:35 +08:00
|
|
|
|
<TextBox
|
|
|
|
|
|
ui:InputAssist.Prefix="隧道管片外径"
|
|
|
|
|
|
ui:InputAssist.Suffix="mm"
|
2024-09-22 11:05:41 +08:00
|
|
|
|
Text="{Binding TubeOuterDiameter}"
|
|
|
|
|
|
ToolTip="值域:6000~10000mm" />
|
2025-08-20 12:10:35 +08:00
|
|
|
|
<TextBox
|
|
|
|
|
|
ui:InputAssist.Prefix="管片厚度"
|
|
|
|
|
|
ui:InputAssist.Suffix="mm"
|
2024-09-22 11:05:41 +08:00
|
|
|
|
Text="{Binding TubeThickness}"
|
|
|
|
|
|
ToolTip="值域:200~500mm" />
|
2025-08-20 12:10:35 +08:00
|
|
|
|
<TextBox
|
|
|
|
|
|
ui:InputAssist.Prefix="管片宽度"
|
|
|
|
|
|
ui:InputAssist.Suffix="mm"
|
2024-09-22 11:05:41 +08:00
|
|
|
|
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-08-20 12:10:35 +08:00
|
|
|
|
</ui:Grid>
|
|
|
|
|
|
</ui:NeoWindow>
|