protected override void setJSON(JObject obj, BaseClassIfc host, SetJsonOptions options) { base.setJSON(obj, host, options); if (mBuildingAddress != null) { obj["BuildingAddress"] = BuildingAddress.getJson(this, options); } }
protected override void setJSON(JObject obj, BaseClassIfc host, HashSet <int> processed) { base.setJSON(obj, host, processed); if (!double.IsNaN(mElevationOfRefHeight)) { obj["ElevationOfRefHeight"] = ElevationOfRefHeight.ToString(); } if (!double.IsNaN(mElevationOfTerrain)) { obj["ElevationOfTerrain"] = ElevationOfTerrain.ToString(); } if (mBuildingAddress > 0) { obj["BuildingAddress"] = BuildingAddress.getJson(this, processed); } }
protected override void setJSON(JObject obj, BaseClassIfc host, SetJsonOptions options) { base.setJSON(obj, host, options); if (!double.IsNaN(mElevationOfRefHeight)) { obj["ElevationOfRefHeight"] = ElevationOfRefHeight.ToString(); } if (!double.IsNaN(mElevationOfTerrain)) { obj["ElevationOfTerrain"] = ElevationOfTerrain.ToString(); } if (mBuildingAddress != null) { obj["BuildingAddress"] = BuildingAddress.getJson(this, options); } }