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