|
|
|
@ -531,7 +531,11 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
const polygonIcon = new PolygonIcon(floorData[key], this); |
|
|
|
|
break; |
|
|
|
|
case 3: |
|
|
|
|
const pipeline = new Pipeline(floorData[key], this); |
|
|
|
|
if (floorData[key].Name === '水带') { |
|
|
|
|
const pipeline = new Pipeline(floorData[key], this); |
|
|
|
|
} else { |
|
|
|
|
const wall = new AxArrowConnector(floorData[key], this); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -1152,7 +1156,10 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
this.emit('createIcon', polygonIcon); |
|
|
|
|
} |
|
|
|
|
case PaintMode.Pipeline: |
|
|
|
|
this.paintingShape = null; |
|
|
|
|
if (this.canvasData.selectTemplateData.name !== '水带') { |
|
|
|
|
this.emit('createIcon', this.paintingShape); |
|
|
|
|
this.paintingShape = null; |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
this.paintPoints.splice(0, this.paintPoints.length); |
|
|
|
|