From a0067655b485eae2791c7a66d0e963521ea244fb Mon Sep 17 00:00:00 2001 From: Damian Wessels Date: Mon, 24 Jul 2023 19:51:45 +0200 Subject: [PATCH] =?UTF-8?q?Revisionsch=C3=A4chte=20werden=20nun=20mit=20ab?= =?UTF-8?q?gelegt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ViewModel/Schacht/ManholeEditViewModel.cs | 13 +++++++++++++ StammGenerator/Views/Schacht/SchachtEditView.xaml | 10 +++++++++- StammGenerator/Views/Schacht/SchachtListView.xaml | 1 + .../Exporter/Kandis/KANDIS60.cs | 3 ++- .../Exporter/Kandis/KANDIS_HAUSREV60.cs | 7 ++++++- 5 files changed, 31 insertions(+), 3 deletions(-) diff --git a/StammGenerator/ViewModel/Schacht/ManholeEditViewModel.cs b/StammGenerator/ViewModel/Schacht/ManholeEditViewModel.cs index 31ffa18..94c4ac5 100644 --- a/StammGenerator/ViewModel/Schacht/ManholeEditViewModel.cs +++ b/StammGenerator/ViewModel/Schacht/ManholeEditViewModel.cs @@ -138,6 +138,19 @@ namespace StammGenerator.ViewModel } } + public ESchachtType SchachtType + { + get => _model.SchachtType; + set + { + if(_model.SchachtType != value) + { + _model.SchachtType = value; + OnPropertyChanged(); + } + } + } + public ManholeEditViewModel(ISchachtDataService schachtDataService,IActualState actualState, IRenavigator renavigator) { _schachtDataService = schachtDataService; diff --git a/StammGenerator/Views/Schacht/SchachtEditView.xaml b/StammGenerator/Views/Schacht/SchachtEditView.xaml index f0fef45..06e208b 100644 --- a/StammGenerator/Views/Schacht/SchachtEditView.xaml +++ b/StammGenerator/Views/Schacht/SchachtEditView.xaml @@ -29,6 +29,7 @@ + @@ -42,6 +43,7 @@