Browse Source

新增楼层编号

zhuzhou
徐振升 4 years ago
parent
commit
3f0db36e47
  1. 21
      src/app/canvas-share-data.service.ts

21
src/app/canvas-share-data.service.ts

@ -23,24 +23,23 @@ export class CanvasShareDataService {
selectTemplateData: any; // 选择当前 模板数据
// 总平面图/建筑 楼层
selectStorey:any = {area: '', details: ''}; // 选择当前 楼层 数据
originalcompanyBuildingData:any; // 单位/建筑 数据
originaleveryStoreyData:any; // 总平面图/楼层/区域 楼层数据
selectStorey: any = { area: '', details: '' }; // 选择当前 楼层 数据
originalcompanyBuildingData: any; // 单位/建筑 数据
originaleveryStoreyData: any; // 总平面图/楼层/区域 楼层数据
// 总平面图/建筑 楼层
// 处置 节点
allDisposalNode:any = []; // 所有 处置节点
allNodeMarkers:any = { highlightMarkers:{}, markers:{} }; // 灾情 标签信息
selectPanelPoint:DisposalNodeData = new DisposalNodeData(); // 当前数据节点
selectPanelPointBaseData:any = {description: '', notes: '', weather: '', airTemperature: '', windDirection: '', windScale: ''}; // 当前 数据节点 对应 父级节点
isInheritSky:any; //缓存 节点 天气
customizeDisposalNode:any; // 新建 自定义数据节点 底图+名称
allDisposalNode: any = []; // 所有 处置节点
allNodeMarkers: any = { highlightMarkers: {}, markers: {} }; // 灾情 标签信息
selectPanelPoint: DisposalNodeData = new DisposalNodeData(); // 当前数据节点
selectPanelPointBaseData: any = { description: '', notes: '', weather: '', airTemperature: '', windDirection: '', windScale: '' }; // 当前 数据节点 对应 父级节点
customizeDisposalNode: any; // 新建 自定义数据节点 底图+名称
// 处置 节点
/**
*
*/
gameMode:GameMode = GameMode.BasicInformation;
gameMode: GameMode = GameMode.BasicInformation;
facilityAssetsName = new Map<string, string>([
['消防水池', '消防水池'],
@ -263,6 +262,7 @@ export class CanvasShareDataService {
important.Id = '';
important.ImageUrls = [];
important.BuildingId = this.selectStorey.buildingId;
important.BuildingAreaId = item.FloorId;
item.PropertyInfos.forEach(element => {
if (element.PropertyName === '名称/编号') {
important.Name = element.PropertyValue;
@ -409,6 +409,7 @@ export class BuildingAdjoinInfo {
*/
export class BuildingImportantLocationInfo {
public BuildingId: string;
public BuildingAreaId: string;
public Id: string;
public Name: string;
public Position: string;

Loading…
Cancel
Save