更新整理
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
<wpf:FluentWindowEx
|
||||
x:Class="ShrlAlgo.RvKits.ModelManager.ModelCheckView"
|
||||
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.RvFamily"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:wpf="https://github.com/ShrlAlgo/WPFluent"
|
||||
xmlns:modelManager="clr-namespace:ShrlAlgo.RvKits.ModelManager"
|
||||
MinHeight="500"
|
||||
Title="模型检查"
|
||||
Width="600"
|
||||
MinHeight="500"
|
||||
d:DataContext="{d:DesignInstance modelManager:ModelCheckViewModel}"
|
||||
mc:Ignorable="d"
|
||||
wpf:Design.Background="{DynamicResource ApplicationBackgroundBrush}"
|
||||
wpf:Design.Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
||||
mc:Ignorable="d">
|
||||
x:Class="ShrlAlgoToolkit.RevitAddins.ModelManager.ModelCheckView"
|
||||
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.RvFamily"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:modelManager="clr-namespace:ShrlAlgoToolkit.RevitAddins.ModelManager"
|
||||
xmlns:wpf="https://github.com/ShrlAlgo/WPFluent"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
<Style x:Key="GroupHeaderStyle" TargetType="{x:Type GroupItem}">
|
||||
<Style TargetType="{x:Type GroupItem}" x:Key="GroupHeaderStyle">
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type GroupItem}">
|
||||
@@ -41,9 +41,9 @@
|
||||
Columns="*,Auto"
|
||||
Rows="*,Auto,Auto">
|
||||
<DataGrid
|
||||
Grid.ColumnSpan="2"
|
||||
AutoGenerateColumns="False"
|
||||
CanUserAddRows="False"
|
||||
Grid.ColumnSpan="2"
|
||||
IsReadOnly="True"
|
||||
ItemsSource="{Binding Items}"
|
||||
ToolTip="双击行可快速定位">
|
||||
@@ -90,9 +90,9 @@
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
<StackPanel
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="2">
|
||||
Grid.ColumnSpan="2"
|
||||
Grid.Row="1">
|
||||
<wpf:Card>
|
||||
<TextBlock Text="{Binding ProjectBasePoint, StringFormat=项目基点:{}{0}}" />
|
||||
</wpf:Card>
|
||||
@@ -101,8 +101,8 @@
|
||||
</wpf:Card>
|
||||
</StackPanel>
|
||||
<UniformGrid
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Grid.Row="2"
|
||||
Rows="3">
|
||||
<CheckBox
|
||||
Content="管线坡度"
|
||||
@@ -134,8 +134,8 @@
|
||||
ToolTip="检查管线是否重叠" />
|
||||
</UniformGrid>
|
||||
<UniformGrid
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Grid.Row="2"
|
||||
Rows="2">
|
||||
<UniformGrid Rows="2">
|
||||
<TextBlock Text="{Binding ErrorCount, Mode=TwoWay, StringFormat=错误数量:{}{0}}" TextWrapping="WrapWithOverflow" />
|
||||
@@ -143,20 +143,20 @@
|
||||
</UniformGrid>
|
||||
<UniformGrid Rows="2">
|
||||
<Button
|
||||
Width="80"
|
||||
Margin="5"
|
||||
Command="{Binding CheckModelCommand}"
|
||||
Content="模型检查" />
|
||||
<Button
|
||||
Width="80"
|
||||
Command="{Binding ExportToExcelCommand}"
|
||||
Content="导出结果" />
|
||||
<Button
|
||||
Width="80"
|
||||
Content="模型检查"
|
||||
Margin="5"
|
||||
Width="80" />
|
||||
<Button
|
||||
Command="{Binding ExportToExcelCommand}"
|
||||
Content="导出结果"
|
||||
Width="80" />
|
||||
<Button
|
||||
Command="{Binding ModifyModelCommand}"
|
||||
Content="矫正错误"
|
||||
ToolTip="对参照标高进行修改、立管坡度修正" />
|
||||
Margin="5"
|
||||
ToolTip="对参照标高进行修改、立管坡度修正"
|
||||
Width="80" />
|
||||
</UniformGrid>
|
||||
</UniformGrid>
|
||||
</wpf:AutoGrid>
|
||||
|
||||
Reference in New Issue
Block a user