整理代码
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
<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:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
||||
</Window.Resources>
|
||||
<wpf:AutoGrid
|
||||
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:AutoGrid>
|
||||
</wpf:FluentWindowEx>
|
||||
Reference in New Issue
Block a user