internal override void SetXML(XmlElement xml, BaseClassIfc host, Dictionary <int, XmlElement> processed) { base.SetXML(xml, host, processed); if (mBuildingAddress != null) { xml.AppendChild(BuildingAddress.GetXML(xml.OwnerDocument, "BuildingAddress", this, processed)); } }
internal override void SetXML(XmlElement xml, BaseClassIfc host, Dictionary <int, XmlElement> processed) { base.SetXML(xml, host, processed); if (!double.IsNaN(mElevationOfRefHeight)) { xml.SetAttribute("ElevationOfRefHeight", mElevationOfRefHeight.ToString()); } if (!double.IsNaN(mElevationOfTerrain)) { xml.SetAttribute("ElevationOfTerrain", mElevationOfTerrain.ToString()); } if (mBuildingAddress > 0) { xml.AppendChild(BuildingAddress.GetXML(xml.OwnerDocument, "BuildingAddress", this, processed)); } }