SchachtDataService hinzugefügt
This commit is contained in:
@@ -14,6 +14,9 @@ namespace SewerStammGen.WPF.ViewModel.State
|
||||
|
||||
public int SchachtID { get; private set; }
|
||||
public int HaltungID { get; private set; }
|
||||
public Schacht SelectedSchacht { get; private set; }
|
||||
|
||||
public Kanal SelectedHaltung {get; private set; }
|
||||
|
||||
public void SetProjekt(Projekt projekt, bool notification = true)
|
||||
{
|
||||
@@ -25,6 +28,7 @@ namespace SewerStammGen.WPF.ViewModel.State
|
||||
}
|
||||
public void SetSchacht(Schacht schacht, bool notification = true)
|
||||
{
|
||||
SelectedSchacht = schacht;
|
||||
SchachtID = schacht.Id;
|
||||
if(notification)
|
||||
{
|
||||
@@ -33,6 +37,7 @@ namespace SewerStammGen.WPF.ViewModel.State
|
||||
}
|
||||
public void SetHaltung(Kanal haltung, bool notification = true)
|
||||
{
|
||||
SelectedHaltung = haltung;
|
||||
HaltungID = haltung.Id;
|
||||
if(notification)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user