Esempio n. 1
0
 protected override void setJSON(JObject obj, BaseClassIfc host, SetJsonOptions options)
 {
     base.setJSON(obj, host, options);
     if (mBuildingAddress != null)
     {
         obj["BuildingAddress"] = BuildingAddress.getJson(this, options);
     }
 }
Esempio n. 2
0
 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);
     }
 }
Esempio n. 3
0
 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);
     }
 }