ato-water-lib 0.0.90 → 0.0.91
Sign up to get free protection for your applications and to get access to all the features.
- package/{esm2022 → esm2020}/lib/ato-water-lib.component.mjs +5 -5
- package/{esm2022 → esm2020}/lib/ato-water-lib.module.mjs +15 -15
- package/{esm2022 → esm2020}/lib/ato-water-lib.service.mjs +5 -5
- package/esm2020/lib/components/asset-flow/asset-flow.component.mjs +165 -0
- package/{esm2022 → esm2020}/lib/components/asset-params-view/asset-params-view.component.mjs +9 -7
- package/esm2020/lib/components/flow-diagram-lib/flow-diagram-lib.component.mjs +54 -0
- package/esm2020/lib/constants/components-group-const.mjs +3236 -0
- package/esm2020/lib/directive/ato-loading.directive.mjs +55 -0
- package/esm2020/lib/directive/ng-var.directive.mjs +31 -0
- package/esm2020/lib/models/default-gojs-editor.model.mjs +3578 -0
- package/esm2020/lib/models/gojs-data.model.mjs +6 -0
- package/esm2020/lib/models/gojs-editor.model.mjs +1811 -0
- package/esm2020/lib/services/utils/utils.service.mjs +133 -0
- package/fesm2015/ato-water-lib.mjs +9674 -0
- package/fesm2015/ato-water-lib.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/ato-water-lib.mjs +1324 -385
- package/fesm2020/ato-water-lib.mjs.map +1 -0
- package/lib/components/asset-flow/asset-flow.component.d.ts +1 -1
- package/lib/components/asset-params-view/asset-params-view.component.d.ts +1 -1
- package/lib/components/flow-diagram-lib/flow-diagram-lib.component.d.ts +1 -1
- package/lib/constants/components-group-const.d.ts +454 -3
- package/lib/directive/ato-loading.directive.d.ts +1 -1
- package/lib/directive/ng-var.directive.d.ts +1 -1
- package/lib/models/default-gojs-editor.model.d.ts +2 -2
- package/lib/models/gojs-editor.model.d.ts +8 -4
- package/package.json +13 -7
- package/esm2022/lib/components/asset-flow/asset-flow.component.mjs +0 -174
- package/esm2022/lib/components/flow-diagram-lib/flow-diagram-lib.component.mjs +0 -55
- package/esm2022/lib/constants/components-group-const.mjs +0 -2291
- package/esm2022/lib/directive/ato-loading.directive.mjs +0 -59
- package/esm2022/lib/directive/ng-var.directive.mjs +0 -33
- package/esm2022/lib/models/default-gojs-editor.model.mjs +0 -3582
- package/esm2022/lib/models/gojs-data.model.mjs +0 -10
- package/esm2022/lib/models/gojs-editor.model.mjs +0 -1799
- package/esm2022/lib/services/utils/utils.service.mjs +0 -133
- package/fesm2022/ato-water-lib.mjs.map +0 -1
- /package/{esm2022 → esm2020}/ato-water-lib.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/constants/applicable-prefixes-const.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/constants/base64.const.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/constants/icon-base64.const.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/constants/key.const.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/constants/plant.constant.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/constants/value.const.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/ato-asset-flow.model.mjs +0 -0
- /package/{esm2022 → esm2020}/public-api.mjs +0 -0
@@ -10,25 +10,25 @@ import { v4 } from 'uuid';
|
|
10
10
|
|
11
11
|
class AtoWaterLibService {
|
12
12
|
constructor() { }
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AtoWaterLibService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
14
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AtoWaterLibService, providedIn: 'root' });
|
15
13
|
}
|
16
|
-
i0.ɵɵ
|
14
|
+
AtoWaterLibService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
15
|
+
AtoWaterLibService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibService, providedIn: 'root' });
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibService, decorators: [{
|
17
17
|
type: Injectable,
|
18
18
|
args: [{
|
19
19
|
providedIn: 'root'
|
20
20
|
}]
|
21
|
-
}], ctorParameters: ()
|
21
|
+
}], ctorParameters: function () { return []; } });
|
22
22
|
|
23
23
|
class AtoWaterLibComponent {
|
24
|
-
|
25
|
-
|
24
|
+
}
|
25
|
+
AtoWaterLibComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
26
|
+
AtoWaterLibComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AtoWaterLibComponent, selector: "lib-ato-water-lib", ngImport: i0, template: `
|
26
27
|
<p>
|
27
28
|
ato-water-lib works!
|
28
29
|
</p>
|
29
30
|
`, isInline: true });
|
30
|
-
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AtoWaterLibComponent, decorators: [{
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibComponent, decorators: [{
|
32
32
|
type: Component,
|
33
33
|
args: [{ selector: 'lib-ato-water-lib', template: `
|
34
34
|
<p>
|
@@ -820,8 +820,6 @@ var ATO_ENUM_FLOW_DIRECTION;
|
|
820
820
|
})(ATO_ENUM_FLOW_DIRECTION || (ATO_ENUM_FLOW_DIRECTION = {}));
|
821
821
|
|
822
822
|
class AtoGojsEditorModel {
|
823
|
-
initialOptions;
|
824
|
-
data; // FlowGoJsComponentModel
|
825
823
|
constructor(data) {
|
826
824
|
this.data = data;
|
827
825
|
}
|
@@ -1037,6 +1035,8 @@ class AtoGojsEditorModel {
|
|
1037
1035
|
// Plant Basic
|
1038
1036
|
ENUM_TEMPLATES["GROUP_BASIC_COMPONENT"] = "Group Basic Component";
|
1039
1037
|
ENUM_TEMPLATES["TEXT_LABEL"] = "label";
|
1038
|
+
ENUM_TEMPLATES["PRESSURIZED_UF_WATER_TREATMENTS"] = "Pressurized UF";
|
1039
|
+
ENUM_TEMPLATES["IMMERSED_UF_WATER_TREATMENTS"] = "Immersed UF";
|
1040
1040
|
// Type Group duplicate Energy with Water
|
1041
1041
|
ENUM_TEMPLATES["BOILER_ENERGY"] = "Boiler Energy";
|
1042
1042
|
ENUM_TEMPLATES["COOLING_TOWER_ENERGY"] = "Cooling Tower Energy";
|
@@ -1177,6 +1177,8 @@ class AtoGojsEditorModel {
|
|
1177
1177
|
ENUM_TYPES["STEAM_COMPONENT"] = "SteamComponents";
|
1178
1178
|
ENUM_TYPES["STEAM_CONSUMING_SYSTEM"] = "SteamConsumings";
|
1179
1179
|
ENUM_TYPES["ENERGY_CONVERTER"] = "EnergyConverters";
|
1180
|
+
ENUM_TYPES["PRESSURIZED_UF_WATER_TREATMENTS"] = "PressurizedUFWaterTreatments";
|
1181
|
+
ENUM_TYPES["IMMERSED_UF_WATER_TREATMENTS"] = "ImmersedUFWaterTreatments";
|
1180
1182
|
// System Type Group duplicate Energy with Water
|
1181
1183
|
ENUM_TYPES["BOILER_ENERGY"] = "Boiler Energy";
|
1182
1184
|
ENUM_TYPES["COOLING_TOWER_ENERGY"] = "CoolingTowers Energy";
|
@@ -1658,6 +1660,16 @@ class AtoGojsEditorModel {
|
|
1658
1660
|
icon: `${AtoGojsEditorModel.ICON_ASSET_PATH}/water_treatment.svg`,
|
1659
1661
|
systemType: ENUM_TYPES.WATER_TREATMENT,
|
1660
1662
|
},
|
1663
|
+
[ENUM_TEMPLATES.IMMERSED_UF_WATER_TREATMENTS]: {
|
1664
|
+
name: ENUM_TEMPLATES.IMMERSED_UF_WATER_TREATMENTS,
|
1665
|
+
icon: `${AtoGojsEditorModel.ICON_ASSET_PATH}/water_treatment.svg`,
|
1666
|
+
systemType: ENUM_TYPES.IMMERSED_UF_WATER_TREATMENTS,
|
1667
|
+
},
|
1668
|
+
[ENUM_TEMPLATES.PRESSURIZED_UF_WATER_TREATMENTS]: {
|
1669
|
+
name: ENUM_TEMPLATES.PRESSURIZED_UF_WATER_TREATMENTS,
|
1670
|
+
icon: `${AtoGojsEditorModel.ICON_ASSET_PATH}/water_treatment.svg`,
|
1671
|
+
systemType: ENUM_TYPES.PRESSURIZED_UF_WATER_TREATMENTS,
|
1672
|
+
},
|
1661
1673
|
[ENUM_TEMPLATES.DEMIN_WATER_TREATMENT]: {
|
1662
1674
|
name: ENUM_TEMPLATES.DEMIN_WATER_TREATMENT,
|
1663
1675
|
icon: `${AtoGojsEditorModel.ICON_ASSET_PATH}/Demin.svg`,
|
@@ -3179,10 +3191,10 @@ class UtilsService {
|
|
3179
3191
|
}
|
3180
3192
|
return text.replace(new RegExp(escapeRegExp(find), 'g'), replace);
|
3181
3193
|
}
|
3182
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: UtilsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
3183
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: UtilsService, providedIn: 'root' });
|
3184
3194
|
}
|
3185
|
-
i0.ɵɵ
|
3195
|
+
UtilsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UtilsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
3196
|
+
UtilsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UtilsService, providedIn: 'root' });
|
3197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UtilsService, decorators: [{
|
3186
3198
|
type: Injectable,
|
3187
3199
|
args: [{
|
3188
3200
|
providedIn: 'root',
|
@@ -3250,70 +3262,6 @@ const ARROW_GRAY = '/assets/images/icons/arrow-gray.svg';
|
|
3250
3262
|
const RO_LINE_DIRTY = '/assets/images/icons/ro_line_dirty.svg';
|
3251
3263
|
const OUTFLOW_LINE_DIRTY = '/assets/images/icons/outflow_line_dirty.png';
|
3252
3264
|
class AtoDefaultGojsEditor {
|
3253
|
-
_elRef;
|
3254
|
-
menuTrigger;
|
3255
|
-
linkValidation;
|
3256
|
-
actions = [];
|
3257
|
-
actionMenuId = 'actionMenuId';
|
3258
|
-
myDiagramDiv = this.constructor.name + '-' + moment().valueOf();
|
3259
|
-
myDiagram;
|
3260
|
-
$ = go.GraphObject.make;
|
3261
|
-
animationInterval;
|
3262
|
-
defaultScaleZoomToFit;
|
3263
|
-
_initialOptions = {
|
3264
|
-
'toolManager.hoverDelay': 200,
|
3265
|
-
// 'draggingTool.isEnabled': false,
|
3266
|
-
// initialAutoScale: go.Diagram.UniformToFill,
|
3267
|
-
// autoScrollRegion: AtoGojsEditorModel.GRID_SIZE * 5,
|
3268
|
-
layout: this.$(go.LayeredDigraphLayout, { direction: 0 }),
|
3269
|
-
initialContentAlignment: go.Spot.Center,
|
3270
|
-
initialAutoScale: go.Diagram.Uniform,
|
3271
|
-
// contentAlignment: go.Spot.Center,
|
3272
|
-
// this.$(go.ForceDirectedLayout),
|
3273
|
-
'undoManager.isEnabled': true, // enable undo & redo
|
3274
|
-
// "animationManager.isInitial": false,
|
3275
|
-
// "animationManager.isEnabled": false,
|
3276
|
-
// "draggingTool.isGridSnapEnabled": true
|
3277
|
-
dragSelectingTool: this.$(go.DragSelectingTool, { isPartialInclusion: true, delay: 50 }, {
|
3278
|
-
box: this.$(go.Part, // replace the magenta box with a red one
|
3279
|
-
{ layerName: 'Tool', selectable: false }, this.$(go.Shape, {
|
3280
|
-
name: 'SHAPE',
|
3281
|
-
fill: 'rgba(255,0,0,0)',
|
3282
|
-
stroke: '#E95F47',
|
3283
|
-
strokeWidth: 2,
|
3284
|
-
})),
|
3285
|
-
}),
|
3286
|
-
'linkingTool.linkValidation': this.checkLinkCondition.bind(this),
|
3287
|
-
'draggingTool.doMouseMove': function () {
|
3288
|
-
// do the standard behavior by calling the super method
|
3289
|
-
go.DraggingTool.prototype.doMouseMove.call(this);
|
3290
|
-
// if dragging-out from the diagram is not allowed, and
|
3291
|
-
// if mouse is outside of viewport
|
3292
|
-
if (!this.diagram.allowDragOut &&
|
3293
|
-
!this.diagram.viewportBounds.containsPoint(this.diagram.lastInput.documentPoint)) {
|
3294
|
-
this.diagram.ensureBounds();
|
3295
|
-
const vp = this.diagram.lastInput.viewPoint;
|
3296
|
-
const dp = this.diagram.position.copy();
|
3297
|
-
if (vp.x < 0)
|
3298
|
-
dp.x -= 10;
|
3299
|
-
else if (vp.x > 0)
|
3300
|
-
dp.x += 10;
|
3301
|
-
if (vp.y < 0)
|
3302
|
-
dp.y -= 10;
|
3303
|
-
else if (vp.y > 0)
|
3304
|
-
dp.y += 10;
|
3305
|
-
this.diagram.position = dp; // scroll in the direction of the mouse
|
3306
|
-
}
|
3307
|
-
},
|
3308
|
-
// LayoutCompleted: () => {
|
3309
|
-
// this.myDiagram.zoomToFit();
|
3310
|
-
// this.defaultScaleZoomToFit = this.myDiagram.scale;
|
3311
|
-
// if (!this.initialOptions.isReadOnly) {
|
3312
|
-
// const sizeMargin = AtoGojsEditorModel.GRID_SIZE * 15;
|
3313
|
-
// this.myDiagram.padding = new go.Margin(sizeMargin);
|
3314
|
-
// }
|
3315
|
-
// },
|
3316
|
-
};
|
3317
3265
|
checkLinkCondition(fromNode, fromPort, toNode, toPort, link) {
|
3318
3266
|
if (this.linkValidation) {
|
3319
3267
|
return this.linkValidation(fromNode, fromPort, toNode, toPort, link);
|
@@ -3327,7 +3275,6 @@ class AtoDefaultGojsEditor {
|
|
3327
3275
|
get initialOptions() {
|
3328
3276
|
return this._initialOptions;
|
3329
3277
|
}
|
3330
|
-
_editor;
|
3331
3278
|
set editor(v) {
|
3332
3279
|
this._editor = v;
|
3333
3280
|
if (v) {
|
@@ -3339,36 +3286,92 @@ class AtoDefaultGojsEditor {
|
|
3339
3286
|
get editor() {
|
3340
3287
|
return this._editor;
|
3341
3288
|
}
|
3342
|
-
isShowNodeInfo = false;
|
3343
|
-
plantSatus;
|
3344
3289
|
constructor(_elRef) {
|
3345
3290
|
this._elRef = _elRef;
|
3291
|
+
this.actions = [];
|
3292
|
+
this.actionMenuId = 'actionMenuId';
|
3293
|
+
this.myDiagramDiv = this.constructor.name + '-' + moment().valueOf();
|
3294
|
+
this.$ = go.GraphObject.make;
|
3295
|
+
this._initialOptions = {
|
3296
|
+
'toolManager.hoverDelay': 200,
|
3297
|
+
// 'draggingTool.isEnabled': false,
|
3298
|
+
// initialAutoScale: go.Diagram.UniformToFill,
|
3299
|
+
// autoScrollRegion: AtoGojsEditorModel.GRID_SIZE * 5,
|
3300
|
+
layout: this.$(go.LayeredDigraphLayout, { direction: 0 }),
|
3301
|
+
initialContentAlignment: go.Spot.Center,
|
3302
|
+
initialAutoScale: go.Diagram.Uniform,
|
3303
|
+
// contentAlignment: go.Spot.Center,
|
3304
|
+
// this.$(go.ForceDirectedLayout),
|
3305
|
+
'undoManager.isEnabled': true,
|
3306
|
+
// "animationManager.isInitial": false,
|
3307
|
+
// "animationManager.isEnabled": false,
|
3308
|
+
// "draggingTool.isGridSnapEnabled": true
|
3309
|
+
dragSelectingTool: this.$(go.DragSelectingTool, { isPartialInclusion: true, delay: 50 }, {
|
3310
|
+
box: this.$(go.Part, // replace the magenta box with a red one
|
3311
|
+
{ layerName: 'Tool', selectable: false }, this.$(go.Shape, {
|
3312
|
+
name: 'SHAPE',
|
3313
|
+
fill: 'rgba(255,0,0,0)',
|
3314
|
+
stroke: '#E95F47',
|
3315
|
+
strokeWidth: 2,
|
3316
|
+
})),
|
3317
|
+
}),
|
3318
|
+
'linkingTool.linkValidation': this.checkLinkCondition.bind(this),
|
3319
|
+
'draggingTool.doMouseMove': function () {
|
3320
|
+
// do the standard behavior by calling the super method
|
3321
|
+
go.DraggingTool.prototype.doMouseMove.call(this);
|
3322
|
+
// if dragging-out from the diagram is not allowed, and
|
3323
|
+
// if mouse is outside of viewport
|
3324
|
+
if (!this.diagram.allowDragOut &&
|
3325
|
+
!this.diagram.viewportBounds.containsPoint(this.diagram.lastInput.documentPoint)) {
|
3326
|
+
this.diagram.ensureBounds();
|
3327
|
+
const vp = this.diagram.lastInput.viewPoint;
|
3328
|
+
const dp = this.diagram.position.copy();
|
3329
|
+
if (vp.x < 0)
|
3330
|
+
dp.x -= 10;
|
3331
|
+
else if (vp.x > 0)
|
3332
|
+
dp.x += 10;
|
3333
|
+
if (vp.y < 0)
|
3334
|
+
dp.y -= 10;
|
3335
|
+
else if (vp.y > 0)
|
3336
|
+
dp.y += 10;
|
3337
|
+
this.diagram.position = dp; // scroll in the direction of the mouse
|
3338
|
+
}
|
3339
|
+
},
|
3340
|
+
// LayoutCompleted: () => {
|
3341
|
+
// this.myDiagram.zoomToFit();
|
3342
|
+
// this.defaultScaleZoomToFit = this.myDiagram.scale;
|
3343
|
+
// if (!this.initialOptions.isReadOnly) {
|
3344
|
+
// const sizeMargin = AtoGojsEditorModel.GRID_SIZE * 15;
|
3345
|
+
// this.myDiagram.padding = new go.Margin(sizeMargin);
|
3346
|
+
// }
|
3347
|
+
// },
|
3348
|
+
};
|
3349
|
+
this.isShowNodeInfo = false;
|
3350
|
+
this.onModelChangeListenerEvent = new EventEmitter();
|
3351
|
+
this.onClickInfoButton = new EventEmitter();
|
3352
|
+
this.onOpenWizard = new EventEmitter();
|
3353
|
+
this.onOpenDetail = new EventEmitter();
|
3354
|
+
this.onOpenAssetParameter = new EventEmitter();
|
3355
|
+
this.onOpenInsightMapping = new EventEmitter();
|
3356
|
+
this.onHoverInfoButton = new EventEmitter();
|
3357
|
+
this.onHoverAlert = new EventEmitter();
|
3358
|
+
this.onDoubleClickNode = new EventEmitter();
|
3359
|
+
this.onOpenChangeIcon = new EventEmitter();
|
3360
|
+
// Click component
|
3361
|
+
this.onClickCompoent = new EventEmitter();
|
3362
|
+
this.callbackImageTopology = new EventEmitter();
|
3363
|
+
// Click param on ParamTable
|
3364
|
+
this.onClikParamOfTable = new EventEmitter();
|
3365
|
+
// Delete Node
|
3366
|
+
this.onDeleteNode = new EventEmitter();
|
3367
|
+
this.onUndo = new EventEmitter();
|
3368
|
+
// Rename
|
3369
|
+
this.onRename = new EventEmitter();
|
3370
|
+
this.committedTransactionSubject = new Subject();
|
3371
|
+
// AddSub and UnSub
|
3372
|
+
this._subscriptionList = new Subscription();
|
3346
3373
|
go.Diagram.licenseKey = GO_LICENSE_KEY;
|
3347
3374
|
}
|
3348
|
-
onModelChangeListenerEvent = new EventEmitter();
|
3349
|
-
onClickInfoButton = new EventEmitter();
|
3350
|
-
onOpenWizard = new EventEmitter();
|
3351
|
-
onOpenDetail = new EventEmitter();
|
3352
|
-
onOpenAssetParameter = new EventEmitter();
|
3353
|
-
onOpenInsightMapping = new EventEmitter();
|
3354
|
-
onHoverInfoButton = new EventEmitter();
|
3355
|
-
onHoverAlert = new EventEmitter();
|
3356
|
-
onDoubleClickNode = new EventEmitter();
|
3357
|
-
onOpenChangeIcon = new EventEmitter();
|
3358
|
-
// Click component
|
3359
|
-
onClickCompoent = new EventEmitter();
|
3360
|
-
callbackImageTopology = new EventEmitter();
|
3361
|
-
// Click param on ParamTable
|
3362
|
-
onClikParamOfTable = new EventEmitter();
|
3363
|
-
// Delete Node
|
3364
|
-
onDeleteNode = new EventEmitter();
|
3365
|
-
onUndo = new EventEmitter();
|
3366
|
-
// Rename
|
3367
|
-
onRename = new EventEmitter();
|
3368
|
-
isAddedModelChangedListeners;
|
3369
|
-
committedTransactionSubject = new Subject();
|
3370
|
-
// AddSub and UnSub
|
3371
|
-
_subscriptionList = new Subscription();
|
3372
3375
|
ngOnDestroy() {
|
3373
3376
|
this.unsubscribeAll();
|
3374
3377
|
this.stopAnimation();
|
@@ -3432,6 +3435,11 @@ class AtoDefaultGojsEditor {
|
|
3432
3435
|
this.makeGroupCoolingTowerTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name);
|
3433
3436
|
return;
|
3434
3437
|
}
|
3438
|
+
if (node?.type ===
|
3439
|
+
AtoGojsEditorModel.ENUM_TEMPLATES.PRESSURIZED_UF_WATER_TREATMENTS) {
|
3440
|
+
this.makeGroupCoolingTowerTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name);
|
3441
|
+
return;
|
3442
|
+
}
|
3435
3443
|
if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.ZONE) {
|
3436
3444
|
this.makeGroupZoneTemplate();
|
3437
3445
|
return;
|
@@ -3456,7 +3464,7 @@ class AtoDefaultGojsEditor {
|
|
3456
3464
|
this.makeGroupTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name);
|
3457
3465
|
}
|
3458
3466
|
addNodeTemplate(node) {
|
3459
|
-
if (this.myDiagram.nodeTemplateMap?.Hb
|
3467
|
+
if (this.myDiagram.nodeTemplateMap?.Hb[node?.type] || node?.isGroup) {
|
3460
3468
|
return;
|
3461
3469
|
}
|
3462
3470
|
// Not Group
|
@@ -3872,7 +3880,7 @@ class AtoDefaultGojsEditor {
|
|
3872
3880
|
visible: true,
|
3873
3881
|
fill: 'transparent',
|
3874
3882
|
}));
|
3875
|
-
elements.push(this.$(go.Panel, '
|
3883
|
+
elements.push(this.$(go.Panel, 'Top', {
|
3876
3884
|
height: 38,
|
3877
3885
|
// maxSize: new go.Size(NaN, 36),
|
3878
3886
|
// width: 100,
|
@@ -3901,7 +3909,7 @@ class AtoDefaultGojsEditor {
|
|
3901
3909
|
// editable: false,
|
3902
3910
|
// alignment: go.Spot.Center, // Đảm bảo văn bản nằm ở trung tâm của nút
|
3903
3911
|
// alignmentFocus: go.Spot.Center, // Đảm bảo văn bản không bị dịch chuyển ra khỏi trung tâm
|
3904
|
-
wrap: go.TextBlock.WrapFit,
|
3912
|
+
wrap: go.TextBlock.WrapFit,
|
3905
3913
|
// selectable: true,
|
3906
3914
|
overflow: go.TextBlock.OverflowEllipsis,
|
3907
3915
|
toolTip: this.$('ToolTip', this.$(go.TextBlock, {
|
@@ -3955,7 +3963,7 @@ class AtoDefaultGojsEditor {
|
|
3955
3963
|
// Icon Err when lack of value
|
3956
3964
|
this.$(go.TextBlock, {
|
3957
3965
|
margin: new go.Margin(10, 10, 10, 10),
|
3958
|
-
text: VALUE_NA,
|
3966
|
+
text: VALUE_NA,
|
3959
3967
|
textAlign: 'center',
|
3960
3968
|
font: 'bold 10pt sans-serif',
|
3961
3969
|
stroke: AtoGojsEditorModel.ENUM_COLORS.SALMON,
|
@@ -4201,7 +4209,7 @@ class AtoDefaultGojsEditor {
|
|
4201
4209
|
maxSize: new go.Size(30, 30),
|
4202
4210
|
imageStretch: go.GraphObject.Uniform,
|
4203
4211
|
}))
|
4204
|
-
:
|
4212
|
+
: ''), this.$(go.Panel, 'Auto', this.$(go.TextBlock, {
|
4205
4213
|
name: 'textBlockValue',
|
4206
4214
|
row: 2,
|
4207
4215
|
editable: false,
|
@@ -4320,7 +4328,7 @@ class AtoDefaultGojsEditor {
|
|
4320
4328
|
// Icon Err when lack of value
|
4321
4329
|
this.$(go.TextBlock, {
|
4322
4330
|
margin: new go.Margin(10, 10, 10, 10),
|
4323
|
-
text: VALUE_NA,
|
4331
|
+
text: VALUE_NA,
|
4324
4332
|
textAlign: 'center',
|
4325
4333
|
font: 'bold 10pt sans-serif',
|
4326
4334
|
stroke: AtoGojsEditorModel.ENUM_COLORS.SALMON,
|
@@ -4941,7 +4949,7 @@ class AtoDefaultGojsEditor {
|
|
4941
4949
|
case AtoDefaultGojsEditor.ENUM_ACTIONS.OUTFLOW:
|
4942
4950
|
onClickFn = () => {
|
4943
4951
|
self.clickNewNode(e, _.merge(obj, {
|
4944
|
-
actionMove: self.dragNewNode,
|
4952
|
+
actionMove: self.dragNewNode,
|
4945
4953
|
_dragData: {
|
4946
4954
|
...{
|
4947
4955
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_NODE,
|
@@ -5142,10 +5150,10 @@ class AtoDefaultGojsEditor {
|
|
5142
5150
|
// panel.background = 'transparent';
|
5143
5151
|
// },
|
5144
5152
|
}, this.$(go.Shape, 'Ellipse', {
|
5145
|
-
fill: 'white',
|
5153
|
+
fill: 'white',
|
5146
5154
|
strokeWidth: 2,
|
5147
|
-
stroke: '#919CA5',
|
5148
|
-
width: 40,
|
5155
|
+
stroke: '#919CA5',
|
5156
|
+
width: 40,
|
5149
5157
|
height: 40, // Match the panel's height
|
5150
5158
|
})
|
5151
5159
|
// this.$(
|
@@ -5199,7 +5207,7 @@ class AtoDefaultGojsEditor {
|
|
5199
5207
|
toSpot: spot,
|
5200
5208
|
toLinkable: input,
|
5201
5209
|
cursor: this._initialOptions.isReadOnly ? '' : 'pointer',
|
5202
|
-
alignmentFocus: go.Spot.Center,
|
5210
|
+
alignmentFocus: go.Spot.Center,
|
5203
5211
|
mouseEnter: this._initialOptions.isReadOnly
|
5204
5212
|
? null
|
5205
5213
|
: (e, panel) => {
|
@@ -5267,9 +5275,9 @@ class AtoDefaultGojsEditor {
|
|
5267
5275
|
}), this.$(go.TextBlock, {
|
5268
5276
|
name: 'textBlock',
|
5269
5277
|
margin: 4,
|
5270
|
-
text: '\uf0da',
|
5278
|
+
text: '\uf0da',
|
5271
5279
|
font: '900 12px "Font Awesome 6 Pro"',
|
5272
|
-
stroke: 'white',
|
5280
|
+
stroke: 'white',
|
5273
5281
|
cursor: 'pointer',
|
5274
5282
|
visible: false,
|
5275
5283
|
}, new go.Binding('text', 'name', (_) => {
|
@@ -5664,7 +5672,7 @@ class AtoDefaultGojsEditor {
|
|
5664
5672
|
}, new go.Binding('text', '', (data, panel) => {
|
5665
5673
|
return data?.name;
|
5666
5674
|
}), new go.Binding('maxSize', '', (data, panel) => {
|
5667
|
-
return data?.maxSizeNameParam
|
5675
|
+
return data?.maxSizeNameParam;
|
5668
5676
|
})), this.$(go.Panel, 'Table', {
|
5669
5677
|
column: 1,
|
5670
5678
|
margin: 2,
|
@@ -5697,7 +5705,7 @@ class AtoDefaultGojsEditor {
|
|
5697
5705
|
return data?.value;
|
5698
5706
|
}), new go.Binding('stroke', '', (data) => {
|
5699
5707
|
if (!this._initialOptions.isReadOnly) {
|
5700
|
-
return
|
5708
|
+
return;
|
5701
5709
|
}
|
5702
5710
|
return data.color;
|
5703
5711
|
}), new go.Binding('maxSize', '', (data) => {
|
@@ -6135,7 +6143,7 @@ class AtoDefaultGojsEditor {
|
|
6135
6143
|
name: 0,
|
6136
6144
|
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
6137
6145
|
},
|
6138
|
-
click: self.addItemOnGroupZone,
|
6146
|
+
click: self.addItemOnGroupZone,
|
6139
6147
|
'ButtonBorder.strokeWidth': 0,
|
6140
6148
|
'ButtonBorder.fill': 'white',
|
6141
6149
|
}, this.$(go.TextBlock, {
|
@@ -6681,12 +6689,12 @@ class AtoDefaultGojsEditor {
|
|
6681
6689
|
this._subscriptionList.add(el);
|
6682
6690
|
});
|
6683
6691
|
}
|
6684
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AtoDefaultGojsEditor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
6685
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: AtoDefaultGojsEditor, inputs: { linkValidation: "linkValidation", initialOptions: "initialOptions", editor: "editor", isShowNodeInfo: "isShowNodeInfo", plantSatus: "plantSatus" }, outputs: { onModelChangeListenerEvent: "onModelChangeListenerEvent", onClickInfoButton: "onClickInfoButton", onOpenWizard: "onOpenWizard", onOpenDetail: "onOpenDetail", onOpenAssetParameter: "onOpenAssetParameter", onOpenInsightMapping: "onOpenInsightMapping", onHoverInfoButton: "onHoverInfoButton", onHoverAlert: "onHoverAlert", onDoubleClickNode: "onDoubleClickNode", onOpenChangeIcon: "onOpenChangeIcon", onClickCompoent: "onClickCompoent", callbackImageTopology: "callbackImageTopology", onClikParamOfTable: "onClikParamOfTable", onDeleteNode: "onDeleteNode", onUndo: "onUndo", onRename: "onRename" }, viewQueries: [{ propertyName: "menuTrigger", first: true, predicate: ["menuTrigger"], descendants: true }], ngImport: i0 });
|
6686
6692
|
}
|
6687
|
-
i0.ɵɵ
|
6693
|
+
AtoDefaultGojsEditor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoDefaultGojsEditor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
6694
|
+
AtoDefaultGojsEditor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AtoDefaultGojsEditor, inputs: { linkValidation: "linkValidation", initialOptions: "initialOptions", editor: "editor", isShowNodeInfo: "isShowNodeInfo", plantSatus: "plantSatus" }, outputs: { onModelChangeListenerEvent: "onModelChangeListenerEvent", onClickInfoButton: "onClickInfoButton", onOpenWizard: "onOpenWizard", onOpenDetail: "onOpenDetail", onOpenAssetParameter: "onOpenAssetParameter", onOpenInsightMapping: "onOpenInsightMapping", onHoverInfoButton: "onHoverInfoButton", onHoverAlert: "onHoverAlert", onDoubleClickNode: "onDoubleClickNode", onOpenChangeIcon: "onOpenChangeIcon", onClickCompoent: "onClickCompoent", callbackImageTopology: "callbackImageTopology", onClikParamOfTable: "onClikParamOfTable", onDeleteNode: "onDeleteNode", onUndo: "onUndo", onRename: "onRename" }, viewQueries: [{ propertyName: "menuTrigger", first: true, predicate: ["menuTrigger"], descendants: true }], ngImport: i0 });
|
6695
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoDefaultGojsEditor, decorators: [{
|
6688
6696
|
type: Directive
|
6689
|
-
}], ctorParameters: ()
|
6697
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { menuTrigger: [{
|
6690
6698
|
type: ViewChild,
|
6691
6699
|
args: ['menuTrigger']
|
6692
6700
|
}], linkValidation: [{
|
@@ -6814,10 +6822,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
6814
6822
|
})(AtoDefaultGojsEditor || (AtoDefaultGojsEditor = {}));
|
6815
6823
|
|
6816
6824
|
class AtoLoadingDirective {
|
6817
|
-
el;
|
6818
|
-
renderer;
|
6819
|
-
appLoading;
|
6820
|
-
spinnerWrapper;
|
6821
6825
|
constructor(el, renderer) {
|
6822
6826
|
this.el = el;
|
6823
6827
|
this.renderer = renderer;
|
@@ -6858,31 +6862,30 @@ class AtoLoadingDirective {
|
|
6858
6862
|
this.renderer.removeChild(this.el.nativeElement, this.spinnerWrapper);
|
6859
6863
|
}
|
6860
6864
|
}
|
6861
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AtoLoadingDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
6862
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: AtoLoadingDirective, selector: "[atoLoading]", inputs: { appLoading: "appLoading" }, usesOnChanges: true, ngImport: i0 });
|
6863
6865
|
}
|
6864
|
-
i0.ɵɵ
|
6866
|
+
AtoLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoLoadingDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
6867
|
+
AtoLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AtoLoadingDirective, selector: "[atoLoading]", inputs: { appLoading: "appLoading" }, usesOnChanges: true, ngImport: i0 });
|
6868
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoLoadingDirective, decorators: [{
|
6865
6869
|
type: Directive,
|
6866
6870
|
args: [{
|
6867
6871
|
selector: '[atoLoading]'
|
6868
6872
|
}]
|
6869
|
-
}], ctorParameters: ()
|
6873
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { appLoading: [{
|
6870
6874
|
type: Input
|
6871
6875
|
}] } });
|
6872
6876
|
|
6873
6877
|
class AtoFlowDiagramLibComponent extends AtoDefaultGojsEditor {
|
6874
|
-
myDiagramDivTemp;
|
6875
|
-
_data = null;
|
6876
6878
|
set data(v) {
|
6877
6879
|
this._data = v;
|
6878
6880
|
this.loadDiagram();
|
6879
6881
|
}
|
6880
|
-
isLoading = false;
|
6881
6882
|
get data() {
|
6882
6883
|
return this._data;
|
6883
6884
|
}
|
6884
6885
|
constructor(_elRef) {
|
6885
6886
|
super(_elRef);
|
6887
|
+
this._data = null;
|
6888
|
+
this.isLoading = false;
|
6886
6889
|
this.actions = [
|
6887
6890
|
AtoDefaultGojsEditor.ACTIONS[AtoDefaultGojsEditor.ENUM_ACTIONS.DETAILS],
|
6888
6891
|
AtoDefaultGojsEditor.ACTIONS[AtoDefaultGojsEditor.ENUM_ACTIONS.DELETE],
|
@@ -6904,13 +6907,13 @@ class AtoFlowDiagramLibComponent extends AtoDefaultGojsEditor {
|
|
6904
6907
|
findNodeForKey(key) {
|
6905
6908
|
this.myDiagram.select(this.myDiagram.findNodeForKey(key));
|
6906
6909
|
}
|
6907
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AtoFlowDiagramLibComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
6908
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: AtoFlowDiagramLibComponent, selector: "ato-flow-diagram-lib", inputs: { data: "data", isLoading: "isLoading" }, viewQueries: [{ propertyName: "myDiagramDivTemp", first: true, predicate: ["myDiagramDivTemp"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"w-100 h-100 gj-flow-diagram-wrapper\" atoLoading [appLoading]=\"data === null || !!isLoading\">\n <div class=\"w-100 h-100 d-flex\">\n <!-- <button\n id=\"actionMenuId\"\n class=\"invisible-btn\"\n mat-button\n [matMenuTriggerFor]=\"menu\"\n #menuTrigger=\"matMenuTrigger\"\n ></button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item *ngFor=\"let item of actions\" (click)=\"item?.onClick($event)\">\n <div class=\"d-flex flex-gap-2\">\n <div><i class=\"{{ item?.iconClassName }}\"></i></div>\n <div>{{ item?.name }}</div>\n </div>\n </button>\n </mat-menu> -->\n\n <div #myDiagramDivTemp class=\"flex-grow-1 {{myDiagramDiv}}\"></div>\n <div *ngIf=\"initialOptions?.isReadOnly && !data?.nodeDataArray?.length\" class=\"empty-data\">\n <!-- <nz-empty nzNotFoundImage=\"simple\"></nz-empty> -->\n No Data\n </div>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: AtoLoadingDirective, selector: "[atoLoading]", inputs: ["appLoading"] }] });
|
6909
6910
|
}
|
6910
|
-
i0.ɵɵ
|
6911
|
+
AtoFlowDiagramLibComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoFlowDiagramLibComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
6912
|
+
AtoFlowDiagramLibComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AtoFlowDiagramLibComponent, selector: "ato-flow-diagram-lib", inputs: { data: "data", isLoading: "isLoading" }, viewQueries: [{ propertyName: "myDiagramDivTemp", first: true, predicate: ["myDiagramDivTemp"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"w-100 h-100 gj-flow-diagram-wrapper\" atoLoading [appLoading]=\"data === null || !!isLoading\">\n <div class=\"w-100 h-100 d-flex\">\n <!-- <button\n id=\"actionMenuId\"\n class=\"invisible-btn\"\n mat-button\n [matMenuTriggerFor]=\"menu\"\n #menuTrigger=\"matMenuTrigger\"\n ></button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item *ngFor=\"let item of actions\" (click)=\"item?.onClick($event)\">\n <div class=\"d-flex flex-gap-2\">\n <div><i class=\"{{ item?.iconClassName }}\"></i></div>\n <div>{{ item?.name }}</div>\n </div>\n </button>\n </mat-menu> -->\n\n <div #myDiagramDivTemp class=\"flex-grow-1 {{myDiagramDiv}}\"></div>\n <div *ngIf=\"initialOptions?.isReadOnly && !data?.nodeDataArray?.length\" class=\"empty-data\">\n <!-- <nz-empty nzNotFoundImage=\"simple\"></nz-empty> -->\n No Data\n </div>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: AtoLoadingDirective, selector: "[atoLoading]", inputs: ["appLoading"] }] });
|
6913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoFlowDiagramLibComponent, decorators: [{
|
6911
6914
|
type: Component,
|
6912
6915
|
args: [{ selector: 'ato-flow-diagram-lib', template: "<div class=\"w-100 h-100 gj-flow-diagram-wrapper\" atoLoading [appLoading]=\"data === null || !!isLoading\">\n <div class=\"w-100 h-100 d-flex\">\n <!-- <button\n id=\"actionMenuId\"\n class=\"invisible-btn\"\n mat-button\n [matMenuTriggerFor]=\"menu\"\n #menuTrigger=\"matMenuTrigger\"\n ></button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item *ngFor=\"let item of actions\" (click)=\"item?.onClick($event)\">\n <div class=\"d-flex flex-gap-2\">\n <div><i class=\"{{ item?.iconClassName }}\"></i></div>\n <div>{{ item?.name }}</div>\n </div>\n </button>\n </mat-menu> -->\n\n <div #myDiagramDivTemp class=\"flex-grow-1 {{myDiagramDiv}}\"></div>\n <div *ngIf=\"initialOptions?.isReadOnly && !data?.nodeDataArray?.length\" class=\"empty-data\">\n <!-- <nz-empty nzNotFoundImage=\"simple\"></nz-empty> -->\n No Data\n </div>\n </div>\n</div>\n" }]
|
6913
|
-
}], ctorParameters: ()
|
6916
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { myDiagramDivTemp: [{
|
6914
6917
|
type: ViewChild,
|
6915
6918
|
args: ['myDiagramDivTemp']
|
6916
6919
|
}], data: [{
|
@@ -6990,6 +6993,23 @@ var ENUM_ASSET_PARAMETERS;
|
|
6990
6993
|
ENUM_ASSET_PARAMETERS["SI_IN_STEAM"] = "Si in Steam";
|
6991
6994
|
ENUM_ASSET_PARAMETERS["SI_IN_BOILER"] = "Si in Boiler";
|
6992
6995
|
ENUM_ASSET_PARAMETERS["PH_IN_BOILER"] = "pH in Boiler";
|
6996
|
+
// For Immersed UF
|
6997
|
+
ENUM_ASSET_PARAMETERS["FLOW_SYSTEMKPIS_PERMEABILITY_BP_TC"] = "Permeability BP (TC)";
|
6998
|
+
ENUM_ASSET_PARAMETERS["FLOW_SYSTEMKPIS_PERMEATE_FLUX"] = "Permeate Flux";
|
6999
|
+
ENUM_ASSET_PARAMETERS["FLOW_UF_TMP_BEFORE_BACK_PULSE"] = "Flow_UF_TMP_Before_Back_Pulse";
|
7000
|
+
ENUM_ASSET_PARAMETERS["FLOW_UF_TMP_AFTER_BACK_PULSE"] = "Flow_UF_TMP_After_Back_Pulse";
|
7001
|
+
ENUM_ASSET_PARAMETERS["FLOW_BACKPULSE_FLOW_RATE"] = "Flow_Backpulse_FlowRate";
|
7002
|
+
ENUM_ASSET_PARAMETERS["FLOW_BACKPULSE_TMP"] = "Flow_Backpulse_TMP";
|
7003
|
+
ENUM_ASSET_PARAMETERS["FLOW_PERMEATE_FLOW_RATE"] = "Flow_Permeate_FlowRate";
|
7004
|
+
ENUM_ASSET_PARAMETERS["FLOW_FEED_FLOW_RATE"] = "Flow_Feed_FlowRate";
|
7005
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_SYSTEMKPIS_PERMEATE_TURBIDITY"] = "Chemistry_SystemKPIs_Permeate_Turbidity";
|
7006
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_UF_SYSTEM_RECOVERY"] = "Chemistry_UF_System_Recovery";
|
7007
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_UF_LEAP_STATUS"] = "Chemistry_UF_Leap_Status";
|
7008
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_BACKPULSE_FLOW_RATE"] = "Chemistry_Backpulse_FlowRate";
|
7009
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_BACKPULSE_TMP"] = "Chemistry_Backpulse_TMP";
|
7010
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_PERMEATE_TURBIDITY"] = "Chemistry_Permeate_Turbidity";
|
7011
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_PERMEATE_TEMPERATURE"] = "Chemistry_Permeate_Temperature";
|
7012
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_FEED_TURBIDITY"] = "Chemistry_Feed_Turbidity";
|
6993
7013
|
})(ENUM_ASSET_PARAMETERS || (ENUM_ASSET_PARAMETERS = {}));
|
6994
7014
|
var WATER_SYSTEMS_NAME;
|
6995
7015
|
(function (WATER_SYSTEMS_NAME) {
|
@@ -7019,6 +7039,22 @@ var WATER_SYSTEMS_NAME;
|
|
7019
7039
|
WATER_SYSTEMS_NAME["BOILER_WATER__CHEMISTRY"] = "Boiler Water Chemistry";
|
7020
7040
|
WATER_SYSTEMS_NAME["STEAM_LOSS"] = "Steam Loss";
|
7021
7041
|
WATER_SYSTEMS_NAME["BLOWDOWN"] = "Blowdown";
|
7042
|
+
// For Immersed UF
|
7043
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_SYSTEM_KPIS"] = "System KPIs";
|
7044
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_SYSTEM_KPIS__FLOW"] = "System KPIs Flow";
|
7045
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_SYSTEM_KPIS__CHEMISTRY"] = "System KPIs Chemistry";
|
7046
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_UF"] = "UF";
|
7047
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_UF__FLOW"] = "UF Flow";
|
7048
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_UF__CHEMISTRY"] = "UF Chemistry";
|
7049
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_BACK_PULSE"] = "Backpulse";
|
7050
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_BACK_PULSE__FLOW"] = "Backpulse Flow";
|
7051
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_BACK_PULSE__CHEMISTRY"] = "Backpulse Chemistry";
|
7052
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_PERMEATE"] = "Permeate";
|
7053
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_PERMEATE__FLOW"] = "Permeate Flow";
|
7054
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_PERMEATE__CHEMISTRY"] = "Permeate Chemistry";
|
7055
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_FEED"] = "Feed";
|
7056
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_FEED__FLOW"] = "Feed Flow";
|
7057
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_FEED__CHEMISTRY"] = "Feed Chemistry";
|
7022
7058
|
})(WATER_SYSTEMS_NAME || (WATER_SYSTEMS_NAME = {}));
|
7023
7059
|
const DATA_ASSET_PARAMETER_FIELDS = {
|
7024
7060
|
[ENUM_ASSET_PARAMETERS.FEED_FLOW_RATE]: {
|
@@ -7264,6 +7300,71 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7264
7300
|
name: ENUM_ASSET_PARAMETERS.PH_IN_BOILER,
|
7265
7301
|
key: ENUM_ASSET_PARAMETERS.PH_IN_BOILER,
|
7266
7302
|
},
|
7303
|
+
// For Immersed UF
|
7304
|
+
[ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEABILITY_BP_TC]: {
|
7305
|
+
name: ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEABILITY_BP_TC,
|
7306
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEABILITY_BP_TC,
|
7307
|
+
},
|
7308
|
+
[ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEATE_FLUX]: {
|
7309
|
+
name: ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEATE_FLUX,
|
7310
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEATE_FLUX,
|
7311
|
+
},
|
7312
|
+
[ENUM_ASSET_PARAMETERS.FLOW_UF_TMP_BEFORE_BACK_PULSE]: {
|
7313
|
+
name: 'TMP (Before Back Pulse)',
|
7314
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_UF_TMP_BEFORE_BACK_PULSE,
|
7315
|
+
},
|
7316
|
+
[ENUM_ASSET_PARAMETERS.FLOW_UF_TMP_AFTER_BACK_PULSE]: {
|
7317
|
+
name: 'TMP (After Back Pulse)',
|
7318
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_UF_TMP_AFTER_BACK_PULSE,
|
7319
|
+
},
|
7320
|
+
[ENUM_ASSET_PARAMETERS.FLOW_BACKPULSE_FLOW_RATE]: {
|
7321
|
+
name: 'Flow Rate',
|
7322
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_BACKPULSE_FLOW_RATE,
|
7323
|
+
},
|
7324
|
+
[ENUM_ASSET_PARAMETERS.FLOW_BACKPULSE_TMP]: {
|
7325
|
+
name: 'TMP',
|
7326
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_BACKPULSE_TMP,
|
7327
|
+
},
|
7328
|
+
[ENUM_ASSET_PARAMETERS.FLOW_PERMEATE_FLOW_RATE]: {
|
7329
|
+
name: 'Flow Rate',
|
7330
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_PERMEATE_FLOW_RATE,
|
7331
|
+
},
|
7332
|
+
[ENUM_ASSET_PARAMETERS.FLOW_FEED_FLOW_RATE]: {
|
7333
|
+
name: 'Flow Rate',
|
7334
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_FEED_FLOW_RATE,
|
7335
|
+
},
|
7336
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_SYSTEMKPIS_PERMEATE_TURBIDITY]: {
|
7337
|
+
name: 'Permeate Turbidity',
|
7338
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_SYSTEMKPIS_PERMEATE_TURBIDITY,
|
7339
|
+
},
|
7340
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_UF_SYSTEM_RECOVERY]: {
|
7341
|
+
name: 'System Recovery',
|
7342
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_UF_SYSTEM_RECOVERY,
|
7343
|
+
},
|
7344
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_UF_LEAP_STATUS]: {
|
7345
|
+
name: 'Leap Status',
|
7346
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_UF_LEAP_STATUS,
|
7347
|
+
},
|
7348
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_BACKPULSE_FLOW_RATE]: {
|
7349
|
+
name: 'Flow Rate',
|
7350
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_BACKPULSE_FLOW_RATE,
|
7351
|
+
},
|
7352
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_BACKPULSE_TMP]: {
|
7353
|
+
name: 'TMP',
|
7354
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_BACKPULSE_TMP,
|
7355
|
+
},
|
7356
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_PERMEATE_TURBIDITY]: {
|
7357
|
+
name: 'Turbidity',
|
7358
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_PERMEATE_TURBIDITY,
|
7359
|
+
},
|
7360
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_PERMEATE_TEMPERATURE]: {
|
7361
|
+
name: 'Temperature',
|
7362
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_PERMEATE_TEMPERATURE,
|
7363
|
+
},
|
7364
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_FEED_TURBIDITY]: {
|
7365
|
+
name: 'Turbidity',
|
7366
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_FEED_TURBIDITY,
|
7367
|
+
},
|
7267
7368
|
};
|
7268
7369
|
const DATA_WATER_SYSTEMS = {
|
7269
7370
|
[WATER_SYSTEMS_NAME.EVAPORATION_LOSS]: {
|
@@ -7357,6 +7458,67 @@ const DATA_WATER_SYSTEMS = {
|
|
7357
7458
|
borderTable: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
|
7358
7459
|
bgColor: AtoGojsEditorModel.ENUM_COLORS.OLD_LACE,
|
7359
7460
|
},
|
7461
|
+
// For Immersed UF
|
7462
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__FLOW]: {
|
7463
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS,
|
7464
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7465
|
+
borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7466
|
+
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7467
|
+
},
|
7468
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__CHEMISTRY]: {
|
7469
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS,
|
7470
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7471
|
+
borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7472
|
+
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7473
|
+
},
|
7474
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__FLOW]: {
|
7475
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_UF,
|
7476
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7477
|
+
borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7478
|
+
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7479
|
+
},
|
7480
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__CHEMISTRY]: {
|
7481
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_UF,
|
7482
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7483
|
+
borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7484
|
+
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7485
|
+
},
|
7486
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__FLOW]: {
|
7487
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE,
|
7488
|
+
color: AtoGojsEditorModel.ENUM_COLORS.MEDIUM_RED_VIOLET,
|
7489
|
+
borderTable: AtoGojsEditorModel.ENUM_COLORS.MEDIUM_RED_VIOLET,
|
7490
|
+
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7491
|
+
},
|
7492
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__CHEMISTRY]: {
|
7493
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE,
|
7494
|
+
color: AtoGojsEditorModel.ENUM_COLORS.MEDIUM_RED_VIOLET,
|
7495
|
+
borderTable: AtoGojsEditorModel.ENUM_COLORS.MEDIUM_RED_VIOLET,
|
7496
|
+
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7497
|
+
},
|
7498
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__FLOW]: {
|
7499
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE,
|
7500
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7501
|
+
borderTable: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7502
|
+
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7503
|
+
},
|
7504
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__CHEMISTRY]: {
|
7505
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE,
|
7506
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7507
|
+
borderTable: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7508
|
+
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7509
|
+
},
|
7510
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__FLOW]: {
|
7511
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_FEED,
|
7512
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7513
|
+
borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7514
|
+
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7515
|
+
},
|
7516
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__CHEMISTRY]: {
|
7517
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_FEED,
|
7518
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7519
|
+
borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7520
|
+
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7521
|
+
},
|
7360
7522
|
};
|
7361
7523
|
const ASSET_CATEGORY_PARAMS = {
|
7362
7524
|
[WATER_SYSTEMS_NAME.EVAPORATION_LOSS]: [
|
@@ -7466,6 +7628,47 @@ const ASSET_CATEGORY_PARAMS__BOILER = {
|
|
7466
7628
|
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_RATE],
|
7467
7629
|
],
|
7468
7630
|
};
|
7631
|
+
// For Immersed UF
|
7632
|
+
const ASSET_CATEGORY_PARAMS__IMMERSED_UF = {
|
7633
|
+
// For Flow
|
7634
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__FLOW]: [
|
7635
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEABILITY_BP_TC],
|
7636
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEATE_FLUX],
|
7637
|
+
],
|
7638
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__FLOW]: [
|
7639
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_UF_TMP_BEFORE_BACK_PULSE],
|
7640
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_UF_TMP_AFTER_BACK_PULSE],
|
7641
|
+
],
|
7642
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__FLOW]: [
|
7643
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_BACKPULSE_FLOW_RATE],
|
7644
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_BACKPULSE_TMP],
|
7645
|
+
],
|
7646
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__FLOW]: [
|
7647
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_PERMEATE_FLOW_RATE],
|
7648
|
+
],
|
7649
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__FLOW]: [
|
7650
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_FEED_FLOW_RATE],
|
7651
|
+
],
|
7652
|
+
// For Chemistry
|
7653
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__CHEMISTRY]: [
|
7654
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_SYSTEMKPIS_PERMEATE_TURBIDITY],
|
7655
|
+
],
|
7656
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__CHEMISTRY]: [
|
7657
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_UF_SYSTEM_RECOVERY],
|
7658
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_UF_LEAP_STATUS],
|
7659
|
+
],
|
7660
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__CHEMISTRY]: [
|
7661
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_BACKPULSE_FLOW_RATE],
|
7662
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_BACKPULSE_TMP],
|
7663
|
+
],
|
7664
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__CHEMISTRY]: [
|
7665
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_PERMEATE_TURBIDITY],
|
7666
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_PERMEATE_TEMPERATURE],
|
7667
|
+
],
|
7668
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__CHEMISTRY]: [
|
7669
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_FEED_TURBIDITY],
|
7670
|
+
],
|
7671
|
+
};
|
7469
7672
|
var COMPONENTS_GROUP_TYPE;
|
7470
7673
|
(function (COMPONENTS_GROUP_TYPE) {
|
7471
7674
|
COMPONENTS_GROUP_TYPE["INFLOW"] = "Inflow";
|
@@ -8542,7 +8745,8 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8542
8745
|
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS],
|
8543
8746
|
minSizeValue: new go.Size(100, NaN),
|
8544
8747
|
selectable: false,
|
8545
|
-
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]
|
8748
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]
|
8749
|
+
.map((e) => ({
|
8546
8750
|
...e,
|
8547
8751
|
value: '',
|
8548
8752
|
isEditable: true,
|
@@ -8550,7 +8754,8 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8550
8754
|
extendedDataIsFromPlugin: {
|
8551
8755
|
maxSizeValue: 230,
|
8552
8756
|
},
|
8553
|
-
}))
|
8757
|
+
}))
|
8758
|
+
.concat(ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => ({
|
8554
8759
|
...e,
|
8555
8760
|
value: `Mapping in "Cooling Water Chemistry" section`,
|
8556
8761
|
isEditable: false,
|
@@ -8633,11 +8838,12 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8633
8838
|
],
|
8634
8839
|
linkDataArray: [],
|
8635
8840
|
},
|
8636
|
-
[AtoGojsEditorModel.ENUM_TYPES.
|
8841
|
+
[AtoGojsEditorModel.ENUM_TYPES.IMMERSED_UF_WATER_TREATMENTS]: {
|
8637
8842
|
nodeDataArray: [
|
8638
8843
|
{
|
8844
|
+
key: 130,
|
8639
8845
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
|
8640
|
-
group:
|
8846
|
+
group: 150,
|
8641
8847
|
loc: '0 0',
|
8642
8848
|
data: {
|
8643
8849
|
quantity: 2222,
|
@@ -8647,8 +8853,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8647
8853
|
color: '#a8438d',
|
8648
8854
|
},
|
8649
8855
|
{
|
8856
|
+
key: 131,
|
8650
8857
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
|
8651
|
-
group:
|
8858
|
+
group: 150,
|
8652
8859
|
data: {
|
8653
8860
|
quantity: 3333,
|
8654
8861
|
unit: 'm³',
|
@@ -8664,19 +8871,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8664
8871
|
},
|
8665
8872
|
// For view Chemistry
|
8666
8873
|
{
|
8874
|
+
key: 132,
|
8667
8875
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8668
|
-
group:
|
8669
|
-
loc: '10
|
8876
|
+
group: 150,
|
8877
|
+
loc: '10 10',
|
8670
8878
|
padding: new go.Margin(0, 0, 0, 0),
|
8671
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
8879
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__CHEMISTRY],
|
8672
8880
|
minSizeValue: new go.Size(100, NaN),
|
8673
8881
|
selectable: false,
|
8674
|
-
dataTable:
|
8882
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__CHEMISTRY].map((e) => ({
|
8675
8883
|
...e,
|
8676
8884
|
value: '',
|
8677
8885
|
isEditable: true,
|
8678
8886
|
maxSizeValue: 140,
|
8679
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
8887
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS,
|
8680
8888
|
})),
|
8681
8889
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8682
8890
|
extendedData: {
|
@@ -8687,63 +8895,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8687
8895
|
},
|
8688
8896
|
},
|
8689
8897
|
{
|
8898
|
+
key: 133,
|
8690
8899
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8691
|
-
group:
|
8692
|
-
loc: '10
|
8693
|
-
padding: new go.Margin(0, 0, 0, 0),
|
8694
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS],
|
8695
|
-
minSizeValue: new go.Size(100, NaN),
|
8696
|
-
selectable: false,
|
8697
|
-
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.SYSTEM_KPIS_STEAM].map((e) => ({
|
8698
|
-
...e,
|
8699
|
-
value: `Mapping in "Steam" section`,
|
8700
|
-
isEditable: false,
|
8701
|
-
maxSizeValue: 220,
|
8702
|
-
waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
8703
|
-
isReadOnly: true,
|
8704
|
-
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
8705
|
-
// font: '10px sans-serif',
|
8706
|
-
maxSizeNameParam: new go.Size(125, 15),
|
8707
|
-
})).concat(ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.SYSTEM_KPIS_BOILER_WATER].map((e) => ({
|
8708
|
-
...e,
|
8709
|
-
value: `Mapping in "Boiler Water" section`,
|
8710
|
-
isEditable: false,
|
8711
|
-
maxSizeValue: 220,
|
8712
|
-
waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
8713
|
-
isReadOnly: true,
|
8714
|
-
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
8715
|
-
// font: '10px sans-serif',
|
8716
|
-
maxSizeNameParam: new go.Size(125, 15),
|
8717
|
-
}))),
|
8718
|
-
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8719
|
-
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
8720
|
-
extendedData: {
|
8721
|
-
visible: false,
|
8722
|
-
},
|
8723
|
-
extendedDataisFromPlugin: {
|
8724
|
-
visible: true,
|
8725
|
-
},
|
8726
|
-
extendedDataResponsive: {
|
8727
|
-
visible: false,
|
8728
|
-
},
|
8729
|
-
extendedDataisFromPluginResponsive: {
|
8730
|
-
visible: false,
|
8731
|
-
},
|
8732
|
-
},
|
8733
|
-
{
|
8734
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8735
|
-
group: 100,
|
8736
|
-
loc: '400 15',
|
8900
|
+
group: 150,
|
8901
|
+
loc: '400 10',
|
8737
8902
|
padding: new go.Margin(0, 0, 0, 0),
|
8738
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
8903
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__CHEMISTRY],
|
8739
8904
|
minSizeValue: new go.Size(100, NaN),
|
8740
8905
|
selectable: false,
|
8741
|
-
dataTable:
|
8906
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__CHEMISTRY].map((e) => ({
|
8742
8907
|
...e,
|
8743
8908
|
value: '',
|
8744
8909
|
isEditable: true,
|
8745
8910
|
maxSizeValue: 140,
|
8746
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
8911
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_UF,
|
8747
8912
|
})),
|
8748
8913
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8749
8914
|
extendedData: {
|
@@ -8754,19 +8919,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8754
8919
|
},
|
8755
8920
|
},
|
8756
8921
|
{
|
8922
|
+
key: 134,
|
8757
8923
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8758
|
-
group:
|
8759
|
-
loc: '
|
8924
|
+
group: 150,
|
8925
|
+
loc: '900 10',
|
8760
8926
|
padding: new go.Margin(0, 0, 0, 0),
|
8761
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
8927
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__CHEMISTRY],
|
8762
8928
|
minSizeValue: new go.Size(100, NaN),
|
8763
8929
|
selectable: false,
|
8764
|
-
dataTable:
|
8930
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__CHEMISTRY].map((e) => ({
|
8765
8931
|
...e,
|
8766
8932
|
value: '',
|
8767
8933
|
isEditable: true,
|
8768
8934
|
maxSizeValue: 140,
|
8769
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
8935
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE,
|
8770
8936
|
})),
|
8771
8937
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8772
8938
|
extendedData: {
|
@@ -8777,19 +8943,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8777
8943
|
},
|
8778
8944
|
},
|
8779
8945
|
{
|
8946
|
+
key: 135,
|
8780
8947
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8781
|
-
group:
|
8782
|
-
loc: '
|
8948
|
+
group: 150,
|
8949
|
+
loc: '1000 250',
|
8783
8950
|
padding: new go.Margin(0, 0, 0, 0),
|
8784
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
8951
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__CHEMISTRY],
|
8785
8952
|
minSizeValue: new go.Size(100, NaN),
|
8786
8953
|
selectable: false,
|
8787
|
-
dataTable:
|
8954
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__CHEMISTRY].map((e) => ({
|
8788
8955
|
...e,
|
8789
8956
|
value: '',
|
8790
8957
|
isEditable: true,
|
8791
8958
|
maxSizeValue: 140,
|
8792
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
8959
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE,
|
8793
8960
|
})),
|
8794
8961
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8795
8962
|
extendedData: {
|
@@ -8800,19 +8967,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8800
8967
|
},
|
8801
8968
|
},
|
8802
8969
|
{
|
8970
|
+
key: 136,
|
8803
8971
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8804
|
-
group:
|
8805
|
-
loc: '
|
8972
|
+
group: 150,
|
8973
|
+
loc: '15 350',
|
8806
8974
|
padding: new go.Margin(0, 10, 0, 0),
|
8807
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
8975
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__CHEMISTRY],
|
8808
8976
|
minSizeValue: new go.Size(100, NaN),
|
8809
8977
|
selectable: false,
|
8810
|
-
dataTable:
|
8978
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__CHEMISTRY].map((e) => ({
|
8811
8979
|
...e,
|
8812
8980
|
value: '',
|
8813
8981
|
isEditable: true,
|
8814
8982
|
maxSizeValue: 140,
|
8815
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
8983
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_FEED,
|
8816
8984
|
})),
|
8817
8985
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8818
8986
|
extendedData: {
|
@@ -8823,9 +8991,10 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8823
8991
|
},
|
8824
8992
|
},
|
8825
8993
|
{
|
8994
|
+
key: 137,
|
8826
8995
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.IMAGE_TEMPLATE,
|
8827
8996
|
source: AtoGojsEditorModel.IMAGE_BOILER_PATH,
|
8828
|
-
group:
|
8997
|
+
group: 150,
|
8829
8998
|
loc: '0 0',
|
8830
8999
|
selectable: false,
|
8831
9000
|
extendedData: {
|
@@ -8836,8 +9005,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8836
9005
|
},
|
8837
9006
|
},
|
8838
9007
|
{
|
9008
|
+
key: 138,
|
8839
9009
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8840
|
-
group:
|
9010
|
+
group: 150,
|
8841
9011
|
loc: '80 285',
|
8842
9012
|
name: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
8843
9013
|
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
@@ -8850,8 +9020,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8850
9020
|
},
|
8851
9021
|
},
|
8852
9022
|
{
|
9023
|
+
key: 139,
|
8853
9024
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8854
|
-
group:
|
9025
|
+
group: 150,
|
8855
9026
|
loc: '300 17',
|
8856
9027
|
name: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
8857
9028
|
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
@@ -8864,8 +9035,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8864
9035
|
},
|
8865
9036
|
},
|
8866
9037
|
{
|
9038
|
+
key: 140,
|
8867
9039
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8868
|
-
group:
|
9040
|
+
group: 150,
|
8869
9041
|
loc: '760 17',
|
8870
9042
|
name: WATER_SYSTEMS_NAME.STEAM,
|
8871
9043
|
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
@@ -8878,8 +9050,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8878
9050
|
},
|
8879
9051
|
},
|
8880
9052
|
{
|
9053
|
+
key: 141,
|
8881
9054
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8882
|
-
group:
|
9055
|
+
group: 150,
|
8883
9056
|
loc: '490 400',
|
8884
9057
|
name: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
8885
9058
|
color: AtoGojsEditorModel.ENUM_COLORS.LIGHT_SKY_BLUE_2,
|
@@ -8892,8 +9065,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8892
9065
|
},
|
8893
9066
|
},
|
8894
9067
|
{
|
9068
|
+
key: 142,
|
8895
9069
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8896
|
-
group:
|
9070
|
+
group: 150,
|
8897
9071
|
loc: '920 160',
|
8898
9072
|
name: WATER_SYSTEMS_NAME.BOILER_WATER,
|
8899
9073
|
color: AtoGojsEditorModel.ENUM_COLORS.REGENT_ST_BLUE,
|
@@ -8907,42 +9081,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8907
9081
|
},
|
8908
9082
|
// For view Flow
|
8909
9083
|
{
|
9084
|
+
key: 143,
|
8910
9085
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8911
|
-
group:
|
8912
|
-
loc: '
|
8913
|
-
padding: new go.Margin(0, 0, 0, 0),
|
8914
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER],
|
8915
|
-
minSizeValue: new go.Size(100, NaN),
|
8916
|
-
selectable: false,
|
8917
|
-
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW].map((e) => ({
|
8918
|
-
...e,
|
8919
|
-
value: '',
|
8920
|
-
isEditable: true,
|
8921
|
-
maxSizeValue: 140,
|
8922
|
-
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
8923
|
-
})),
|
8924
|
-
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8925
|
-
extendedData: {
|
8926
|
-
visible: true,
|
8927
|
-
},
|
8928
|
-
extendedDataResponsive: {
|
8929
|
-
visible: false,
|
8930
|
-
},
|
8931
|
-
},
|
8932
|
-
{
|
8933
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8934
|
-
group: 100,
|
8935
|
-
loc: '230 50',
|
9086
|
+
group: 150,
|
9087
|
+
loc: '10 10',
|
8936
9088
|
padding: new go.Margin(0, 0, 0, 0),
|
8937
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
9089
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__FLOW],
|
8938
9090
|
minSizeValue: new go.Size(100, NaN),
|
8939
9091
|
selectable: false,
|
8940
|
-
dataTable:
|
9092
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__FLOW].map((e) => ({
|
8941
9093
|
...e,
|
8942
9094
|
value: '',
|
8943
9095
|
isEditable: true,
|
8944
9096
|
maxSizeValue: 140,
|
8945
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
9097
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS,
|
8946
9098
|
})),
|
8947
9099
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8948
9100
|
extendedData: {
|
@@ -8953,19 +9105,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8953
9105
|
},
|
8954
9106
|
},
|
8955
9107
|
{
|
9108
|
+
key: 144,
|
8956
9109
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8957
|
-
group:
|
8958
|
-
loc: '
|
9110
|
+
group: 150,
|
9111
|
+
loc: '400 10',
|
8959
9112
|
padding: new go.Margin(0, 0, 0, 0),
|
8960
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
9113
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__FLOW],
|
8961
9114
|
minSizeValue: new go.Size(100, NaN),
|
8962
9115
|
selectable: false,
|
8963
|
-
dataTable:
|
9116
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__FLOW].map((e) => ({
|
8964
9117
|
...e,
|
8965
9118
|
value: '',
|
8966
9119
|
isEditable: true,
|
8967
9120
|
maxSizeValue: 140,
|
8968
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
9121
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_UF,
|
8969
9122
|
})),
|
8970
9123
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8971
9124
|
extendedData: {
|
@@ -8976,19 +9129,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8976
9129
|
},
|
8977
9130
|
},
|
8978
9131
|
{
|
9132
|
+
key: 145,
|
8979
9133
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8980
|
-
group:
|
8981
|
-
loc: '
|
9134
|
+
group: 150,
|
9135
|
+
loc: '900 10',
|
8982
9136
|
padding: new go.Margin(0, 0, 0, 0),
|
8983
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
9137
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__FLOW],
|
8984
9138
|
minSizeValue: new go.Size(100, NaN),
|
8985
9139
|
selectable: false,
|
8986
|
-
dataTable:
|
9140
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__FLOW].map((e) => ({
|
8987
9141
|
...e,
|
8988
9142
|
value: '',
|
8989
9143
|
isEditable: true,
|
8990
9144
|
maxSizeValue: 140,
|
8991
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
9145
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE,
|
8992
9146
|
})),
|
8993
9147
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8994
9148
|
extendedData: {
|
@@ -8999,19 +9153,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8999
9153
|
},
|
9000
9154
|
},
|
9001
9155
|
{
|
9156
|
+
key: 146,
|
9002
9157
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9003
|
-
group:
|
9004
|
-
loc: '
|
9158
|
+
group: 150,
|
9159
|
+
loc: '1000 250',
|
9005
9160
|
padding: new go.Margin(0, 0, 0, 0),
|
9006
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
9161
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__FLOW],
|
9007
9162
|
minSizeValue: new go.Size(100, NaN),
|
9008
9163
|
selectable: false,
|
9009
|
-
dataTable:
|
9164
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__FLOW].map((e) => ({
|
9010
9165
|
...e,
|
9011
9166
|
value: '',
|
9012
9167
|
isEditable: true,
|
9013
9168
|
maxSizeValue: 140,
|
9014
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
9169
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE,
|
9015
9170
|
})),
|
9016
9171
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9017
9172
|
extendedData: {
|
@@ -9022,19 +9177,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9022
9177
|
},
|
9023
9178
|
},
|
9024
9179
|
{
|
9180
|
+
key: 147,
|
9025
9181
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9026
|
-
group:
|
9027
|
-
loc: '
|
9182
|
+
group: 150,
|
9183
|
+
loc: '15 350',
|
9028
9184
|
padding: new go.Margin(0, 0, 0, 0),
|
9029
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
9185
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__FLOW],
|
9030
9186
|
minSizeValue: new go.Size(100, NaN),
|
9031
9187
|
selectable: false,
|
9032
|
-
dataTable:
|
9188
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__FLOW].map((e) => ({
|
9033
9189
|
...e,
|
9034
9190
|
value: '',
|
9035
9191
|
isEditable: true,
|
9036
9192
|
maxSizeValue: 140,
|
9037
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
9193
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_FEED,
|
9038
9194
|
})),
|
9039
9195
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9040
9196
|
extendedData: {
|
@@ -9045,8 +9201,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9045
9201
|
},
|
9046
9202
|
},
|
9047
9203
|
{
|
9204
|
+
key: 148,
|
9048
9205
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9049
|
-
group:
|
9206
|
+
group: 150,
|
9050
9207
|
loc: '80 280',
|
9051
9208
|
name: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
9052
9209
|
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
@@ -9059,8 +9216,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9059
9216
|
},
|
9060
9217
|
},
|
9061
9218
|
{
|
9219
|
+
key: 149,
|
9062
9220
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9063
|
-
group:
|
9221
|
+
group: 150,
|
9064
9222
|
loc: '300 17',
|
9065
9223
|
name: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
9066
9224
|
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
@@ -9073,8 +9231,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9073
9231
|
},
|
9074
9232
|
},
|
9075
9233
|
{
|
9234
|
+
key: 151,
|
9076
9235
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9077
|
-
group:
|
9236
|
+
group: 150,
|
9078
9237
|
loc: '760 17',
|
9079
9238
|
name: WATER_SYSTEMS_NAME.STEAM,
|
9080
9239
|
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
@@ -9087,8 +9246,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9087
9246
|
},
|
9088
9247
|
},
|
9089
9248
|
{
|
9249
|
+
key: 152,
|
9090
9250
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9091
|
-
group:
|
9251
|
+
group: 150,
|
9092
9252
|
loc: '490 400',
|
9093
9253
|
name: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
9094
9254
|
color: AtoGojsEditorModel.ENUM_COLORS.LIGHT_SKY_BLUE_2,
|
@@ -9101,8 +9261,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9101
9261
|
},
|
9102
9262
|
},
|
9103
9263
|
{
|
9264
|
+
key: 153,
|
9104
9265
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9105
|
-
group:
|
9266
|
+
group: 150,
|
9106
9267
|
loc: '380 200',
|
9107
9268
|
name: WATER_SYSTEMS_NAME.STEAM_LOSS,
|
9108
9269
|
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
@@ -9115,7 +9276,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9115
9276
|
},
|
9116
9277
|
},
|
9117
9278
|
{
|
9118
|
-
key:
|
9279
|
+
key: 150,
|
9119
9280
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.BOILER,
|
9120
9281
|
isGroup: true,
|
9121
9282
|
name: 'Group',
|
@@ -9123,109 +9284,898 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9123
9284
|
],
|
9124
9285
|
linkDataArray: [],
|
9125
9286
|
},
|
9126
|
-
[AtoGojsEditorModel.ENUM_TYPES.
|
9287
|
+
[AtoGojsEditorModel.ENUM_TYPES.BOILER]: {
|
9127
9288
|
nodeDataArray: [
|
9128
9289
|
{
|
9129
|
-
|
9130
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
|
9131
|
-
name: 'Inflow',
|
9132
|
-
value: '0 kl',
|
9133
|
-
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
9134
|
-
group: 100,
|
9135
|
-
loc: '0 140.5',
|
9136
|
-
},
|
9137
|
-
{
|
9138
|
-
key: 91,
|
9139
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
|
9140
|
-
name: 'Outflow',
|
9141
|
-
value: '0 kl',
|
9142
|
-
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
9290
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
|
9143
9291
|
group: 100,
|
9144
|
-
loc: '
|
9292
|
+
loc: '0 0',
|
9293
|
+
data: {
|
9294
|
+
quantity: 2222,
|
9295
|
+
unit: 'm³',
|
9296
|
+
},
|
9297
|
+
name: 'top-left-marker',
|
9298
|
+
color: '#a8438d',
|
9145
9299
|
},
|
9146
9300
|
{
|
9147
|
-
|
9148
|
-
|
9149
|
-
|
9150
|
-
|
9151
|
-
|
9301
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
|
9302
|
+
group: 100,
|
9303
|
+
data: {
|
9304
|
+
quantity: 3333,
|
9305
|
+
unit: 'm³',
|
9306
|
+
},
|
9307
|
+
name: 'bottom-right-marker',
|
9308
|
+
color: '#a8438d',
|
9309
|
+
extendedData: {
|
9310
|
+
loc: '1220 660',
|
9311
|
+
},
|
9312
|
+
extendedDataResponsive: {
|
9313
|
+
loc: '700 300',
|
9314
|
+
},
|
9315
|
+
},
|
9316
|
+
// For view Chemistry
|
9317
|
+
{
|
9318
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9319
|
+
group: 100,
|
9320
|
+
loc: '10 310',
|
9321
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9322
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER],
|
9323
|
+
minSizeValue: new go.Size(100, NaN),
|
9324
|
+
selectable: false,
|
9325
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY].map((e) => ({
|
9326
|
+
...e,
|
9327
|
+
value: '',
|
9328
|
+
isEditable: true,
|
9329
|
+
maxSizeValue: 140,
|
9330
|
+
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
9331
|
+
})),
|
9332
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9333
|
+
extendedData: {
|
9334
|
+
visible: true,
|
9335
|
+
},
|
9336
|
+
extendedDataResponsive: {
|
9337
|
+
visible: false,
|
9338
|
+
},
|
9339
|
+
},
|
9340
|
+
{
|
9341
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9342
|
+
group: 100,
|
9343
|
+
loc: '10 15',
|
9344
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9345
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS],
|
9346
|
+
minSizeValue: new go.Size(100, NaN),
|
9347
|
+
selectable: false,
|
9348
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.SYSTEM_KPIS_STEAM]
|
9349
|
+
.map((e) => ({
|
9350
|
+
...e,
|
9351
|
+
value: `Mapping in "Steam" section`,
|
9352
|
+
isEditable: false,
|
9353
|
+
maxSizeValue: 220,
|
9354
|
+
waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
9355
|
+
isReadOnly: true,
|
9356
|
+
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
9357
|
+
// font: '10px sans-serif',
|
9358
|
+
maxSizeNameParam: new go.Size(125, 15),
|
9359
|
+
}))
|
9360
|
+
.concat(ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.SYSTEM_KPIS_BOILER_WATER].map((e) => ({
|
9361
|
+
...e,
|
9362
|
+
value: `Mapping in "Boiler Water" section`,
|
9363
|
+
isEditable: false,
|
9364
|
+
maxSizeValue: 220,
|
9365
|
+
waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
9366
|
+
isReadOnly: true,
|
9367
|
+
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
9368
|
+
// font: '10px sans-serif',
|
9369
|
+
maxSizeNameParam: new go.Size(125, 15),
|
9370
|
+
}))),
|
9371
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9372
|
+
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
9373
|
+
extendedData: {
|
9374
|
+
visible: false,
|
9375
|
+
},
|
9376
|
+
extendedDataisFromPlugin: {
|
9377
|
+
visible: true,
|
9378
|
+
},
|
9379
|
+
extendedDataResponsive: {
|
9380
|
+
visible: false,
|
9381
|
+
},
|
9382
|
+
extendedDataisFromPluginResponsive: {
|
9383
|
+
visible: false,
|
9384
|
+
},
|
9385
|
+
},
|
9386
|
+
{
|
9387
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9388
|
+
group: 100,
|
9389
|
+
loc: '400 15',
|
9390
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9391
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.CONDENSATE_RETURN],
|
9392
|
+
minSizeValue: new go.Size(100, NaN),
|
9393
|
+
selectable: false,
|
9394
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.CONDENSATE_RETURN__CHEMISTRY].map((e) => ({
|
9395
|
+
...e,
|
9396
|
+
value: '',
|
9397
|
+
isEditable: true,
|
9398
|
+
maxSizeValue: 140,
|
9399
|
+
waterSystem: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
9400
|
+
})),
|
9401
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9402
|
+
extendedData: {
|
9403
|
+
visible: true,
|
9404
|
+
},
|
9405
|
+
extendedDataResponsive: {
|
9406
|
+
visible: false,
|
9407
|
+
},
|
9408
|
+
},
|
9409
|
+
{
|
9410
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9411
|
+
group: 100,
|
9412
|
+
loc: '840 70',
|
9413
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9414
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.STEAM],
|
9415
|
+
minSizeValue: new go.Size(100, NaN),
|
9416
|
+
selectable: false,
|
9417
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.STEAM__CHEMISTRY].map((e) => ({
|
9418
|
+
...e,
|
9419
|
+
value: '',
|
9420
|
+
isEditable: true,
|
9421
|
+
maxSizeValue: 140,
|
9422
|
+
waterSystem: WATER_SYSTEMS_NAME.STEAM,
|
9423
|
+
})),
|
9424
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9425
|
+
extendedData: {
|
9426
|
+
visible: true,
|
9427
|
+
},
|
9428
|
+
extendedDataResponsive: {
|
9429
|
+
visible: false,
|
9430
|
+
},
|
9431
|
+
},
|
9432
|
+
{
|
9433
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9434
|
+
group: 100,
|
9435
|
+
loc: '460 520',
|
9436
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9437
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BOILER_FEED_WATER],
|
9438
|
+
minSizeValue: new go.Size(100, NaN),
|
9439
|
+
selectable: false,
|
9440
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.BOILER_FEED_WATER__CHEMISTRY].map((e) => ({
|
9441
|
+
...e,
|
9442
|
+
value: '',
|
9443
|
+
isEditable: true,
|
9444
|
+
maxSizeValue: 140,
|
9445
|
+
waterSystem: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
9446
|
+
})),
|
9447
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9448
|
+
extendedData: {
|
9449
|
+
visible: true,
|
9450
|
+
},
|
9451
|
+
extendedDataResponsive: {
|
9452
|
+
visible: false,
|
9453
|
+
},
|
9454
|
+
},
|
9455
|
+
{
|
9456
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9457
|
+
group: 100,
|
9458
|
+
loc: '920 250',
|
9459
|
+
padding: new go.Margin(0, 10, 0, 0),
|
9460
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BOILER_WATER],
|
9461
|
+
minSizeValue: new go.Size(100, NaN),
|
9462
|
+
selectable: false,
|
9463
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.BOILER_WATER].map((e) => ({
|
9464
|
+
...e,
|
9465
|
+
value: '',
|
9466
|
+
isEditable: true,
|
9467
|
+
maxSizeValue: 140,
|
9468
|
+
waterSystem: WATER_SYSTEMS_NAME.BOILER_WATER,
|
9469
|
+
})),
|
9470
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9471
|
+
extendedData: {
|
9472
|
+
visible: true,
|
9473
|
+
},
|
9474
|
+
extendedDataResponsive: {
|
9475
|
+
visible: false,
|
9476
|
+
},
|
9477
|
+
},
|
9478
|
+
{
|
9479
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.IMAGE_TEMPLATE,
|
9480
|
+
source: AtoGojsEditorModel.IMAGE_BOILER_PATH,
|
9481
|
+
group: 100,
|
9482
|
+
loc: '0 0',
|
9483
|
+
selectable: false,
|
9484
|
+
extendedData: {
|
9485
|
+
margin: new go.Margin(150, 160, 0, 0),
|
9486
|
+
},
|
9487
|
+
extendedDataResponsive: {
|
9488
|
+
margin: new go.Margin(20, 20, 0, 0),
|
9489
|
+
},
|
9490
|
+
},
|
9491
|
+
{
|
9492
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9493
|
+
group: 100,
|
9494
|
+
loc: '80 285',
|
9495
|
+
name: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
9496
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
9497
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9498
|
+
extendedData: {
|
9499
|
+
visible: false,
|
9500
|
+
},
|
9501
|
+
extendedDataResponsive: {
|
9502
|
+
visible: true,
|
9503
|
+
},
|
9504
|
+
},
|
9505
|
+
{
|
9506
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9507
|
+
group: 100,
|
9508
|
+
loc: '300 17',
|
9509
|
+
name: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
9510
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
9511
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9512
|
+
extendedData: {
|
9513
|
+
visible: false,
|
9514
|
+
},
|
9515
|
+
extendedDataResponsive: {
|
9516
|
+
visible: true,
|
9517
|
+
},
|
9518
|
+
},
|
9519
|
+
{
|
9520
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9521
|
+
group: 100,
|
9522
|
+
loc: '760 17',
|
9523
|
+
name: WATER_SYSTEMS_NAME.STEAM,
|
9524
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
9525
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9526
|
+
extendedData: {
|
9527
|
+
visible: false,
|
9528
|
+
},
|
9529
|
+
extendedDataResponsive: {
|
9530
|
+
visible: true,
|
9531
|
+
},
|
9532
|
+
},
|
9533
|
+
{
|
9534
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9535
|
+
group: 100,
|
9536
|
+
loc: '490 400',
|
9537
|
+
name: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
9538
|
+
color: AtoGojsEditorModel.ENUM_COLORS.LIGHT_SKY_BLUE_2,
|
9539
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9540
|
+
extendedData: {
|
9541
|
+
visible: false,
|
9542
|
+
},
|
9543
|
+
extendedDataResponsive: {
|
9544
|
+
visible: true,
|
9545
|
+
},
|
9546
|
+
},
|
9547
|
+
{
|
9548
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9549
|
+
group: 100,
|
9550
|
+
loc: '920 160',
|
9551
|
+
name: WATER_SYSTEMS_NAME.BOILER_WATER,
|
9552
|
+
color: AtoGojsEditorModel.ENUM_COLORS.REGENT_ST_BLUE,
|
9553
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9554
|
+
extendedData: {
|
9555
|
+
visible: false,
|
9556
|
+
},
|
9557
|
+
extendedDataResponsive: {
|
9558
|
+
visible: true,
|
9559
|
+
},
|
9560
|
+
},
|
9561
|
+
// For view Flow
|
9562
|
+
{
|
9563
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9564
|
+
group: 100,
|
9565
|
+
loc: '15 330',
|
9566
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9567
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER],
|
9568
|
+
minSizeValue: new go.Size(100, NaN),
|
9569
|
+
selectable: false,
|
9570
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW].map((e) => ({
|
9571
|
+
...e,
|
9572
|
+
value: '',
|
9573
|
+
isEditable: true,
|
9574
|
+
maxSizeValue: 140,
|
9575
|
+
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
9576
|
+
})),
|
9577
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9578
|
+
extendedData: {
|
9579
|
+
visible: true,
|
9580
|
+
},
|
9581
|
+
extendedDataResponsive: {
|
9582
|
+
visible: false,
|
9583
|
+
},
|
9584
|
+
},
|
9585
|
+
{
|
9586
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9587
|
+
group: 100,
|
9588
|
+
loc: '230 50',
|
9589
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9590
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.CONDENSATE_RETURN],
|
9591
|
+
minSizeValue: new go.Size(100, NaN),
|
9592
|
+
selectable: false,
|
9593
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.CONDENSATE_RETURN__FLOW].map((e) => ({
|
9594
|
+
...e,
|
9595
|
+
value: '',
|
9596
|
+
isEditable: true,
|
9597
|
+
maxSizeValue: 140,
|
9598
|
+
waterSystem: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
9599
|
+
})),
|
9600
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9601
|
+
extendedData: {
|
9602
|
+
visible: true,
|
9603
|
+
},
|
9604
|
+
extendedDataResponsive: {
|
9605
|
+
visible: false,
|
9606
|
+
},
|
9607
|
+
},
|
9608
|
+
{
|
9609
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9610
|
+
group: 100,
|
9611
|
+
loc: '830 50',
|
9612
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9613
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.STEAM],
|
9614
|
+
minSizeValue: new go.Size(100, NaN),
|
9615
|
+
selectable: false,
|
9616
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.STEAM__FLOW].map((e) => ({
|
9617
|
+
...e,
|
9618
|
+
value: '',
|
9619
|
+
isEditable: true,
|
9620
|
+
maxSizeValue: 140,
|
9621
|
+
waterSystem: WATER_SYSTEMS_NAME.STEAM,
|
9622
|
+
})),
|
9623
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9624
|
+
extendedData: {
|
9625
|
+
visible: true,
|
9626
|
+
},
|
9627
|
+
extendedDataResponsive: {
|
9628
|
+
visible: false,
|
9629
|
+
},
|
9630
|
+
},
|
9631
|
+
{
|
9632
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9633
|
+
group: 100,
|
9634
|
+
loc: '470 530',
|
9635
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9636
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BOILER_FEED_WATER],
|
9637
|
+
minSizeValue: new go.Size(100, NaN),
|
9638
|
+
selectable: false,
|
9639
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.BOILER_FEED_WATER__FLOW].map((e) => ({
|
9640
|
+
...e,
|
9641
|
+
value: '',
|
9642
|
+
isEditable: true,
|
9643
|
+
maxSizeValue: 140,
|
9644
|
+
waterSystem: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
9645
|
+
})),
|
9646
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9647
|
+
extendedData: {
|
9648
|
+
visible: true,
|
9649
|
+
},
|
9650
|
+
extendedDataResponsive: {
|
9651
|
+
visible: false,
|
9652
|
+
},
|
9653
|
+
},
|
9654
|
+
{
|
9655
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9656
|
+
group: 100,
|
9657
|
+
loc: '15 220',
|
9658
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9659
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.STEAM_LOSS],
|
9660
|
+
minSizeValue: new go.Size(100, NaN),
|
9661
|
+
selectable: false,
|
9662
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.STEAM_LOSS].map((e) => ({
|
9663
|
+
...e,
|
9664
|
+
value: '',
|
9665
|
+
isEditable: true,
|
9666
|
+
maxSizeValue: 140,
|
9667
|
+
waterSystem: WATER_SYSTEMS_NAME.STEAM_LOSS,
|
9668
|
+
})),
|
9669
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9670
|
+
extendedData: {
|
9671
|
+
visible: true,
|
9672
|
+
},
|
9673
|
+
extendedDataResponsive: {
|
9674
|
+
visible: false,
|
9675
|
+
},
|
9676
|
+
},
|
9677
|
+
{
|
9678
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9679
|
+
group: 100,
|
9680
|
+
loc: '900 425',
|
9681
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9682
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BLOWDOWN],
|
9683
|
+
minSizeValue: new go.Size(100, NaN),
|
9684
|
+
selectable: false,
|
9685
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.BLOWDOWN].map((e) => ({
|
9686
|
+
...e,
|
9687
|
+
value: '',
|
9688
|
+
isEditable: true,
|
9689
|
+
maxSizeValue: 140,
|
9690
|
+
waterSystem: WATER_SYSTEMS_NAME.BLOWDOWN,
|
9691
|
+
})),
|
9692
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9693
|
+
extendedData: {
|
9694
|
+
visible: true,
|
9695
|
+
},
|
9696
|
+
extendedDataResponsive: {
|
9697
|
+
visible: false,
|
9698
|
+
},
|
9699
|
+
},
|
9700
|
+
{
|
9701
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9702
|
+
group: 100,
|
9703
|
+
loc: '80 280',
|
9704
|
+
name: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
9705
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
9706
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9707
|
+
extendedData: {
|
9708
|
+
visible: false,
|
9709
|
+
},
|
9710
|
+
extendedDataResponsive: {
|
9711
|
+
visible: true,
|
9712
|
+
},
|
9713
|
+
},
|
9714
|
+
{
|
9715
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9716
|
+
group: 100,
|
9717
|
+
loc: '300 17',
|
9718
|
+
name: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
9719
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
9720
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9721
|
+
extendedData: {
|
9722
|
+
visible: false,
|
9723
|
+
},
|
9724
|
+
extendedDataResponsive: {
|
9725
|
+
visible: true,
|
9726
|
+
},
|
9727
|
+
},
|
9728
|
+
{
|
9729
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9730
|
+
group: 100,
|
9731
|
+
loc: '760 17',
|
9732
|
+
name: WATER_SYSTEMS_NAME.STEAM,
|
9733
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
9734
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9735
|
+
extendedData: {
|
9736
|
+
visible: false,
|
9737
|
+
},
|
9738
|
+
extendedDataResponsive: {
|
9739
|
+
visible: true,
|
9740
|
+
},
|
9741
|
+
},
|
9742
|
+
{
|
9743
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9744
|
+
group: 100,
|
9745
|
+
loc: '490 400',
|
9746
|
+
name: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
9747
|
+
color: AtoGojsEditorModel.ENUM_COLORS.LIGHT_SKY_BLUE_2,
|
9748
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9749
|
+
extendedData: {
|
9750
|
+
visible: false,
|
9751
|
+
},
|
9752
|
+
extendedDataResponsive: {
|
9753
|
+
visible: true,
|
9754
|
+
},
|
9755
|
+
},
|
9756
|
+
{
|
9757
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9758
|
+
group: 100,
|
9759
|
+
loc: '380 200',
|
9760
|
+
name: WATER_SYSTEMS_NAME.STEAM_LOSS,
|
9761
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
9762
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9763
|
+
extendedData: {
|
9764
|
+
visible: false,
|
9765
|
+
},
|
9766
|
+
extendedDataResponsive: {
|
9767
|
+
visible: true,
|
9768
|
+
},
|
9769
|
+
},
|
9770
|
+
{
|
9771
|
+
key: 100,
|
9772
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.BOILER,
|
9773
|
+
isGroup: true,
|
9774
|
+
name: 'Group',
|
9775
|
+
},
|
9776
|
+
],
|
9777
|
+
linkDataArray: [],
|
9778
|
+
},
|
9779
|
+
[AtoGojsEditorModel.ENUM_TYPES.OTHER]: {
|
9780
|
+
nodeDataArray: [
|
9781
|
+
{
|
9782
|
+
key: 90,
|
9783
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
|
9784
|
+
name: 'Inflow',
|
9785
|
+
value: '0 kl',
|
9786
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
9787
|
+
group: 100,
|
9788
|
+
loc: '0 140.5',
|
9789
|
+
},
|
9790
|
+
{
|
9791
|
+
key: 91,
|
9792
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
|
9793
|
+
name: 'Outflow',
|
9794
|
+
value: '0 kl',
|
9795
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
9796
|
+
group: 100,
|
9797
|
+
loc: '300 134.5',
|
9798
|
+
},
|
9799
|
+
{
|
9800
|
+
key: 92,
|
9801
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
|
9802
|
+
name: 'Loss',
|
9803
|
+
value: 'M',
|
9804
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
9152
9805
|
group: 100,
|
9153
9806
|
colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
|
9154
9807
|
loc: '160.5 0',
|
9155
9808
|
},
|
9156
9809
|
{
|
9157
|
-
key: 99,
|
9158
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_OTHER,
|
9810
|
+
key: 99,
|
9811
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_OTHER,
|
9812
|
+
group: 100,
|
9813
|
+
loc: '92.5 95',
|
9814
|
+
},
|
9815
|
+
{
|
9816
|
+
key: 100,
|
9817
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.OTHER,
|
9818
|
+
isGroup: true,
|
9819
|
+
name: 'Group',
|
9820
|
+
},
|
9821
|
+
],
|
9822
|
+
linkDataArray: [
|
9823
|
+
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
9824
|
+
{ from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
9825
|
+
{ from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
9826
|
+
],
|
9827
|
+
},
|
9828
|
+
[AtoGojsEditorModel.ENUM_TYPES.LANDSCAPING_IRRIGATION]: {
|
9829
|
+
nodeDataArray: [
|
9830
|
+
{
|
9831
|
+
key: 90,
|
9832
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
|
9833
|
+
name: 'Inflow',
|
9834
|
+
value: '0 kl',
|
9835
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
9836
|
+
group: 100,
|
9837
|
+
loc: '0 140.5',
|
9838
|
+
},
|
9839
|
+
{
|
9840
|
+
key: 91,
|
9841
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
|
9842
|
+
name: 'Loss',
|
9843
|
+
value: 'M',
|
9844
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
9845
|
+
group: 100,
|
9846
|
+
colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
|
9847
|
+
loc: '300 140.5',
|
9848
|
+
},
|
9849
|
+
{
|
9850
|
+
key: 99,
|
9851
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_DISCHARGE,
|
9852
|
+
group: 100,
|
9853
|
+
loc: '92.5 95',
|
9854
|
+
},
|
9855
|
+
{
|
9856
|
+
key: 100,
|
9857
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.LANDSCAPING_IRRIGATION,
|
9858
|
+
isGroup: true,
|
9859
|
+
name: 'Group',
|
9860
|
+
},
|
9861
|
+
],
|
9862
|
+
linkDataArray: [
|
9863
|
+
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
9864
|
+
{ from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
9865
|
+
],
|
9866
|
+
},
|
9867
|
+
[AtoGojsEditorModel.ENUM_TYPES.PRESSURIZED_UF_WATER_TREATMENTS]: {
|
9868
|
+
nodeDataArray: [
|
9869
|
+
{
|
9870
|
+
key: 86,
|
9871
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
|
9872
|
+
group: 100,
|
9873
|
+
loc: '0 0',
|
9874
|
+
data: {
|
9875
|
+
quantity: 2222,
|
9876
|
+
unit: 'm³',
|
9877
|
+
},
|
9878
|
+
name: 'top-left-marker',
|
9879
|
+
color: '#a8438d',
|
9880
|
+
},
|
9881
|
+
{
|
9882
|
+
key: 87,
|
9883
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
|
9884
|
+
group: 100,
|
9885
|
+
data: {
|
9886
|
+
quantity: 3333,
|
9887
|
+
unit: 'm³',
|
9888
|
+
},
|
9889
|
+
name: 'bottom-right-marker',
|
9890
|
+
color: '#a8438d',
|
9891
|
+
extendedData: {
|
9892
|
+
loc: '1000 700',
|
9893
|
+
},
|
9894
|
+
extendedDataResponsive: {
|
9895
|
+
loc: '700 300',
|
9896
|
+
},
|
9897
|
+
},
|
9898
|
+
{
|
9899
|
+
key: 88,
|
9900
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9901
|
+
group: 100,
|
9902
|
+
loc: '320 60',
|
9903
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9904
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.EVAPORATION_LOSS],
|
9905
|
+
minSizeValue: new go.Size(100, NaN),
|
9906
|
+
selectable: false,
|
9907
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.EVAPORATION_LOSS].map((e) => ({
|
9908
|
+
...e,
|
9909
|
+
value: '',
|
9910
|
+
isEditable: true,
|
9911
|
+
maxSizeValue: 140,
|
9912
|
+
})),
|
9913
|
+
visible: true,
|
9914
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9915
|
+
extendedData: {
|
9916
|
+
visible: true,
|
9917
|
+
},
|
9918
|
+
extendedDataResponsive: {
|
9919
|
+
visible: false,
|
9920
|
+
},
|
9921
|
+
},
|
9922
|
+
{
|
9923
|
+
key: 89,
|
9924
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9159
9925
|
group: 100,
|
9160
|
-
|
9161
|
-
|
9162
|
-
|
9163
|
-
|
9164
|
-
|
9165
|
-
|
9166
|
-
|
9926
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9927
|
+
loc: '30 350',
|
9928
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW],
|
9929
|
+
minSizeValue: new go.Size(100, NaN),
|
9930
|
+
selectable: false,
|
9931
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW].map((e) => ({
|
9932
|
+
...e,
|
9933
|
+
value: '',
|
9934
|
+
isEditable: true,
|
9935
|
+
maxSizeValue: 120,
|
9936
|
+
})),
|
9937
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9938
|
+
extendedData: {
|
9939
|
+
visible: true,
|
9940
|
+
},
|
9941
|
+
extendedDataResponsive: {
|
9942
|
+
visible: false,
|
9943
|
+
},
|
9167
9944
|
},
|
9168
|
-
],
|
9169
|
-
linkDataArray: [
|
9170
|
-
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
9171
|
-
{ from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
9172
|
-
{ from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
9173
|
-
],
|
9174
|
-
},
|
9175
|
-
[AtoGojsEditorModel.ENUM_TYPES.LANDSCAPING_IRRIGATION]: {
|
9176
|
-
nodeDataArray: [
|
9177
9945
|
{
|
9178
9946
|
key: 90,
|
9179
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.
|
9180
|
-
name: 'Inflow',
|
9181
|
-
value: '0 kl',
|
9182
|
-
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
9947
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9183
9948
|
group: 100,
|
9184
|
-
|
9949
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9950
|
+
loc: '10 270',
|
9951
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY],
|
9952
|
+
minSizeValue: new go.Size(100, NaN),
|
9953
|
+
selectable: false,
|
9954
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY].map((e) => ({
|
9955
|
+
...e,
|
9956
|
+
value: '',
|
9957
|
+
isEditable: true,
|
9958
|
+
maxSizeValue: 120,
|
9959
|
+
})),
|
9960
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9961
|
+
extendedData: {
|
9962
|
+
visible: true,
|
9963
|
+
},
|
9964
|
+
extendedDataResponsive: {
|
9965
|
+
visible: false,
|
9966
|
+
},
|
9185
9967
|
},
|
9186
9968
|
{
|
9187
9969
|
key: 91,
|
9188
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.
|
9189
|
-
name: 'Loss',
|
9190
|
-
value: 'M',
|
9191
|
-
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
9970
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9192
9971
|
group: 100,
|
9193
|
-
|
9194
|
-
loc: '
|
9972
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9973
|
+
loc: '570 250',
|
9974
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.WARMER_WATER],
|
9975
|
+
minSizeValue: new go.Size(100, NaN),
|
9976
|
+
selectable: false,
|
9977
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.WARMER_WATER].map((e) => ({
|
9978
|
+
...e,
|
9979
|
+
value: '',
|
9980
|
+
isEditable: true,
|
9981
|
+
maxSizeValue: 120,
|
9982
|
+
})),
|
9983
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9984
|
+
extendedData: {
|
9985
|
+
visible: true,
|
9986
|
+
},
|
9987
|
+
extendedDataResponsive: {
|
9988
|
+
visible: false,
|
9989
|
+
},
|
9990
|
+
},
|
9991
|
+
{
|
9992
|
+
key: 92,
|
9993
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9994
|
+
group: 100,
|
9995
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9996
|
+
loc: '570 560',
|
9997
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER],
|
9998
|
+
minSizeValue: new go.Size(100, NaN),
|
9999
|
+
selectable: false,
|
10000
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER].map((e) => ({
|
10001
|
+
...e,
|
10002
|
+
value: '',
|
10003
|
+
isEditable: true,
|
10004
|
+
maxSizeValue: 120,
|
10005
|
+
})),
|
10006
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10007
|
+
extendedData: {
|
10008
|
+
visible: true,
|
10009
|
+
},
|
10010
|
+
extendedDataResponsive: {
|
10011
|
+
visible: false,
|
10012
|
+
},
|
10013
|
+
},
|
10014
|
+
{
|
10015
|
+
key: 93,
|
10016
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
10017
|
+
group: 100,
|
10018
|
+
padding: new go.Margin(0, 0, 0, 0),
|
10019
|
+
loc: '450 20',
|
10020
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS],
|
10021
|
+
minSizeValue: new go.Size(100, NaN),
|
10022
|
+
selectable: false,
|
10023
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS].map((e) => ({
|
10024
|
+
...e,
|
10025
|
+
value: '',
|
10026
|
+
isEditable: true,
|
10027
|
+
maxSizeValue: 130,
|
10028
|
+
})),
|
10029
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
10030
|
+
extendedData: {
|
10031
|
+
visible: true,
|
10032
|
+
},
|
10033
|
+
extendedDataResponsive: {
|
10034
|
+
visible: false,
|
10035
|
+
},
|
10036
|
+
},
|
10037
|
+
{
|
10038
|
+
key: 94,
|
10039
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
10040
|
+
group: 100,
|
10041
|
+
padding: new go.Margin(0, 0, 0, 0),
|
10042
|
+
loc: '730 20',
|
10043
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY],
|
10044
|
+
minSizeValue: new go.Size(100, NaN),
|
10045
|
+
selectable: false,
|
10046
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => ({
|
10047
|
+
...e,
|
10048
|
+
value: '',
|
10049
|
+
isEditable: true,
|
10050
|
+
maxSizeValue: 130,
|
10051
|
+
})),
|
10052
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
10053
|
+
extendedData: {
|
10054
|
+
visible: true,
|
10055
|
+
},
|
10056
|
+
extendedDataResponsive: {
|
10057
|
+
visible: false,
|
10058
|
+
},
|
10059
|
+
},
|
10060
|
+
{
|
10061
|
+
key: 95,
|
10062
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
10063
|
+
group: 100,
|
10064
|
+
padding: new go.Margin(0, 0, 0, 0),
|
10065
|
+
loc: '10 20',
|
10066
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS],
|
10067
|
+
minSizeValue: new go.Size(100, NaN),
|
10068
|
+
selectable: false,
|
10069
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]
|
10070
|
+
.map((e) => ({
|
10071
|
+
...e,
|
10072
|
+
value: '',
|
10073
|
+
isEditable: true,
|
10074
|
+
maxSizeValue: 130,
|
10075
|
+
extendedDataIsFromPlugin: {
|
10076
|
+
maxSizeValue: 230,
|
10077
|
+
},
|
10078
|
+
}))
|
10079
|
+
.concat(ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => ({
|
10080
|
+
...e,
|
10081
|
+
value: `Mapping in "Cooling Water Chemistry" section`,
|
10082
|
+
isEditable: false,
|
10083
|
+
maxSizeValue: 250,
|
10084
|
+
isReadOnly: true,
|
10085
|
+
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
10086
|
+
// font: '10px sans-serif',
|
10087
|
+
visible: false,
|
10088
|
+
}))),
|
10089
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
10090
|
+
extendedData: {
|
10091
|
+
visible: true,
|
10092
|
+
},
|
10093
|
+
extendedDataResponsive: {
|
10094
|
+
visible: false,
|
10095
|
+
},
|
10096
|
+
},
|
10097
|
+
{
|
10098
|
+
key: 96,
|
10099
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.IMAGE_TEMPLATE,
|
10100
|
+
source: AtoGojsEditorModel.IMAGE_COOLING_TOWER_PATH,
|
10101
|
+
group: 100,
|
10102
|
+
loc: '0 0',
|
10103
|
+
selectable: false,
|
10104
|
+
extendedData: {
|
10105
|
+
margin: new go.Margin(195, 20, 0, 0),
|
10106
|
+
},
|
10107
|
+
extendedDataResponsive: {
|
10108
|
+
margin: new go.Margin(20, 20, 0, 0),
|
10109
|
+
},
|
10110
|
+
},
|
10111
|
+
{
|
10112
|
+
key: 97,
|
10113
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
10114
|
+
group: 100,
|
10115
|
+
loc: '250 25',
|
10116
|
+
name: 'Evaporation Loss',
|
10117
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
10118
|
+
extendedData: {
|
10119
|
+
visible: false,
|
10120
|
+
},
|
10121
|
+
extendedDataResponsive: {
|
10122
|
+
visible: true,
|
10123
|
+
},
|
10124
|
+
},
|
10125
|
+
{
|
10126
|
+
key: 98,
|
10127
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
10128
|
+
group: 100,
|
10129
|
+
loc: '110 290',
|
10130
|
+
name: 'Makeup Water',
|
10131
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
10132
|
+
extendedData: {
|
10133
|
+
visible: false,
|
10134
|
+
},
|
10135
|
+
extendedDataResponsive: {
|
10136
|
+
visible: true,
|
10137
|
+
},
|
9195
10138
|
},
|
9196
10139
|
{
|
9197
10140
|
key: 99,
|
9198
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.
|
10141
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9199
10142
|
group: 100,
|
9200
|
-
loc: '
|
10143
|
+
loc: '580 435',
|
10144
|
+
name: 'Blowdown Water',
|
10145
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
|
10146
|
+
extendedData: {
|
10147
|
+
visible: false,
|
10148
|
+
},
|
10149
|
+
extendedDataResponsive: {
|
10150
|
+
visible: true,
|
10151
|
+
},
|
9201
10152
|
},
|
9202
10153
|
{
|
9203
10154
|
key: 100,
|
9204
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.
|
10155
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PRESSURIZED_UF_WATER_TREATMENTS,
|
9205
10156
|
isGroup: true,
|
9206
10157
|
name: 'Group',
|
9207
10158
|
},
|
9208
10159
|
],
|
9209
|
-
linkDataArray: [
|
9210
|
-
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
9211
|
-
{ from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
9212
|
-
],
|
10160
|
+
linkDataArray: [],
|
9213
10161
|
},
|
9214
10162
|
};
|
9215
10163
|
|
9216
10164
|
class AtoAssetParamsViewComponent {
|
9217
|
-
|
9218
|
-
|
9219
|
-
|
10165
|
+
constructor() {
|
10166
|
+
this.isEditView = false;
|
10167
|
+
this.data = [];
|
10168
|
+
this.clickParamTableRow = new EventEmitter();
|
10169
|
+
}
|
9220
10170
|
onClickRowParam(itemTable) {
|
9221
10171
|
if (this.isEditView && itemTable?.isEditable) {
|
9222
10172
|
this.clickParamTableRow.emit(itemTable);
|
9223
10173
|
}
|
9224
10174
|
}
|
9225
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AtoAssetParamsViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
9226
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: AtoAssetParamsViewComponent, selector: "ato-asset-params-view", inputs: { isEditView: "isEditView", data: "data" }, outputs: { clickParamTableRow: "clickParamTableRow" }, ngImport: i0, template: "<div class=\"d-flex flex-column flex-gap-2\">\n <div class=\"\" *ngFor=\"let tableParam of data\">\n <ng-template\n [ngTemplateOutlet]=\"tableParamTemplate\"\n [ngTemplateOutletContext]=\"{\n data: tableParam\n }\"\n ></ng-template>\n </div>\n</div>\n\n<ng-template #tableParamTemplate let-data=\"data\">\n <div\n class=\"d-flex flex-column asset-param-item w-100\"\n [style.backgroundColor]=\"data?.color\"\n >\n <div\n class=\"d-flex align-items-center justify-content-between py-1 pl-1 pr-2 cursor-pointer\"\n (click)=\"data.isCollapsed = !data.isCollapsed\"\n >\n <div class=\"font-size-14px flex-grow-1 text-truncate color-white\">\n {{ data?.title }}\n </div>\n <svg\n *ngIf=\"data.isCollapsed\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 320 512\"\n fill=\"#FFFF\"\n class=\"fa-solid font-size-14px color-white svg-15px\"\n >\n <path\n d=\"M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z\"\n />\n </svg>\n <svg\n *ngIf=\"!data.isCollapsed\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 448 512\"\n fill=\"#FFFF\"\n class=\"fa-solid font-size-14px color-white svg-15px\"\n >\n <path\n d=\"M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z\"\n />\n </svg>\n </div>\n <div class=\"px-1 pb-1\" *ngIf=\"!data.isCollapsed\">\n <div\n class=\"table-asset-param-wrapper\"\n [style.backgroundColor]=\"data?.bgColor\"\n >\n <table>\n <tbody>\n <tr\n *ngFor=\"let itemTable of data?.dataTable\"\n (click)=\"onClickRowParam(itemTable)\"\n class=\"cursor-pointer\"\n >\n <td\n class=\"font-size-13px\"\n [style.borderColor]=\"data?.borderTable\"\n >\n {{ itemTable?.name }}\n </td>\n <td\n class=\"font-size-13px\"\n [style.borderColor]=\"data?.borderTable\"\n >\n <div class=\"d-flex align-items-center flex-gap-2\">\n <div\n class=\"mr-auto font-size-13px flex-grow-1\"\n [style.color]=\"itemTable?.color\"\n >\n {{ itemTable?.value }}\n </div>\n <svg *ngIf=\"isEditView && itemTable?.isEditable\" class=\"svg-15px\" fill=\"#333333\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152V424c0 48.6 39.4 88 88 88H360c48.6 0 88-39.4 88-88V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V424c0 22.1-17.9 40-40 40H88c-22.1 0-40-17.9-40-40V152c0-22.1 17.9-40 40-40H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H88z\"/></svg>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n</ng-template>\n", styles: [".asset-param-item{border-radius:5px}.asset-param-item .table-asset-param-wrapper{border-radius:5px;background-color:#f0f8ff}.asset-param-item .table-asset-param-wrapper table{border-collapse:collapse;width:100%}.asset-param-item .table-asset-param-wrapper table tbody tr td{border:1px solid red;height:30px;padding:4px}.asset-param-item .table-asset-param-wrapper table tbody tr td:first-child{width:30%}.asset-param-item .table-asset-param-wrapper table tbody tr td:last-child{width:70%}.color-white{color:#fff}.flex-gap-2{gap:.5rem}.svg-15px{width:15px;height:15px;flex:0 0 15px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
9227
10175
|
}
|
9228
|
-
i0.ɵɵ
|
10176
|
+
AtoAssetParamsViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoAssetParamsViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
10177
|
+
AtoAssetParamsViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AtoAssetParamsViewComponent, selector: "ato-asset-params-view", inputs: { isEditView: "isEditView", data: "data" }, outputs: { clickParamTableRow: "clickParamTableRow" }, ngImport: i0, template: "<div class=\"d-flex flex-column flex-gap-2\">\n <div class=\"\" *ngFor=\"let tableParam of data\">\n <ng-template\n [ngTemplateOutlet]=\"tableParamTemplate\"\n [ngTemplateOutletContext]=\"{\n data: tableParam\n }\"\n ></ng-template>\n </div>\n</div>\n\n<ng-template #tableParamTemplate let-data=\"data\">\n <div\n class=\"d-flex flex-column asset-param-item w-100\"\n [style.backgroundColor]=\"data?.color\"\n >\n <div\n class=\"d-flex align-items-center justify-content-between py-1 pl-1 pr-2 cursor-pointer\"\n (click)=\"data.isCollapsed = !data.isCollapsed\"\n >\n <div class=\"font-size-14px flex-grow-1 text-truncate color-white\">\n {{ data?.title }}\n </div>\n <svg\n *ngIf=\"data.isCollapsed\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 320 512\"\n fill=\"#FFFF\"\n class=\"fa-solid font-size-14px color-white svg-15px\"\n >\n <path\n d=\"M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z\"\n />\n </svg>\n <svg\n *ngIf=\"!data.isCollapsed\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 448 512\"\n fill=\"#FFFF\"\n class=\"fa-solid font-size-14px color-white svg-15px\"\n >\n <path\n d=\"M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z\"\n />\n </svg>\n </div>\n <div class=\"px-1 pb-1\" *ngIf=\"!data.isCollapsed\">\n <div\n class=\"table-asset-param-wrapper\"\n [style.backgroundColor]=\"data?.bgColor\"\n >\n <table>\n <tbody>\n <tr\n *ngFor=\"let itemTable of data?.dataTable\"\n (click)=\"onClickRowParam(itemTable)\"\n class=\"cursor-pointer\"\n >\n <td\n class=\"font-size-13px\"\n [style.borderColor]=\"data?.borderTable\"\n >\n {{ itemTable?.name }}\n </td>\n <td\n class=\"font-size-13px\"\n [style.borderColor]=\"data?.borderTable\"\n >\n <div class=\"d-flex align-items-center flex-gap-2\">\n <div\n class=\"mr-auto font-size-13px flex-grow-1\"\n [style.color]=\"itemTable?.color\"\n >\n {{ itemTable?.value }}\n </div>\n <svg *ngIf=\"isEditView && itemTable?.isEditable\" class=\"svg-15px\" fill=\"#333333\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152V424c0 48.6 39.4 88 88 88H360c48.6 0 88-39.4 88-88V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V424c0 22.1-17.9 40-40 40H88c-22.1 0-40-17.9-40-40V152c0-22.1 17.9-40 40-40H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H88z\"/></svg>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n</ng-template>\n", styles: [".asset-param-item{border-radius:5px}.asset-param-item .table-asset-param-wrapper{border-radius:5px;background-color:#f0f8ff}.asset-param-item .table-asset-param-wrapper table{border-collapse:collapse;width:100%}.asset-param-item .table-asset-param-wrapper table tbody tr td{border:1px solid red;height:30px;padding:4px}.asset-param-item .table-asset-param-wrapper table tbody tr td:first-child{width:30%}.asset-param-item .table-asset-param-wrapper table tbody tr td:last-child{width:70%}.color-white{color:#fff}.flex-gap-2{gap:.5rem}.svg-15px{width:15px;height:15px;flex:0 0 15px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
10178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoAssetParamsViewComponent, decorators: [{
|
9229
10179
|
type: Component,
|
9230
10180
|
args: [{ selector: 'ato-asset-params-view', template: "<div class=\"d-flex flex-column flex-gap-2\">\n <div class=\"\" *ngFor=\"let tableParam of data\">\n <ng-template\n [ngTemplateOutlet]=\"tableParamTemplate\"\n [ngTemplateOutletContext]=\"{\n data: tableParam\n }\"\n ></ng-template>\n </div>\n</div>\n\n<ng-template #tableParamTemplate let-data=\"data\">\n <div\n class=\"d-flex flex-column asset-param-item w-100\"\n [style.backgroundColor]=\"data?.color\"\n >\n <div\n class=\"d-flex align-items-center justify-content-between py-1 pl-1 pr-2 cursor-pointer\"\n (click)=\"data.isCollapsed = !data.isCollapsed\"\n >\n <div class=\"font-size-14px flex-grow-1 text-truncate color-white\">\n {{ data?.title }}\n </div>\n <svg\n *ngIf=\"data.isCollapsed\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 320 512\"\n fill=\"#FFFF\"\n class=\"fa-solid font-size-14px color-white svg-15px\"\n >\n <path\n d=\"M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z\"\n />\n </svg>\n <svg\n *ngIf=\"!data.isCollapsed\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 448 512\"\n fill=\"#FFFF\"\n class=\"fa-solid font-size-14px color-white svg-15px\"\n >\n <path\n d=\"M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z\"\n />\n </svg>\n </div>\n <div class=\"px-1 pb-1\" *ngIf=\"!data.isCollapsed\">\n <div\n class=\"table-asset-param-wrapper\"\n [style.backgroundColor]=\"data?.bgColor\"\n >\n <table>\n <tbody>\n <tr\n *ngFor=\"let itemTable of data?.dataTable\"\n (click)=\"onClickRowParam(itemTable)\"\n class=\"cursor-pointer\"\n >\n <td\n class=\"font-size-13px\"\n [style.borderColor]=\"data?.borderTable\"\n >\n {{ itemTable?.name }}\n </td>\n <td\n class=\"font-size-13px\"\n [style.borderColor]=\"data?.borderTable\"\n >\n <div class=\"d-flex align-items-center flex-gap-2\">\n <div\n class=\"mr-auto font-size-13px flex-grow-1\"\n [style.color]=\"itemTable?.color\"\n >\n {{ itemTable?.value }}\n </div>\n <svg *ngIf=\"isEditView && itemTable?.isEditable\" class=\"svg-15px\" fill=\"#333333\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152V424c0 48.6 39.4 88 88 88H360c48.6 0 88-39.4 88-88V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V424c0 22.1-17.9 40-40 40H88c-22.1 0-40-17.9-40-40V152c0-22.1 17.9-40 40-40H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H88z\"/></svg>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n</ng-template>\n", styles: [".asset-param-item{border-radius:5px}.asset-param-item .table-asset-param-wrapper{border-radius:5px;background-color:#f0f8ff}.asset-param-item .table-asset-param-wrapper table{border-collapse:collapse;width:100%}.asset-param-item .table-asset-param-wrapper table tbody tr td{border:1px solid red;height:30px;padding:4px}.asset-param-item .table-asset-param-wrapper table tbody tr td:first-child{width:30%}.asset-param-item .table-asset-param-wrapper table tbody tr td:last-child{width:70%}.color-white{color:#fff}.flex-gap-2{gap:.5rem}.svg-15px{width:15px;height:15px;flex:0 0 15px}\n"] }]
|
9231
10181
|
}], propDecorators: { isEditView: [{
|
@@ -9237,22 +10187,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
9237
10187
|
}] } });
|
9238
10188
|
|
9239
10189
|
class AssetFlowComponent {
|
9240
|
-
|
9241
|
-
|
9242
|
-
|
9243
|
-
|
9244
|
-
|
9245
|
-
|
9246
|
-
|
9247
|
-
|
9248
|
-
|
9249
|
-
|
9250
|
-
|
9251
|
-
// direction: 0,
|
9252
|
-
}),
|
9253
|
-
// isReadOnly: true,
|
9254
|
-
};
|
9255
|
-
_flowData;
|
10190
|
+
constructor() {
|
10191
|
+
this.onClickParamOfTableEvent = new EventEmitter();
|
10192
|
+
this.isUseBase64 = false;
|
10193
|
+
this.$ = go.GraphObject.make;
|
10194
|
+
this.options = {
|
10195
|
+
layout: this.$(go.LayeredDigraphLayout, {
|
10196
|
+
// direction: 0,
|
10197
|
+
}),
|
10198
|
+
// isReadOnly: true,
|
10199
|
+
};
|
10200
|
+
}
|
9256
10201
|
set flowData(v) {
|
9257
10202
|
this._flowData = v;
|
9258
10203
|
this.updateDataTableAssetParams({ ...v, assetLayer: this.assetLayer });
|
@@ -9260,14 +10205,10 @@ class AssetFlowComponent {
|
|
9260
10205
|
get flowData() {
|
9261
10206
|
return this._flowData;
|
9262
10207
|
}
|
9263
|
-
// Reponsive
|
9264
|
-
dataTableAssetParams;
|
9265
10208
|
// @Input() isResponsiveView = false;
|
9266
10209
|
get isResponsiveView() {
|
9267
10210
|
return window.innerWidth < 1024;
|
9268
10211
|
}
|
9269
|
-
getFlowDataCallBack;
|
9270
|
-
timeoutResizeWindow;
|
9271
10212
|
onResize(event) {
|
9272
10213
|
// Now only Support Cooling Tower Responsive
|
9273
10214
|
if (this.timeoutResizeWindow) {
|
@@ -9364,10 +10305,10 @@ class AssetFlowComponent {
|
|
9364
10305
|
}
|
9365
10306
|
});
|
9366
10307
|
}
|
9367
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AssetFlowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
9368
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: AssetFlowComponent, selector: "ato-asset-flow", inputs: { assetLayer: "assetLayer", selectedComponent: "selectedComponent", systemType: "systemType", isUseBase64: "isUseBase64", isFrom: "isFrom", flowData: "flowData", getFlowDataCallBack: "getFlowDataCallBack" }, outputs: { onClickParamOfTableEvent: "onClickParamOfTableEvent" }, host: { listeners: { "window:resize": "onResize($event)" } }, viewQueries: [{ propertyName: "gjFlowDiagramTemp", first: true, predicate: AtoFlowDiagramLibComponent, descendants: true }, { propertyName: "assetParamsViewTemp", first: true, predicate: AtoAssetParamsViewComponent, descendants: true }], ngImport: i0, template: "<div class=\"h-100 d-flex flex-column flex-gap-3 flex-grow-1 overflow-auto px-3 pb-3\">\n <div class=\"h-100 d-flex flex-column\" atoLoading [appLoading]=\"flowData === null\">\n <ato-flow-diagram-lib\n *ngIf=\"flowData !== null\"\n #gjFlowDiagramTemp\n [data]=\"flowData\"\n [initialOptions]=\"options\"\n (onClikParamOfTable)=\"onClickParamOfTable($event)\"\n [class]=\"!!isResponsiveView ? 'diagram-responsive-view' : 'flex-grow-1'\"\n ></ato-flow-diagram-lib>\n <div class=\"mt-2\" *ngIf=\"isResponsiveView\">\n <ato-asset-params-view\n #assetParamsViewTemp\n [data]=\"dataTableAssetParams\"\n [isEditView]=\"true\"\n (clickParamTableRow)=\"onClickParamOfTable($event)\"\n ></ato-asset-params-view>\n </div>\n </div>\n</div>\n\n", styles: [".diagram-responsive-view{height:30vh;min-height:30vh}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AtoFlowDiagramLibComponent, selector: "ato-flow-diagram-lib", inputs: ["data", "isLoading"] }, { kind: "directive", type: AtoLoadingDirective, selector: "[atoLoading]", inputs: ["appLoading"] }, { kind: "component", type: AtoAssetParamsViewComponent, selector: "ato-asset-params-view", inputs: ["isEditView", "data"], outputs: ["clickParamTableRow"] }] });
|
9369
10308
|
}
|
9370
|
-
i0.ɵɵ
|
10309
|
+
AssetFlowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetFlowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
10310
|
+
AssetFlowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AssetFlowComponent, selector: "ato-asset-flow", inputs: { assetLayer: "assetLayer", selectedComponent: "selectedComponent", systemType: "systemType", isUseBase64: "isUseBase64", isFrom: "isFrom", flowData: "flowData", getFlowDataCallBack: "getFlowDataCallBack" }, outputs: { onClickParamOfTableEvent: "onClickParamOfTableEvent" }, host: { listeners: { "window:resize": "onResize($event)" } }, viewQueries: [{ propertyName: "gjFlowDiagramTemp", first: true, predicate: AtoFlowDiagramLibComponent, descendants: true }, { propertyName: "assetParamsViewTemp", first: true, predicate: AtoAssetParamsViewComponent, descendants: true }], ngImport: i0, template: "<div class=\"h-100 d-flex flex-column flex-gap-3 flex-grow-1 overflow-auto px-3 pb-3\">\n <div class=\"h-100 d-flex flex-column\" atoLoading [appLoading]=\"flowData === null\">\n <ato-flow-diagram-lib\n *ngIf=\"flowData !== null\"\n #gjFlowDiagramTemp\n [data]=\"flowData\"\n [initialOptions]=\"options\"\n (onClikParamOfTable)=\"onClickParamOfTable($event)\"\n [class]=\"!!isResponsiveView ? 'diagram-responsive-view' : 'flex-grow-1'\"\n ></ato-flow-diagram-lib>\n <div class=\"mt-2\" *ngIf=\"isResponsiveView\">\n <ato-asset-params-view\n #assetParamsViewTemp\n [data]=\"dataTableAssetParams\"\n [isEditView]=\"true\"\n (clickParamTableRow)=\"onClickParamOfTable($event)\"\n ></ato-asset-params-view>\n </div>\n </div>\n</div>\n\n", styles: [".diagram-responsive-view{height:30vh;min-height:30vh}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AtoFlowDiagramLibComponent, selector: "ato-flow-diagram-lib", inputs: ["data", "isLoading"] }, { kind: "directive", type: AtoLoadingDirective, selector: "[atoLoading]", inputs: ["appLoading"] }, { kind: "component", type: AtoAssetParamsViewComponent, selector: "ato-asset-params-view", inputs: ["isEditView", "data"], outputs: ["clickParamTableRow"] }] });
|
10311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetFlowComponent, decorators: [{
|
9371
10312
|
type: Component,
|
9372
10313
|
args: [{ selector: 'ato-asset-flow', template: "<div class=\"h-100 d-flex flex-column flex-gap-3 flex-grow-1 overflow-auto px-3 pb-3\">\n <div class=\"h-100 d-flex flex-column\" atoLoading [appLoading]=\"flowData === null\">\n <ato-flow-diagram-lib\n *ngIf=\"flowData !== null\"\n #gjFlowDiagramTemp\n [data]=\"flowData\"\n [initialOptions]=\"options\"\n (onClikParamOfTable)=\"onClickParamOfTable($event)\"\n [class]=\"!!isResponsiveView ? 'diagram-responsive-view' : 'flex-grow-1'\"\n ></ato-flow-diagram-lib>\n <div class=\"mt-2\" *ngIf=\"isResponsiveView\">\n <ato-asset-params-view\n #assetParamsViewTemp\n [data]=\"dataTableAssetParams\"\n [isEditView]=\"true\"\n (clickParamTableRow)=\"onClickParamOfTable($event)\"\n ></ato-asset-params-view>\n </div>\n </div>\n</div>\n\n", styles: [".diagram-responsive-view{height:30vh;min-height:30vh}\n"] }]
|
9373
10314
|
}], propDecorators: { assetLayer: [{
|
@@ -9398,8 +10339,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
9398
10339
|
}] } });
|
9399
10340
|
|
9400
10341
|
class AtoNgVarDirective {
|
9401
|
-
templateRef;
|
9402
|
-
vcRef;
|
9403
10342
|
set ngAtoVar(context) {
|
9404
10343
|
this.context.$implicit = this.context.ngAtoVar = context;
|
9405
10344
|
if (!this.hasView) {
|
@@ -9407,43 +10346,43 @@ class AtoNgVarDirective {
|
|
9407
10346
|
this.hasView = true;
|
9408
10347
|
}
|
9409
10348
|
}
|
9410
|
-
context = {
|
9411
|
-
$implicit: null,
|
9412
|
-
ngAtoVar: null,
|
9413
|
-
};
|
9414
|
-
hasView = false;
|
9415
10349
|
constructor(templateRef, vcRef) {
|
9416
10350
|
this.templateRef = templateRef;
|
9417
10351
|
this.vcRef = vcRef;
|
10352
|
+
this.context = {
|
10353
|
+
$implicit: null,
|
10354
|
+
ngAtoVar: null,
|
10355
|
+
};
|
10356
|
+
this.hasView = false;
|
9418
10357
|
}
|
9419
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AtoNgVarDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
9420
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: AtoNgVarDirective, selector: "[ngAtoVar]", inputs: { ngAtoVar: "ngAtoVar" }, ngImport: i0 });
|
9421
10358
|
}
|
9422
|
-
i0.ɵɵ
|
10359
|
+
AtoNgVarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoNgVarDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
10360
|
+
AtoNgVarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AtoNgVarDirective, selector: "[ngAtoVar]", inputs: { ngAtoVar: "ngAtoVar" }, ngImport: i0 });
|
10361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoNgVarDirective, decorators: [{
|
9423
10362
|
type: Directive,
|
9424
10363
|
args: [{
|
9425
10364
|
selector: '[ngAtoVar]',
|
9426
10365
|
}]
|
9427
|
-
}], ctorParameters: ()
|
10366
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }]; }, propDecorators: { ngAtoVar: [{
|
9428
10367
|
type: Input
|
9429
10368
|
}] } });
|
9430
10369
|
|
9431
10370
|
class AtoWaterLibModule {
|
9432
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AtoWaterLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
9433
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: AtoWaterLibModule, declarations: [AtoWaterLibComponent,
|
9434
|
-
AtoFlowDiagramLibComponent,
|
9435
|
-
AssetFlowComponent,
|
9436
|
-
AtoLoadingDirective,
|
9437
|
-
AtoAssetParamsViewComponent,
|
9438
|
-
AtoNgVarDirective], imports: [CommonModule], exports: [AtoWaterLibComponent,
|
9439
|
-
AtoFlowDiagramLibComponent,
|
9440
|
-
AssetFlowComponent,
|
9441
|
-
AtoLoadingDirective,
|
9442
|
-
AtoAssetParamsViewComponent,
|
9443
|
-
AtoNgVarDirective] });
|
9444
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AtoWaterLibModule, imports: [CommonModule] });
|
9445
10371
|
}
|
9446
|
-
i0.ɵɵ
|
10372
|
+
AtoWaterLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
10373
|
+
AtoWaterLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule, declarations: [AtoWaterLibComponent,
|
10374
|
+
AtoFlowDiagramLibComponent,
|
10375
|
+
AssetFlowComponent,
|
10376
|
+
AtoLoadingDirective,
|
10377
|
+
AtoAssetParamsViewComponent,
|
10378
|
+
AtoNgVarDirective], imports: [CommonModule], exports: [AtoWaterLibComponent,
|
10379
|
+
AtoFlowDiagramLibComponent,
|
10380
|
+
AssetFlowComponent,
|
10381
|
+
AtoLoadingDirective,
|
10382
|
+
AtoAssetParamsViewComponent,
|
10383
|
+
AtoNgVarDirective] });
|
10384
|
+
AtoWaterLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule, imports: [CommonModule] });
|
10385
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule, decorators: [{
|
9447
10386
|
type: NgModule,
|
9448
10387
|
args: [{
|
9449
10388
|
declarations: [
|
@@ -9476,5 +10415,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
9476
10415
|
* Generated bundle index. Do not edit.
|
9477
10416
|
*/
|
9478
10417
|
|
9479
|
-
export { ASSET_CATEGORY_PARAMS, ASSET_CATEGORY_PARAMS__BOILER, ATO_ASSET_LAYERS, ATO_COMPONENTS_GROUP_DATA, ATO_MAPPER_FROM, AssetFlowComponent, AtoAssetParamsViewComponent, AtoFlowDiagramLibComponent, AtoGojsEditorModel, AtoLoadingDirective, AtoNgVarDirective, AtoWaterLibComponent, AtoWaterLibModule, AtoWaterLibService, COMPONENTS_GROUP_TYPE, DATA_ASSET_PARAMETER_FIELDS, DATA_WATER_SYSTEMS, ENUM_ASSET_PARAMETERS, WATER_SYSTEMS_NAME };
|
10418
|
+
export { ASSET_CATEGORY_PARAMS, ASSET_CATEGORY_PARAMS__BOILER, ASSET_CATEGORY_PARAMS__IMMERSED_UF, ATO_ASSET_LAYERS, ATO_COMPONENTS_GROUP_DATA, ATO_MAPPER_FROM, AssetFlowComponent, AtoAssetParamsViewComponent, AtoFlowDiagramLibComponent, AtoGojsEditorModel, AtoLoadingDirective, AtoNgVarDirective, AtoWaterLibComponent, AtoWaterLibModule, AtoWaterLibService, COMPONENTS_GROUP_TYPE, DATA_ASSET_PARAMETER_FIELDS, DATA_WATER_SYSTEMS, ENUM_ASSET_PARAMETERS, WATER_SYSTEMS_NAME };
|
9480
10419
|
//# sourceMappingURL=ato-water-lib.mjs.map
|