Sanierung wird jetzt angezeigt ob sie abgeschlossen ist

This commit is contained in:
Husky
2018-07-21 19:41:10 +02:00
parent 449982fa3b
commit 5601eadaee
6 changed files with 51 additions and 12 deletions

View File

@@ -32,6 +32,20 @@ namespace KlassenBIB
/// Die Reparatur
/// </summary>
public Reparatur Reparatur { get; set; }
public override string ToString()
{
string result = "";
bool sanVorhanden = Reparatur != null;
bool sanAbgeschlossen = (sanVorhanden && Reparatur.Fertig);
result = string.Format("{0} abgeschlossen : {1}", Anweisung, sanAbgeschlossen);
return result;
}
}
}