|
|
|
@ -901,7 +901,21 @@ export class CollectionToolsComponent2 implements OnInit {
|
|
|
|
|
let SitePlanData = JSON.parse( |
|
|
|
|
JSON.stringify(this.canvasData.originaleveryStoreyData) |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
for (const key in SitePlanData.data) { |
|
|
|
|
if (Object.prototype.hasOwnProperty.call(SitePlanData.data, key)) { |
|
|
|
|
const element = SitePlanData.data[key]; |
|
|
|
|
element.Width = Number(element.Width); |
|
|
|
|
element.Height = Number(element.Height); |
|
|
|
|
element.PropertyInfos.forEach((item) => { |
|
|
|
|
item.PropertyType = Number(item.PropertyType); |
|
|
|
|
item.PropertyValue = String(item.PropertyValue); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
SitePlanData.data = JSON.stringify(SitePlanData.data); |
|
|
|
|
|
|
|
|
|
let CompanyData = JSON.parse( |
|
|
|
|
JSON.stringify(this.canvasData.originalcompanyBuildingData) |
|
|
|
|
); |
|
|
|
|