|
@@ -707,8 +707,6 @@ export class EditScence extends SGraphScene {
|
|
|
* @description 更新工程信息化对象ID
|
|
|
*/
|
|
|
updateEqAttachObjectIds(data: { index: number, ID: string }): void {
|
|
|
- console.log(':::::::::::updateAttachObjectIds',)
|
|
|
- console.log(this.focusItem)
|
|
|
// @ts-ignore
|
|
|
this.focusItem.updateAttachObjectIds(data)
|
|
|
}
|
|
@@ -1965,18 +1963,11 @@ export class EditScence extends SGraphScene {
|
|
|
let data = {
|
|
|
ID: uuid(), // ID
|
|
|
Name: this._legend.Name, // 名称
|
|
|
- AttachObjectIds: ["Eq001", "Eq002"], // 返回工程信息化对象 ID 列表
|
|
|
+ AttachObjectIds: [], // 返回工程信息化对象 ID 列表
|
|
|
Pos: { X: event.x, Y: event.y }, // 位置
|
|
|
Size: { Width: 80, Height: 80 }, // 大小
|
|
|
InfoList: this._legend.InfoList || [],
|
|
|
- Properties: this._legend.Properties || {
|
|
|
- StatusImage: [
|
|
|
- {
|
|
|
- Status: "Running", // 运行
|
|
|
- ImageKey: imgKey[0],
|
|
|
- },
|
|
|
- ],
|
|
|
- }, // 由应用自己定义
|
|
|
+ Properties: this._legend.Properties
|
|
|
};
|
|
|
let data1 = {
|
|
|
ID: uuid(), // ID
|