增加保温层和整理管线的功能,修复自动保存功能等修复多个bug
This commit is contained in:
44
Sai.RvKits/RvMEP/ArrangeMEPCurveView.xaml
Normal file
44
Sai.RvKits/RvMEP/ArrangeMEPCurveView.xaml
Normal file
@@ -0,0 +1,44 @@
|
||||
<ex:FluentWindowEx
|
||||
x:Class="Sai.RvKits.RvMEP.ArrangeMEPCurveView"
|
||||
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:ex="https://github.com/sherlockforrest/Wpf.Ui.Extend"
|
||||
xmlns:local="clr-namespace:Sai.RvKits.RvMEP"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
Title="整理管线"
|
||||
Width="270"
|
||||
MinHeight="180"
|
||||
d:DataContext="{d:DesignInstance Type=local:ArrangeMEPCurveViewModel}"
|
||||
SizeToContent="Height"
|
||||
mc:Ignorable="d">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary Source="pack://application:,,,/Sai.RvKits;component/WPFUI.xaml" />
|
||||
</Window.Resources>
|
||||
<ex:StackPanelEx Margin="5" Spacing="5">
|
||||
<GroupBox Header="参考方向">
|
||||
<UniformGrid Rows="1">
|
||||
<RadioButton Content="水平方向" IsChecked="{Binding IsHorizon}" />
|
||||
<RadioButton Content="垂直方向" IsChecked="{Binding IsHorizon, Converter={StaticResource InvertBooleanConverter}}" />
|
||||
</UniformGrid>
|
||||
</GroupBox>
|
||||
<ex:TextBoxEx
|
||||
Prefix="间距:"
|
||||
Suffix="mm"
|
||||
Text="{Binding Gap, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<UniformGrid Rows="1">
|
||||
<RadioButton
|
||||
MinWidth="50"
|
||||
Content="管中心"
|
||||
IsChecked="{Binding MEPCurveCenter}" />
|
||||
<RadioButton
|
||||
Content="管外壁/考虑保温层"
|
||||
IsChecked="{Binding MEPCurveCenter, Converter={StaticResource InvertBooleanConverter}}"
|
||||
ToolTip="若无保温,则仅考虑管外壁" />
|
||||
</UniformGrid>
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding ArrangeCommand}"
|
||||
Content="整理" />
|
||||
</ex:StackPanelEx>
|
||||
</ex:FluentWindowEx>
|
||||
Reference in New Issue
Block a user