Imprägnierungedit weitergeschrieben
This commit is contained in:
@@ -14,8 +14,8 @@ namespace DaSaSo.ViewModel.State.ActualState
|
||||
public Buildingsite? AktuellBaustelle { get; private set; }
|
||||
public Project? AktuellProjekt { get; private set; }
|
||||
public SewerObject? AktuellSewerObject { get; private set; }
|
||||
|
||||
public SewerDamage? AktuellSewerDamage { get; private set; }
|
||||
public Impregnation? AktuellImpregnation { get; private set; }
|
||||
|
||||
|
||||
#region events
|
||||
@@ -57,7 +57,6 @@ namespace DaSaSo.ViewModel.State.ActualState
|
||||
|
||||
public void SetProject(Project project, bool notification = true)
|
||||
{
|
||||
|
||||
AktuellProjekt = project;
|
||||
if(notification)
|
||||
OnProjectChanged();
|
||||
@@ -76,7 +75,12 @@ namespace DaSaSo.ViewModel.State.ActualState
|
||||
OnSewerObjectChanged();
|
||||
}
|
||||
|
||||
|
||||
public void SetImpregnation(Impregnation impregnation, bool notification = true)
|
||||
{
|
||||
AktuellImpregnation = impregnation;
|
||||
if (notification)
|
||||
return; // TODO notification wird aktuell nicht benötigt
|
||||
}
|
||||
public void ResetProject()
|
||||
{
|
||||
SetProject(null);
|
||||
|
||||
Reference in New Issue
Block a user