Vorbereitungen werden in Schlauchliner gespeichert
This commit is contained in:
@@ -83,5 +83,10 @@ namespace DaSaSo.ViewModel.Controls
|
||||
SewerPreperationControllViewModel = new SewerPreperationControllViewModel(model.PreparationType);
|
||||
_date = model.Date.ToDateTime(new TimeOnly(0));
|
||||
}
|
||||
public override void Dispose()
|
||||
{
|
||||
model.PreparationType = SewerPreperationControllViewModel.CalculatePreparationFlags();
|
||||
base.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,6 +117,7 @@ namespace DaSaSo.ViewModel
|
||||
//Model.PreparationType = preparationFlags;
|
||||
//SewerPreperationControllViewModel.Dispose();
|
||||
//Debugger.Break();
|
||||
SewerRhebalationControllViewModel.Dispose();
|
||||
base.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,16 +31,10 @@
|
||||
<TextBlock Text="] Hausnummer [" />
|
||||
<TextBlock Text="{Binding Hausnummer}" Foreground="Red" />
|
||||
<TextBlock Text="] Haltung [" />
|
||||
<!--<TextBlock Text="[" />-->
|
||||
<TextBlock Foreground="Blue" Text="{Binding ObjektName}" />
|
||||
<TextBlock Text="] DN [" />
|
||||
<TextBlock Text="{Binding DN}" Foreground="Blue" />
|
||||
<TextBlock Text="]" />
|
||||
<!--
|
||||
<TextBlock Text="] Material [" />
|
||||
<TextBlock Text="{Binding Material}" Foreground="Blue" />
|
||||
<TextBlock Text="]" />
|
||||
-->
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
<Style TargetType="{x:Type TreeViewItem}">
|
||||
|
||||
Reference in New Issue
Block a user