Fehlerhafte übertragung beseitigt

This commit is contained in:
2023-06-09 15:54:30 +02:00
parent ce1ca01287
commit 958f225d49

View File

@@ -7,7 +7,7 @@ namespace Schnittstelle.Import.XML.v2013.Model
public InspizierteAbwassertechnischeAnlage Inspektionsdaten { get; set; }
public override string ToString()
{
return string.Format("{0} ({1})",Stammdaten.Objektbezeichnung,Inspektionsdaten.OptischeInspektion.Rohrleitung.Grunddaten.Profilbreite);
return string.Format("{0} ({1})",Stammdaten.Objektbezeichnung, Inspektionsdaten.OptischeInspektion.Rohrleitung != null ? Inspektionsdaten.OptischeInspektion.Rohrleitung.Grunddaten.Profilbreite: 0);
}
}
}