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 @@