更新整理
This commit is contained in:
@@ -1,18 +1,17 @@
|
||||
<ui:FluentWindowEx
|
||||
x:Class="ShrlAlgo.RvKits.RvMEP.HeadroomCheckView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
|
||||
xmlns:local="clr-namespace:ShrlAlgo.RvKits.RvMEP"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
|
||||
Height="800"
|
||||
Title="净空检查"
|
||||
Width="400"
|
||||
Height="800"
|
||||
d:DataContext="{d:DesignInstance local:HeadroomCheckViewModel}"
|
||||
mc:Ignorable="d">
|
||||
mc:Ignorable="d"
|
||||
x:Class="ShrlAlgoToolkit.RevitAddins.RvMEP.HeadroomCheckView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvMEP"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
||||
</Window.Resources>
|
||||
@@ -25,21 +24,21 @@
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<DataGrid
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Height="200"
|
||||
Margin="5"
|
||||
d:ItemsSource="{d:SampleData ItemCount=5}"
|
||||
AutoGenerateColumns="False"
|
||||
CanUserAddRows="False"
|
||||
Grid.Column="0"
|
||||
Grid.Row="0"
|
||||
Height="200"
|
||||
ItemsSource="{Binding Rooms}"
|
||||
SelectionMode="Extended">
|
||||
Margin="5"
|
||||
SelectionMode="Extended"
|
||||
d:ItemsSource="{d:SampleData ItemCount=5}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridCheckBoxColumn
|
||||
Width="60"
|
||||
Binding="{Binding IsSelected}"
|
||||
ElementStyle="{StaticResource DataGridCheckBoxElementDefaultStyle}"
|
||||
Header="选择" />
|
||||
Header="选择"
|
||||
Width="60" />
|
||||
<DataGridTextColumn
|
||||
Binding="{Binding Name}"
|
||||
Header="房间名称"
|
||||
@@ -55,14 +54,14 @@
|
||||
</DataGrid>
|
||||
<GridSplitter Grid.Row="1" HorizontalAlignment="Stretch" />
|
||||
<DataGrid
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Height="340"
|
||||
Margin="5"
|
||||
AutoGenerateColumns="False"
|
||||
CanUserAddRows="False"
|
||||
Grid.Column="0"
|
||||
Grid.Row="2"
|
||||
Height="340"
|
||||
IsReadOnly="True"
|
||||
ItemsSource="{Binding ErrorModels}"
|
||||
Margin="5"
|
||||
ToolTip="双击行可快速定位">
|
||||
<b:Interaction.Triggers>
|
||||
<b:EventTrigger EventName="MouseDoubleClick">
|
||||
@@ -91,8 +90,8 @@
|
||||
<!-- 树状结构,按楼层=>专业=>管线 -->
|
||||
<GridSplitter Grid.Row="3" HorizontalAlignment="Stretch" />
|
||||
<ui:StackPanel
|
||||
Grid.Row="4"
|
||||
Grid.Column="0"
|
||||
Grid.Row="4"
|
||||
Margin="5"
|
||||
Spacing="5">
|
||||
<!--<TextBlock
|
||||
@@ -100,9 +99,9 @@
|
||||
VerticalAlignment="Center"
|
||||
Text="排除高度低的管线(mm):" />-->
|
||||
<ui:TextBoxEx
|
||||
MinWidth="120"
|
||||
Header="排除高度低的管线:"
|
||||
HeaderPlacement="Left"
|
||||
MinWidth="120"
|
||||
Suffix="mm"
|
||||
Text="1000" />
|
||||
<!--<TextBlock
|
||||
@@ -110,9 +109,9 @@
|
||||
VerticalAlignment="Center"
|
||||
Text="排除长度短的管线(mm):" />-->
|
||||
<ui:TextBoxEx
|
||||
MinWidth="120"
|
||||
Header="排除长度短的管线:"
|
||||
HeaderPlacement="Left"
|
||||
MinWidth="120"
|
||||
Suffix="mm"
|
||||
Text="500" />
|
||||
<!--<TextBlock
|
||||
@@ -120,29 +119,29 @@
|
||||
VerticalAlignment="Center"
|
||||
Text="净高要求高度(mm):" />-->
|
||||
<ui:TextBoxEx
|
||||
MinWidth="120"
|
||||
Header="净高要求高度:"
|
||||
HeaderPlacement="Left"
|
||||
MinWidth="120"
|
||||
Suffix="mm"
|
||||
Text="2600" />
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding AnalysisHeadroomCommand}"
|
||||
Content="净高分析"
|
||||
HorizontalAlignment="Stretch"
|
||||
ToolTip="得到净高分析的平面以及不满足净高要求的管线" />
|
||||
<!--<Button
|
||||
Command="{Binding FindOverCommand}"
|
||||
Content="查询管线"
|
||||
ToolTip="根据净高要求查询" />-->
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding ResetRoomHeightCommand}"
|
||||
Content="重设高度"
|
||||
HorizontalAlignment="Stretch"
|
||||
ToolTip="重新设置房间高度为4000mm,避免影响平面查看" />
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding GenerateRoom3DCommand}"
|
||||
Content="房间实体"
|
||||
HorizontalAlignment="Stretch"
|
||||
ToolTip="生成三维房间实体" />
|
||||
</ui:StackPanel>
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user