Esempio n. 1
0
 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));
     }
 }
Esempio n. 2
0
 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));
     }
 }