|
|
@ -294,7 +294,22 @@ export class CanvasShareDataService { |
|
|
|
facility.Id = ''; |
|
|
|
facility.Id = ''; |
|
|
|
facility.Name = this.facilityAssetsName.get(item.Name); |
|
|
|
facility.Name = this.facilityAssetsName.get(item.Name); |
|
|
|
facility.AssetName = item.Name; |
|
|
|
facility.AssetName = item.Name; |
|
|
|
facility.PropertyInfos = item.PropertyInfos; |
|
|
|
facility.PropertyInfos = []; |
|
|
|
|
|
|
|
item.PropertyInfos.forEach(e => { |
|
|
|
|
|
|
|
var p: PropertyInfo = new PropertyInfo(); |
|
|
|
|
|
|
|
p.Enabled = e.Enabled; |
|
|
|
|
|
|
|
p.Order = e.Order; |
|
|
|
|
|
|
|
p.PhysicalUnit = e.PhysicalUnit; |
|
|
|
|
|
|
|
p.PropertyName = e.PropertyName; |
|
|
|
|
|
|
|
p.PropertyType = e.PropertyType; |
|
|
|
|
|
|
|
p.PropertyValue = e.PropertyValue.toString(); |
|
|
|
|
|
|
|
p.Required = e.Required; |
|
|
|
|
|
|
|
p.RuleName = e.RuleName; |
|
|
|
|
|
|
|
p.RuleValue = e.RuleValue; |
|
|
|
|
|
|
|
p.Tag = e.Tag; |
|
|
|
|
|
|
|
p.Visible = e.Visible; |
|
|
|
|
|
|
|
facility.PropertyInfos.push(p); |
|
|
|
|
|
|
|
}); |
|
|
|
facility.SitePlanId = item.FloorId; |
|
|
|
facility.SitePlanId = item.FloorId; |
|
|
|
list.push(facility); |
|
|
|
list.push(facility); |
|
|
|
} |
|
|
|
} |
|
|
@ -315,7 +330,22 @@ export class CanvasShareDataService { |
|
|
|
facility.Id = ''; |
|
|
|
facility.Id = ''; |
|
|
|
facility.Name = this.facilityAssetsName.get(item.Name); |
|
|
|
facility.Name = this.facilityAssetsName.get(item.Name); |
|
|
|
facility.AssetName = item.Name; |
|
|
|
facility.AssetName = item.Name; |
|
|
|
facility.PropertyInfos = item.PropertyInfos; |
|
|
|
facility.PropertyInfos = []; |
|
|
|
|
|
|
|
item.PropertyInfos.forEach(e => { |
|
|
|
|
|
|
|
var p: PropertyInfo = new PropertyInfo(); |
|
|
|
|
|
|
|
p.Enabled = e.Enabled; |
|
|
|
|
|
|
|
p.Order = e.Order; |
|
|
|
|
|
|
|
p.PhysicalUnit = e.PhysicalUnit; |
|
|
|
|
|
|
|
p.PropertyName = e.PropertyName; |
|
|
|
|
|
|
|
p.PropertyType = e.PropertyType; |
|
|
|
|
|
|
|
p.PropertyValue = e.PropertyValue.toString(); |
|
|
|
|
|
|
|
p.Required = e.Required; |
|
|
|
|
|
|
|
p.RuleName = e.RuleName; |
|
|
|
|
|
|
|
p.RuleValue = e.RuleValue; |
|
|
|
|
|
|
|
p.Tag = e.Tag; |
|
|
|
|
|
|
|
p.Visible = e.Visible; |
|
|
|
|
|
|
|
facility.PropertyInfos.push(p); |
|
|
|
|
|
|
|
}); |
|
|
|
facility.BuildingAreaId = item.FloorId; |
|
|
|
facility.BuildingAreaId = item.FloorId; |
|
|
|
list.push(facility); |
|
|
|
list.push(facility); |
|
|
|
} |
|
|
|
} |
|
|
@ -406,7 +436,7 @@ export class CompanyFacilityAssetInfo { |
|
|
|
public Id: string; |
|
|
|
public Id: string; |
|
|
|
public Name: string; |
|
|
|
public Name: string; |
|
|
|
public AssetName: string; |
|
|
|
public AssetName: string; |
|
|
|
public PropertyInfos: string; |
|
|
|
public PropertyInfos: PropertyInfo[]; |
|
|
|
public AssetId: string; |
|
|
|
public AssetId: string; |
|
|
|
public CompanyId: string; |
|
|
|
public CompanyId: string; |
|
|
|
public SitePlanId: string; |
|
|
|
public SitePlanId: string; |
|
|
@ -418,7 +448,7 @@ export class BuildingFacilityAssetInfo { |
|
|
|
public Id: string; |
|
|
|
public Id: string; |
|
|
|
public Name: string; |
|
|
|
public Name: string; |
|
|
|
public AssetName: string; |
|
|
|
public AssetName: string; |
|
|
|
public PropertyInfos: string; |
|
|
|
public PropertyInfos: PropertyInfo[]; |
|
|
|
public AssetId: string; |
|
|
|
public AssetId: string; |
|
|
|
public BuildingId: string; |
|
|
|
public BuildingId: string; |
|
|
|
public BuildingAreaId: string; |
|
|
|
public BuildingAreaId: string; |
|
|
|