ato-water-lib 0.0.90 → 0.0.92
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 +3687 -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 +3589 -0
- package/esm2020/lib/models/gojs-data.model.mjs +6 -0
- package/esm2020/lib/models/gojs-editor.model.mjs +1822 -0
- package/esm2020/lib/services/utils/utils.service.mjs +133 -0
- package/fesm2015/ato-water-lib.mjs +9810 -0
- package/fesm2015/ato-water-lib.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/ato-water-lib.mjs +1980 -568
- 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 +710 -115
- 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 +12 -5
- 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
|
}
|
@@ -887,6 +885,9 @@ class AtoGojsEditorModel {
|
|
887
885
|
ENUM_COLORS["SNOW"] = "#FEF7F6";
|
888
886
|
ENUM_COLORS["LIGHT_SKY_BLUE_2"] = "#92B9F9";
|
889
887
|
ENUM_COLORS["REGENT_ST_BLUE"] = "#87cee7";
|
888
|
+
ENUM_COLORS["SELAGO"] = "#F6F3F6";
|
889
|
+
ENUM_COLORS["ICE_COLD"] = "#ABE0D9";
|
890
|
+
ENUM_COLORS["MINT_CREAM"] = "#F8FCFB";
|
890
891
|
// 98CDE0
|
891
892
|
})(ENUM_COLORS = AtoGojsEditorModel.ENUM_COLORS || (AtoGojsEditorModel.ENUM_COLORS = {}));
|
892
893
|
let ENUM_LINK_TYPES;
|
@@ -1037,6 +1038,8 @@ class AtoGojsEditorModel {
|
|
1037
1038
|
// Plant Basic
|
1038
1039
|
ENUM_TEMPLATES["GROUP_BASIC_COMPONENT"] = "Group Basic Component";
|
1039
1040
|
ENUM_TEMPLATES["TEXT_LABEL"] = "label";
|
1041
|
+
ENUM_TEMPLATES["PRESSURIZED_UF_WATER_TREATMENTS"] = "Pressurized UF";
|
1042
|
+
ENUM_TEMPLATES["IMMERSED_UF_WATER_TREATMENTS"] = "Immersed UF";
|
1040
1043
|
// Type Group duplicate Energy with Water
|
1041
1044
|
ENUM_TEMPLATES["BOILER_ENERGY"] = "Boiler Energy";
|
1042
1045
|
ENUM_TEMPLATES["COOLING_TOWER_ENERGY"] = "Cooling Tower Energy";
|
@@ -1177,6 +1180,8 @@ class AtoGojsEditorModel {
|
|
1177
1180
|
ENUM_TYPES["STEAM_COMPONENT"] = "SteamComponents";
|
1178
1181
|
ENUM_TYPES["STEAM_CONSUMING_SYSTEM"] = "SteamConsumings";
|
1179
1182
|
ENUM_TYPES["ENERGY_CONVERTER"] = "EnergyConverters";
|
1183
|
+
ENUM_TYPES["PRESSURIZED_UF_WATER_TREATMENTS"] = "PressurizedUFWaterTreatments";
|
1184
|
+
ENUM_TYPES["IMMERSED_UF_WATER_TREATMENTS"] = "ImmersedUFWaterTreatments";
|
1180
1185
|
// System Type Group duplicate Energy with Water
|
1181
1186
|
ENUM_TYPES["BOILER_ENERGY"] = "Boiler Energy";
|
1182
1187
|
ENUM_TYPES["COOLING_TOWER_ENERGY"] = "CoolingTowers Energy";
|
@@ -1451,6 +1456,8 @@ class AtoGojsEditorModel {
|
|
1451
1456
|
ENUM_TYPES.ETP_WASTEWATER_TREATMENT,
|
1452
1457
|
ENUM_TYPES.MBR_WASTEWATER_TREATMENT,
|
1453
1458
|
ENUM_TYPES.ZLD_WASTEWATER_TREATMENT,
|
1459
|
+
ENUM_TYPES.IMMERSED_UF_WATER_TREATMENTS,
|
1460
|
+
ENUM_TYPES.PRESSURIZED_UF_WATER_TREATMENTS,
|
1454
1461
|
ENUM_TYPES.DOMESTIC_USE,
|
1455
1462
|
ENUM_TYPES.COOLING_TOWER,
|
1456
1463
|
ENUM_TYPES.BOILER,
|
@@ -1658,6 +1665,16 @@ class AtoGojsEditorModel {
|
|
1658
1665
|
icon: `${AtoGojsEditorModel.ICON_ASSET_PATH}/water_treatment.svg`,
|
1659
1666
|
systemType: ENUM_TYPES.WATER_TREATMENT,
|
1660
1667
|
},
|
1668
|
+
[ENUM_TEMPLATES.IMMERSED_UF_WATER_TREATMENTS]: {
|
1669
|
+
name: ENUM_TEMPLATES.IMMERSED_UF_WATER_TREATMENTS,
|
1670
|
+
icon: `${AtoGojsEditorModel.ICON_ASSET_PATH}/water_treatment.svg`,
|
1671
|
+
systemType: ENUM_TYPES.IMMERSED_UF_WATER_TREATMENTS,
|
1672
|
+
},
|
1673
|
+
[ENUM_TEMPLATES.PRESSURIZED_UF_WATER_TREATMENTS]: {
|
1674
|
+
name: ENUM_TEMPLATES.PRESSURIZED_UF_WATER_TREATMENTS,
|
1675
|
+
icon: `${AtoGojsEditorModel.ICON_ASSET_PATH}/water_treatment.svg`,
|
1676
|
+
systemType: ENUM_TYPES.PRESSURIZED_UF_WATER_TREATMENTS,
|
1677
|
+
},
|
1661
1678
|
[ENUM_TEMPLATES.DEMIN_WATER_TREATMENT]: {
|
1662
1679
|
name: ENUM_TEMPLATES.DEMIN_WATER_TREATMENT,
|
1663
1680
|
icon: `${AtoGojsEditorModel.ICON_ASSET_PATH}/Demin.svg`,
|
@@ -2465,6 +2482,8 @@ class AtoGojsEditorModel {
|
|
2465
2482
|
ENUM_TYPES.WATER_TREATMENT,
|
2466
2483
|
ENUM_TYPES.DEMIN_WATER_TREATMENT,
|
2467
2484
|
ENUM_TYPES.RO_WATER_TREATMENT,
|
2485
|
+
ENUM_TYPES.IMMERSED_UF_WATER_TREATMENTS,
|
2486
|
+
ENUM_TYPES.PRESSURIZED_UF_WATER_TREATMENTS,
|
2468
2487
|
ENUM_TYPES.PROCESS,
|
2469
2488
|
ENUM_TYPES.WASTEWATER_TREATMENT,
|
2470
2489
|
ENUM_TYPES.DAF_WASTEWATER_TREATMENT,
|
@@ -2483,6 +2502,8 @@ class AtoGojsEditorModel {
|
|
2483
2502
|
AtoGojsEditorModel.TYPE_TEMPLATE_WATER_NORMAL = [
|
2484
2503
|
AtoGojsEditorModel.ENUM_TEMPLATES.PROCESS,
|
2485
2504
|
AtoGojsEditorModel.ENUM_TEMPLATES.BOILER,
|
2505
|
+
AtoGojsEditorModel.ENUM_TEMPLATES.IMMERSED_UF_WATER_TREATMENTS,
|
2506
|
+
AtoGojsEditorModel.ENUM_TEMPLATES.PRESSURIZED_UF_WATER_TREATMENTS,
|
2486
2507
|
AtoGojsEditorModel.ENUM_TEMPLATES.COOLING_TOWER,
|
2487
2508
|
AtoGojsEditorModel.ENUM_TEMPLATES.ETP_WASTEWATER_TREATMENT,
|
2488
2509
|
AtoGojsEditorModel.ENUM_TEMPLATES.ZLD_WASTEWATER_TREATMENT,
|
@@ -2614,6 +2635,8 @@ class AtoGojsEditorModel {
|
|
2614
2635
|
[AtoGojsEditorModel.ENUM_TEMPLATES.STEAM_PIPELINE]: AtoGojsEditorModel.ENUM_TEMPLATES.PIPELINE,
|
2615
2636
|
[AtoGojsEditorModel.ENUM_TEMPLATES.BOILER_ENERGY]: AtoGojsEditorModel.ENUM_TEMPLATES.BOILER,
|
2616
2637
|
[AtoGojsEditorModel.ENUM_TEMPLATES.COOLING_TOWER_ENERGY]: AtoGojsEditorModel.ENUM_TEMPLATES.COOLING_TOWER,
|
2638
|
+
[AtoGojsEditorModel.ENUM_TEMPLATES.IMMERSED_UF_WATER_TREATMENTS]: AtoGojsEditorModel.ENUM_TEMPLATES.COOLING_TOWER,
|
2639
|
+
[AtoGojsEditorModel.ENUM_TEMPLATES.PRESSURIZED_UF_WATER_TREATMENTS]: AtoGojsEditorModel.ENUM_TEMPLATES.COOLING_TOWER,
|
2617
2640
|
};
|
2618
2641
|
})(AtoGojsEditorModel || (AtoGojsEditorModel = {}));
|
2619
2642
|
|
@@ -3179,10 +3202,10 @@ class UtilsService {
|
|
3179
3202
|
}
|
3180
3203
|
return text.replace(new RegExp(escapeRegExp(find), 'g'), replace);
|
3181
3204
|
}
|
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
3205
|
}
|
3185
|
-
i0.ɵɵ
|
3206
|
+
UtilsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UtilsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
3207
|
+
UtilsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UtilsService, providedIn: 'root' });
|
3208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UtilsService, decorators: [{
|
3186
3209
|
type: Injectable,
|
3187
3210
|
args: [{
|
3188
3211
|
providedIn: 'root',
|
@@ -3250,70 +3273,6 @@ const ARROW_GRAY = '/assets/images/icons/arrow-gray.svg';
|
|
3250
3273
|
const RO_LINE_DIRTY = '/assets/images/icons/ro_line_dirty.svg';
|
3251
3274
|
const OUTFLOW_LINE_DIRTY = '/assets/images/icons/outflow_line_dirty.png';
|
3252
3275
|
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
3276
|
checkLinkCondition(fromNode, fromPort, toNode, toPort, link) {
|
3318
3277
|
if (this.linkValidation) {
|
3319
3278
|
return this.linkValidation(fromNode, fromPort, toNode, toPort, link);
|
@@ -3327,7 +3286,6 @@ class AtoDefaultGojsEditor {
|
|
3327
3286
|
get initialOptions() {
|
3328
3287
|
return this._initialOptions;
|
3329
3288
|
}
|
3330
|
-
_editor;
|
3331
3289
|
set editor(v) {
|
3332
3290
|
this._editor = v;
|
3333
3291
|
if (v) {
|
@@ -3339,36 +3297,92 @@ class AtoDefaultGojsEditor {
|
|
3339
3297
|
get editor() {
|
3340
3298
|
return this._editor;
|
3341
3299
|
}
|
3342
|
-
isShowNodeInfo = false;
|
3343
|
-
plantSatus;
|
3344
3300
|
constructor(_elRef) {
|
3345
3301
|
this._elRef = _elRef;
|
3302
|
+
this.actions = [];
|
3303
|
+
this.actionMenuId = 'actionMenuId';
|
3304
|
+
this.myDiagramDiv = this.constructor.name + '-' + moment().valueOf();
|
3305
|
+
this.$ = go.GraphObject.make;
|
3306
|
+
this._initialOptions = {
|
3307
|
+
'toolManager.hoverDelay': 200,
|
3308
|
+
// 'draggingTool.isEnabled': false,
|
3309
|
+
// initialAutoScale: go.Diagram.UniformToFill,
|
3310
|
+
// autoScrollRegion: AtoGojsEditorModel.GRID_SIZE * 5,
|
3311
|
+
layout: this.$(go.LayeredDigraphLayout, { direction: 0 }),
|
3312
|
+
initialContentAlignment: go.Spot.Center,
|
3313
|
+
initialAutoScale: go.Diagram.Uniform,
|
3314
|
+
// contentAlignment: go.Spot.Center,
|
3315
|
+
// this.$(go.ForceDirectedLayout),
|
3316
|
+
'undoManager.isEnabled': true,
|
3317
|
+
// "animationManager.isInitial": false,
|
3318
|
+
// "animationManager.isEnabled": false,
|
3319
|
+
// "draggingTool.isGridSnapEnabled": true
|
3320
|
+
dragSelectingTool: this.$(go.DragSelectingTool, { isPartialInclusion: true, delay: 50 }, {
|
3321
|
+
box: this.$(go.Part, // replace the magenta box with a red one
|
3322
|
+
{ layerName: 'Tool', selectable: false }, this.$(go.Shape, {
|
3323
|
+
name: 'SHAPE',
|
3324
|
+
fill: 'rgba(255,0,0,0)',
|
3325
|
+
stroke: '#E95F47',
|
3326
|
+
strokeWidth: 2,
|
3327
|
+
})),
|
3328
|
+
}),
|
3329
|
+
'linkingTool.linkValidation': this.checkLinkCondition.bind(this),
|
3330
|
+
'draggingTool.doMouseMove': function () {
|
3331
|
+
// do the standard behavior by calling the super method
|
3332
|
+
go.DraggingTool.prototype.doMouseMove.call(this);
|
3333
|
+
// if dragging-out from the diagram is not allowed, and
|
3334
|
+
// if mouse is outside of viewport
|
3335
|
+
if (!this.diagram.allowDragOut &&
|
3336
|
+
!this.diagram.viewportBounds.containsPoint(this.diagram.lastInput.documentPoint)) {
|
3337
|
+
this.diagram.ensureBounds();
|
3338
|
+
const vp = this.diagram.lastInput.viewPoint;
|
3339
|
+
const dp = this.diagram.position.copy();
|
3340
|
+
if (vp.x < 0)
|
3341
|
+
dp.x -= 10;
|
3342
|
+
else if (vp.x > 0)
|
3343
|
+
dp.x += 10;
|
3344
|
+
if (vp.y < 0)
|
3345
|
+
dp.y -= 10;
|
3346
|
+
else if (vp.y > 0)
|
3347
|
+
dp.y += 10;
|
3348
|
+
this.diagram.position = dp; // scroll in the direction of the mouse
|
3349
|
+
}
|
3350
|
+
},
|
3351
|
+
// LayoutCompleted: () => {
|
3352
|
+
// this.myDiagram.zoomToFit();
|
3353
|
+
// this.defaultScaleZoomToFit = this.myDiagram.scale;
|
3354
|
+
// if (!this.initialOptions.isReadOnly) {
|
3355
|
+
// const sizeMargin = AtoGojsEditorModel.GRID_SIZE * 15;
|
3356
|
+
// this.myDiagram.padding = new go.Margin(sizeMargin);
|
3357
|
+
// }
|
3358
|
+
// },
|
3359
|
+
};
|
3360
|
+
this.isShowNodeInfo = false;
|
3361
|
+
this.onModelChangeListenerEvent = new EventEmitter();
|
3362
|
+
this.onClickInfoButton = new EventEmitter();
|
3363
|
+
this.onOpenWizard = new EventEmitter();
|
3364
|
+
this.onOpenDetail = new EventEmitter();
|
3365
|
+
this.onOpenAssetParameter = new EventEmitter();
|
3366
|
+
this.onOpenInsightMapping = new EventEmitter();
|
3367
|
+
this.onHoverInfoButton = new EventEmitter();
|
3368
|
+
this.onHoverAlert = new EventEmitter();
|
3369
|
+
this.onDoubleClickNode = new EventEmitter();
|
3370
|
+
this.onOpenChangeIcon = new EventEmitter();
|
3371
|
+
// Click component
|
3372
|
+
this.onClickCompoent = new EventEmitter();
|
3373
|
+
this.callbackImageTopology = new EventEmitter();
|
3374
|
+
// Click param on ParamTable
|
3375
|
+
this.onClikParamOfTable = new EventEmitter();
|
3376
|
+
// Delete Node
|
3377
|
+
this.onDeleteNode = new EventEmitter();
|
3378
|
+
this.onUndo = new EventEmitter();
|
3379
|
+
// Rename
|
3380
|
+
this.onRename = new EventEmitter();
|
3381
|
+
this.committedTransactionSubject = new Subject();
|
3382
|
+
// AddSub and UnSub
|
3383
|
+
this._subscriptionList = new Subscription();
|
3346
3384
|
go.Diagram.licenseKey = GO_LICENSE_KEY;
|
3347
3385
|
}
|
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
3386
|
ngOnDestroy() {
|
3373
3387
|
this.unsubscribeAll();
|
3374
3388
|
this.stopAnimation();
|
@@ -3432,6 +3446,16 @@ class AtoDefaultGojsEditor {
|
|
3432
3446
|
this.makeGroupCoolingTowerTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name);
|
3433
3447
|
return;
|
3434
3448
|
}
|
3449
|
+
if (node?.type ===
|
3450
|
+
AtoGojsEditorModel.ENUM_TEMPLATES.IMMERSED_UF_WATER_TREATMENTS) {
|
3451
|
+
this.makeGroupCoolingTowerTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name);
|
3452
|
+
return;
|
3453
|
+
}
|
3454
|
+
if (node?.type ===
|
3455
|
+
AtoGojsEditorModel.ENUM_TEMPLATES.PRESSURIZED_UF_WATER_TREATMENTS) {
|
3456
|
+
this.makeGroupCoolingTowerTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name);
|
3457
|
+
return;
|
3458
|
+
}
|
3435
3459
|
if (node?.type === AtoGojsEditorModel.ENUM_TEMPLATES.ZONE) {
|
3436
3460
|
this.makeGroupZoneTemplate();
|
3437
3461
|
return;
|
@@ -3456,7 +3480,7 @@ class AtoDefaultGojsEditor {
|
|
3456
3480
|
this.makeGroupTemplate(AtoGojsEditorModel.NODE_TEMPLATES[node?.type].icon, AtoGojsEditorModel.NODE_TEMPLATES[node?.type].name);
|
3457
3481
|
}
|
3458
3482
|
addNodeTemplate(node) {
|
3459
|
-
if (this.myDiagram.nodeTemplateMap?.Hb
|
3483
|
+
if (this.myDiagram.nodeTemplateMap?.Hb[node?.type] || node?.isGroup) {
|
3460
3484
|
return;
|
3461
3485
|
}
|
3462
3486
|
// Not Group
|
@@ -3614,7 +3638,7 @@ class AtoDefaultGojsEditor {
|
|
3614
3638
|
// for water
|
3615
3639
|
const { STORAGE, WATER_TREATMENT, DEMIN_WATER_TREATMENT,
|
3616
3640
|
// RO_WATER_TREATMENT,
|
3617
|
-
PROCESS, WASTEWATER_TREATMENT, DAF_WASTEWATER_TREATMENT, ETP_WASTEWATER_TREATMENT, MBR_WASTEWATER_TREATMENT, ZLD_WASTEWATER_TREATMENT, COOLING_TOWER, BOILER, OTHER, LANDSCAPING_IRRIGATION, } = AtoGojsEditorModel.ENUM_TEMPLATES;
|
3641
|
+
PROCESS, WASTEWATER_TREATMENT, DAF_WASTEWATER_TREATMENT, ETP_WASTEWATER_TREATMENT, MBR_WASTEWATER_TREATMENT, ZLD_WASTEWATER_TREATMENT, COOLING_TOWER, BOILER, OTHER, LANDSCAPING_IRRIGATION, PRESSURIZED_UF_WATER_TREATMENTS, IMMERSED_UF_WATER_TREATMENTS, } = AtoGojsEditorModel.ENUM_TEMPLATES;
|
3618
3642
|
const waterGroups = [
|
3619
3643
|
STORAGE,
|
3620
3644
|
WATER_TREATMENT,
|
@@ -3630,6 +3654,8 @@ class AtoDefaultGojsEditor {
|
|
3630
3654
|
BOILER,
|
3631
3655
|
OTHER,
|
3632
3656
|
LANDSCAPING_IRRIGATION,
|
3657
|
+
PRESSURIZED_UF_WATER_TREATMENTS,
|
3658
|
+
IMMERSED_UF_WATER_TREATMENTS,
|
3633
3659
|
];
|
3634
3660
|
waterGroups.map((e) => {
|
3635
3661
|
if (!!AtoGojsEditorModel.NODE_TEMPLATES[e]) {
|
@@ -3872,7 +3898,7 @@ class AtoDefaultGojsEditor {
|
|
3872
3898
|
visible: true,
|
3873
3899
|
fill: 'transparent',
|
3874
3900
|
}));
|
3875
|
-
elements.push(this.$(go.Panel, '
|
3901
|
+
elements.push(this.$(go.Panel, 'Top', {
|
3876
3902
|
height: 38,
|
3877
3903
|
// maxSize: new go.Size(NaN, 36),
|
3878
3904
|
// width: 100,
|
@@ -3901,7 +3927,7 @@ class AtoDefaultGojsEditor {
|
|
3901
3927
|
// editable: false,
|
3902
3928
|
// alignment: go.Spot.Center, // Đảm bảo văn bản nằm ở trung tâm của nút
|
3903
3929
|
// 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,
|
3930
|
+
wrap: go.TextBlock.WrapFit,
|
3905
3931
|
// selectable: true,
|
3906
3932
|
overflow: go.TextBlock.OverflowEllipsis,
|
3907
3933
|
toolTip: this.$('ToolTip', this.$(go.TextBlock, {
|
@@ -3955,7 +3981,7 @@ class AtoDefaultGojsEditor {
|
|
3955
3981
|
// Icon Err when lack of value
|
3956
3982
|
this.$(go.TextBlock, {
|
3957
3983
|
margin: new go.Margin(10, 10, 10, 10),
|
3958
|
-
text: VALUE_NA,
|
3984
|
+
text: VALUE_NA,
|
3959
3985
|
textAlign: 'center',
|
3960
3986
|
font: 'bold 10pt sans-serif',
|
3961
3987
|
stroke: AtoGojsEditorModel.ENUM_COLORS.SALMON,
|
@@ -4201,7 +4227,7 @@ class AtoDefaultGojsEditor {
|
|
4201
4227
|
maxSize: new go.Size(30, 30),
|
4202
4228
|
imageStretch: go.GraphObject.Uniform,
|
4203
4229
|
}))
|
4204
|
-
:
|
4230
|
+
: ''), this.$(go.Panel, 'Auto', this.$(go.TextBlock, {
|
4205
4231
|
name: 'textBlockValue',
|
4206
4232
|
row: 2,
|
4207
4233
|
editable: false,
|
@@ -4320,7 +4346,7 @@ class AtoDefaultGojsEditor {
|
|
4320
4346
|
// Icon Err when lack of value
|
4321
4347
|
this.$(go.TextBlock, {
|
4322
4348
|
margin: new go.Margin(10, 10, 10, 10),
|
4323
|
-
text: VALUE_NA,
|
4349
|
+
text: VALUE_NA,
|
4324
4350
|
textAlign: 'center',
|
4325
4351
|
font: 'bold 10pt sans-serif',
|
4326
4352
|
stroke: AtoGojsEditorModel.ENUM_COLORS.SALMON,
|
@@ -4391,6 +4417,10 @@ class AtoDefaultGojsEditor {
|
|
4391
4417
|
AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.RO_WATER_TREATMENT].name,
|
4392
4418
|
AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.COOLING_TOWER].name,
|
4393
4419
|
AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES.BOILER].name,
|
4420
|
+
AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES
|
4421
|
+
.IMMERSED_UF_WATER_TREATMENTS].name,
|
4422
|
+
AtoGojsEditorModel.NODE_TEMPLATES[AtoGojsEditorModel.ENUM_TEMPLATES
|
4423
|
+
.PRESSURIZED_UF_WATER_TREATMENTS].name,
|
4394
4424
|
].includes(title)
|
4395
4425
|
? [
|
4396
4426
|
AtoDefaultGojsEditor.ENUM_ACTIONS.RENAME,
|
@@ -4941,7 +4971,7 @@ class AtoDefaultGojsEditor {
|
|
4941
4971
|
case AtoDefaultGojsEditor.ENUM_ACTIONS.OUTFLOW:
|
4942
4972
|
onClickFn = () => {
|
4943
4973
|
self.clickNewNode(e, _.merge(obj, {
|
4944
|
-
actionMove: self.dragNewNode,
|
4974
|
+
actionMove: self.dragNewNode,
|
4945
4975
|
_dragData: {
|
4946
4976
|
...{
|
4947
4977
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_NODE,
|
@@ -5142,10 +5172,10 @@ class AtoDefaultGojsEditor {
|
|
5142
5172
|
// panel.background = 'transparent';
|
5143
5173
|
// },
|
5144
5174
|
}, this.$(go.Shape, 'Ellipse', {
|
5145
|
-
fill: 'white',
|
5175
|
+
fill: 'white',
|
5146
5176
|
strokeWidth: 2,
|
5147
|
-
stroke: '#919CA5',
|
5148
|
-
width: 40,
|
5177
|
+
stroke: '#919CA5',
|
5178
|
+
width: 40,
|
5149
5179
|
height: 40, // Match the panel's height
|
5150
5180
|
})
|
5151
5181
|
// this.$(
|
@@ -5199,7 +5229,7 @@ class AtoDefaultGojsEditor {
|
|
5199
5229
|
toSpot: spot,
|
5200
5230
|
toLinkable: input,
|
5201
5231
|
cursor: this._initialOptions.isReadOnly ? '' : 'pointer',
|
5202
|
-
alignmentFocus: go.Spot.Center,
|
5232
|
+
alignmentFocus: go.Spot.Center,
|
5203
5233
|
mouseEnter: this._initialOptions.isReadOnly
|
5204
5234
|
? null
|
5205
5235
|
: (e, panel) => {
|
@@ -5267,9 +5297,9 @@ class AtoDefaultGojsEditor {
|
|
5267
5297
|
}), this.$(go.TextBlock, {
|
5268
5298
|
name: 'textBlock',
|
5269
5299
|
margin: 4,
|
5270
|
-
text: '\uf0da',
|
5300
|
+
text: '\uf0da',
|
5271
5301
|
font: '900 12px "Font Awesome 6 Pro"',
|
5272
|
-
stroke: 'white',
|
5302
|
+
stroke: 'white',
|
5273
5303
|
cursor: 'pointer',
|
5274
5304
|
visible: false,
|
5275
5305
|
}, new go.Binding('text', 'name', (_) => {
|
@@ -5664,7 +5694,7 @@ class AtoDefaultGojsEditor {
|
|
5664
5694
|
}, new go.Binding('text', '', (data, panel) => {
|
5665
5695
|
return data?.name;
|
5666
5696
|
}), new go.Binding('maxSize', '', (data, panel) => {
|
5667
|
-
return data?.maxSizeNameParam
|
5697
|
+
return data?.maxSizeNameParam;
|
5668
5698
|
})), this.$(go.Panel, 'Table', {
|
5669
5699
|
column: 1,
|
5670
5700
|
margin: 2,
|
@@ -5697,7 +5727,7 @@ class AtoDefaultGojsEditor {
|
|
5697
5727
|
return data?.value;
|
5698
5728
|
}), new go.Binding('stroke', '', (data) => {
|
5699
5729
|
if (!this._initialOptions.isReadOnly) {
|
5700
|
-
return
|
5730
|
+
return;
|
5701
5731
|
}
|
5702
5732
|
return data.color;
|
5703
5733
|
}), new go.Binding('maxSize', '', (data) => {
|
@@ -6135,7 +6165,7 @@ class AtoDefaultGojsEditor {
|
|
6135
6165
|
name: 0,
|
6136
6166
|
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
6137
6167
|
},
|
6138
|
-
click: self.addItemOnGroupZone,
|
6168
|
+
click: self.addItemOnGroupZone,
|
6139
6169
|
'ButtonBorder.strokeWidth': 0,
|
6140
6170
|
'ButtonBorder.fill': 'white',
|
6141
6171
|
}, this.$(go.TextBlock, {
|
@@ -6681,12 +6711,12 @@ class AtoDefaultGojsEditor {
|
|
6681
6711
|
this._subscriptionList.add(el);
|
6682
6712
|
});
|
6683
6713
|
}
|
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
6714
|
}
|
6687
|
-
i0.ɵɵ
|
6715
|
+
AtoDefaultGojsEditor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoDefaultGojsEditor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
6716
|
+
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 });
|
6717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoDefaultGojsEditor, decorators: [{
|
6688
6718
|
type: Directive
|
6689
|
-
}], ctorParameters: ()
|
6719
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { menuTrigger: [{
|
6690
6720
|
type: ViewChild,
|
6691
6721
|
args: ['menuTrigger']
|
6692
6722
|
}], linkValidation: [{
|
@@ -6814,10 +6844,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
6814
6844
|
})(AtoDefaultGojsEditor || (AtoDefaultGojsEditor = {}));
|
6815
6845
|
|
6816
6846
|
class AtoLoadingDirective {
|
6817
|
-
el;
|
6818
|
-
renderer;
|
6819
|
-
appLoading;
|
6820
|
-
spinnerWrapper;
|
6821
6847
|
constructor(el, renderer) {
|
6822
6848
|
this.el = el;
|
6823
6849
|
this.renderer = renderer;
|
@@ -6858,31 +6884,30 @@ class AtoLoadingDirective {
|
|
6858
6884
|
this.renderer.removeChild(this.el.nativeElement, this.spinnerWrapper);
|
6859
6885
|
}
|
6860
6886
|
}
|
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
6887
|
}
|
6864
|
-
i0.ɵɵ
|
6888
|
+
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 });
|
6889
|
+
AtoLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AtoLoadingDirective, selector: "[atoLoading]", inputs: { appLoading: "appLoading" }, usesOnChanges: true, ngImport: i0 });
|
6890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoLoadingDirective, decorators: [{
|
6865
6891
|
type: Directive,
|
6866
6892
|
args: [{
|
6867
6893
|
selector: '[atoLoading]'
|
6868
6894
|
}]
|
6869
|
-
}], ctorParameters: ()
|
6895
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { appLoading: [{
|
6870
6896
|
type: Input
|
6871
6897
|
}] } });
|
6872
6898
|
|
6873
6899
|
class AtoFlowDiagramLibComponent extends AtoDefaultGojsEditor {
|
6874
|
-
myDiagramDivTemp;
|
6875
|
-
_data = null;
|
6876
6900
|
set data(v) {
|
6877
6901
|
this._data = v;
|
6878
6902
|
this.loadDiagram();
|
6879
6903
|
}
|
6880
|
-
isLoading = false;
|
6881
6904
|
get data() {
|
6882
6905
|
return this._data;
|
6883
6906
|
}
|
6884
6907
|
constructor(_elRef) {
|
6885
6908
|
super(_elRef);
|
6909
|
+
this._data = null;
|
6910
|
+
this.isLoading = false;
|
6886
6911
|
this.actions = [
|
6887
6912
|
AtoDefaultGojsEditor.ACTIONS[AtoDefaultGojsEditor.ENUM_ACTIONS.DETAILS],
|
6888
6913
|
AtoDefaultGojsEditor.ACTIONS[AtoDefaultGojsEditor.ENUM_ACTIONS.DELETE],
|
@@ -6904,13 +6929,13 @@ class AtoFlowDiagramLibComponent extends AtoDefaultGojsEditor {
|
|
6904
6929
|
findNodeForKey(key) {
|
6905
6930
|
this.myDiagram.select(this.myDiagram.findNodeForKey(key));
|
6906
6931
|
}
|
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
6932
|
}
|
6910
|
-
i0.ɵɵ
|
6933
|
+
AtoFlowDiagramLibComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoFlowDiagramLibComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
6934
|
+
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"] }] });
|
6935
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoFlowDiagramLibComponent, decorators: [{
|
6911
6936
|
type: Component,
|
6912
6937
|
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: ()
|
6938
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { myDiagramDivTemp: [{
|
6914
6939
|
type: ViewChild,
|
6915
6940
|
args: ['myDiagramDivTemp']
|
6916
6941
|
}], data: [{
|
@@ -6990,6 +7015,35 @@ var ENUM_ASSET_PARAMETERS;
|
|
6990
7015
|
ENUM_ASSET_PARAMETERS["SI_IN_STEAM"] = "Si in Steam";
|
6991
7016
|
ENUM_ASSET_PARAMETERS["SI_IN_BOILER"] = "Si in Boiler";
|
6992
7017
|
ENUM_ASSET_PARAMETERS["PH_IN_BOILER"] = "pH in Boiler";
|
7018
|
+
// For Immersed UF
|
7019
|
+
ENUM_ASSET_PARAMETERS["FLOW_SYSTEMKPIS_PERMEABILITY_BP_TC"] = "Permeability BP (TC)";
|
7020
|
+
ENUM_ASSET_PARAMETERS["FLOW_SYSTEMKPIS_PERMEATE_FLUX"] = "Permeate Flux";
|
7021
|
+
ENUM_ASSET_PARAMETERS["FLOW_UF_TMP_BEFORE_BACK_PULSE"] = "Flow_UF_TMP_Before_Back_Pulse";
|
7022
|
+
ENUM_ASSET_PARAMETERS["FLOW_UF_TMP_AFTER_BACK_PULSE"] = "Flow_UF_TMP_After_Back_Pulse";
|
7023
|
+
ENUM_ASSET_PARAMETERS["FLOW_BACKPULSE_FLOW_RATE"] = "Flow_Backpulse_FlowRate";
|
7024
|
+
ENUM_ASSET_PARAMETERS["FLOW_BACKPULSE_TMP"] = "Flow_Backpulse_TMP";
|
7025
|
+
ENUM_ASSET_PARAMETERS["FLOW_PERMEATE_FLOW_RATE"] = "Flow_Permeate_FlowRate";
|
7026
|
+
ENUM_ASSET_PARAMETERS["FLOW_FEED_FLOW_RATE"] = "Flow_Feed_FlowRate";
|
7027
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_SYSTEMKPIS_PERMEATE_TURBIDITY"] = "Chemistry_SystemKPIs_Permeate_Turbidity";
|
7028
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_UF_SYSTEM_RECOVERY"] = "Chemistry_UF_System_Recovery";
|
7029
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_UF_LEAP_STATUS"] = "Chemistry_UF_Leap_Status";
|
7030
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_BACKPULSE_FLOW_RATE"] = "Chemistry_Backpulse_FlowRate";
|
7031
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_BACKPULSE_TMP"] = "Chemistry_Backpulse_TMP";
|
7032
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_PERMEATE_TURBIDITY"] = "Chemistry_Permeate_Turbidity";
|
7033
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_PERMEATE_TEMPERATURE"] = "Chemistry_Permeate_Temperature";
|
7034
|
+
ENUM_ASSET_PARAMETERS["CHEMISTRY_FEED_TURBIDITY"] = "Chemistry_Feed_Turbidity";
|
7035
|
+
// For RO
|
7036
|
+
// Flow
|
7037
|
+
ENUM_ASSET_PARAMETERS["NORMAL_PRESSURE_DROP"] = "Normal Pressure Drop";
|
7038
|
+
ENUM_ASSET_PARAMETERS["NORMAL_PRESSURE_FLOW_RATE"] = "Normal Pressure Flow Rate";
|
7039
|
+
ENUM_ASSET_PARAMETERS["CONDENSATE_PRESSURE"] = "Condensate Pressure";
|
7040
|
+
ENUM_ASSET_PARAMETERS["PRESSURE"] = "Pressure";
|
7041
|
+
ENUM_ASSET_PARAMETERS["DIFFERENTIAL_PRESSURE"] = "Differential Pressure";
|
7042
|
+
ENUM_ASSET_PARAMETERS["TDS"] = "TDS";
|
7043
|
+
ENUM_ASSET_PARAMETERS["CONDUCTIVITY"] = "Conductivity";
|
7044
|
+
ENUM_ASSET_PARAMETERS["TEMPERATURE"] = "Temperature";
|
7045
|
+
ENUM_ASSET_PARAMETERS["REJECTION_RATE"] = "Rejection Rate";
|
7046
|
+
ENUM_ASSET_PARAMETERS["NORMALIZED_REJECTION_RATE"] = "Normalized Rejection Rate";
|
6993
7047
|
})(ENUM_ASSET_PARAMETERS || (ENUM_ASSET_PARAMETERS = {}));
|
6994
7048
|
var WATER_SYSTEMS_NAME;
|
6995
7049
|
(function (WATER_SYSTEMS_NAME) {
|
@@ -7019,6 +7073,41 @@ var WATER_SYSTEMS_NAME;
|
|
7019
7073
|
WATER_SYSTEMS_NAME["BOILER_WATER__CHEMISTRY"] = "Boiler Water Chemistry";
|
7020
7074
|
WATER_SYSTEMS_NAME["STEAM_LOSS"] = "Steam Loss";
|
7021
7075
|
WATER_SYSTEMS_NAME["BLOWDOWN"] = "Blowdown";
|
7076
|
+
// For Immersed UF
|
7077
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_SYSTEM_KPIS"] = "System KPIs";
|
7078
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_SYSTEM_KPIS__FLOW"] = "System KPIs Flow";
|
7079
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_SYSTEM_KPIS__CHEMISTRY"] = "System KPIs Chemistry";
|
7080
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_UF"] = "UF";
|
7081
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_UF__FLOW"] = "UF Flow";
|
7082
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_UF__CHEMISTRY"] = "UF Chemistry";
|
7083
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_BACK_PULSE"] = "Backpulse";
|
7084
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_BACK_PULSE__FLOW"] = "Backpulse Flow";
|
7085
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_BACK_PULSE__CHEMISTRY"] = "Backpulse Chemistry";
|
7086
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_PERMEATE"] = "Permeate";
|
7087
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_PERMEATE__FLOW"] = "Permeate Flow";
|
7088
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_PERMEATE__CHEMISTRY"] = "Permeate Chemistry";
|
7089
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_FEED"] = "Feed";
|
7090
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_FEED__FLOW"] = "Feed Flow";
|
7091
|
+
WATER_SYSTEMS_NAME["IMMERSED_UF_FEED__CHEMISTRY"] = "Feed Chemistry";
|
7092
|
+
// For RO
|
7093
|
+
WATER_SYSTEMS_NAME["FEED"] = "Feed";
|
7094
|
+
WATER_SYSTEMS_NAME["RO"] = "RO";
|
7095
|
+
WATER_SYSTEMS_NAME["CONCENTRATE"] = "Concentrate";
|
7096
|
+
WATER_SYSTEMS_NAME["PERMEATE"] = "Permeate";
|
7097
|
+
WATER_SYSTEMS_NAME["PRE_FILTER"] = "Pre-filter";
|
7098
|
+
WATER_SYSTEMS_NAME["HP_PUMP"] = "HP Pump";
|
7099
|
+
WATER_SYSTEMS_NAME["RO_FEED__FLOW"] = "Feed Flow";
|
7100
|
+
WATER_SYSTEMS_NAME["RO_SYSTEM_KPIS__FLOW"] = "System KPIs Flow";
|
7101
|
+
WATER_SYSTEMS_NAME["RO_RO__FLOW"] = "RO Flow";
|
7102
|
+
WATER_SYSTEMS_NAME["RO_CONCENTRATE__FLOW"] = "Concentrate Flow";
|
7103
|
+
WATER_SYSTEMS_NAME["RO_PERMEATE__FLOW"] = "Permeate Flow";
|
7104
|
+
WATER_SYSTEMS_NAME["RO_PRE_FILTER__FLOW"] = "Pre-filter Flow";
|
7105
|
+
WATER_SYSTEMS_NAME["RO_HP_PUMP__FLOW"] = "HP Pump Flow";
|
7106
|
+
WATER_SYSTEMS_NAME["RO_FEED__CHEMISTRY"] = "Feed Chemistry";
|
7107
|
+
WATER_SYSTEMS_NAME["RO_RO__CHEMISTRY"] = "RO Chemistry";
|
7108
|
+
WATER_SYSTEMS_NAME["RO_PERMEATE__CHEMISTRY"] = "Permeate Chemistry";
|
7109
|
+
WATER_SYSTEMS_NAME["RO_SYSTEM_KPIS__CHEMISTRY"] = "System KPIs Chemistry";
|
7110
|
+
WATER_SYSTEMS_NAME["RO_CONCENTRATE__CHEMISTRY"] = "Concentrate Chemistry";
|
7022
7111
|
})(WATER_SYSTEMS_NAME || (WATER_SYSTEMS_NAME = {}));
|
7023
7112
|
const DATA_ASSET_PARAMETER_FIELDS = {
|
7024
7113
|
[ENUM_ASSET_PARAMETERS.FEED_FLOW_RATE]: {
|
@@ -7264,99 +7353,410 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7264
7353
|
name: ENUM_ASSET_PARAMETERS.PH_IN_BOILER,
|
7265
7354
|
key: ENUM_ASSET_PARAMETERS.PH_IN_BOILER,
|
7266
7355
|
},
|
7356
|
+
// For Immersed UF
|
7357
|
+
[ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEABILITY_BP_TC]: {
|
7358
|
+
name: ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEABILITY_BP_TC,
|
7359
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEABILITY_BP_TC,
|
7360
|
+
},
|
7361
|
+
[ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEATE_FLUX]: {
|
7362
|
+
name: ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEATE_FLUX,
|
7363
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEATE_FLUX,
|
7364
|
+
},
|
7365
|
+
[ENUM_ASSET_PARAMETERS.FLOW_UF_TMP_BEFORE_BACK_PULSE]: {
|
7366
|
+
name: 'TMP (Before Back Pulse)',
|
7367
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_UF_TMP_BEFORE_BACK_PULSE,
|
7368
|
+
},
|
7369
|
+
[ENUM_ASSET_PARAMETERS.FLOW_UF_TMP_AFTER_BACK_PULSE]: {
|
7370
|
+
name: 'TMP (After Back Pulse)',
|
7371
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_UF_TMP_AFTER_BACK_PULSE,
|
7372
|
+
},
|
7373
|
+
[ENUM_ASSET_PARAMETERS.FLOW_BACKPULSE_FLOW_RATE]: {
|
7374
|
+
name: 'Flow Rate',
|
7375
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_BACKPULSE_FLOW_RATE,
|
7376
|
+
},
|
7377
|
+
[ENUM_ASSET_PARAMETERS.FLOW_BACKPULSE_TMP]: {
|
7378
|
+
name: 'TMP',
|
7379
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_BACKPULSE_TMP,
|
7380
|
+
},
|
7381
|
+
[ENUM_ASSET_PARAMETERS.FLOW_PERMEATE_FLOW_RATE]: {
|
7382
|
+
name: 'Flow Rate',
|
7383
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_PERMEATE_FLOW_RATE,
|
7384
|
+
},
|
7385
|
+
[ENUM_ASSET_PARAMETERS.FLOW_FEED_FLOW_RATE]: {
|
7386
|
+
name: 'Flow Rate',
|
7387
|
+
key: ENUM_ASSET_PARAMETERS.FLOW_FEED_FLOW_RATE,
|
7388
|
+
},
|
7389
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_SYSTEMKPIS_PERMEATE_TURBIDITY]: {
|
7390
|
+
name: 'Permeate Turbidity',
|
7391
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_SYSTEMKPIS_PERMEATE_TURBIDITY,
|
7392
|
+
},
|
7393
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_UF_SYSTEM_RECOVERY]: {
|
7394
|
+
name: 'System Recovery',
|
7395
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_UF_SYSTEM_RECOVERY,
|
7396
|
+
},
|
7397
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_UF_LEAP_STATUS]: {
|
7398
|
+
name: 'Leap Status',
|
7399
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_UF_LEAP_STATUS,
|
7400
|
+
},
|
7401
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_BACKPULSE_FLOW_RATE]: {
|
7402
|
+
name: 'Flow Rate',
|
7403
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_BACKPULSE_FLOW_RATE,
|
7404
|
+
},
|
7405
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_BACKPULSE_TMP]: {
|
7406
|
+
name: 'TMP',
|
7407
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_BACKPULSE_TMP,
|
7408
|
+
},
|
7409
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_PERMEATE_TURBIDITY]: {
|
7410
|
+
name: 'Turbidity',
|
7411
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_PERMEATE_TURBIDITY,
|
7412
|
+
},
|
7413
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_PERMEATE_TEMPERATURE]: {
|
7414
|
+
name: 'Temperature',
|
7415
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_PERMEATE_TEMPERATURE,
|
7416
|
+
},
|
7417
|
+
[ENUM_ASSET_PARAMETERS.CHEMISTRY_FEED_TURBIDITY]: {
|
7418
|
+
name: 'Turbidity',
|
7419
|
+
key: ENUM_ASSET_PARAMETERS.CHEMISTRY_FEED_TURBIDITY,
|
7420
|
+
},
|
7421
|
+
// For RO
|
7422
|
+
[ENUM_ASSET_PARAMETERS.NORMAL_PRESSURE_DROP]: {
|
7423
|
+
name: ENUM_ASSET_PARAMETERS.NORMAL_PRESSURE_DROP,
|
7424
|
+
key: ENUM_ASSET_PARAMETERS.NORMAL_PRESSURE_DROP,
|
7425
|
+
},
|
7426
|
+
[ENUM_ASSET_PARAMETERS.NORMAL_PRESSURE_FLOW_RATE]: {
|
7427
|
+
name: ENUM_ASSET_PARAMETERS.NORMAL_PRESSURE_FLOW_RATE,
|
7428
|
+
key: ENUM_ASSET_PARAMETERS.NORMAL_PRESSURE_FLOW_RATE,
|
7429
|
+
},
|
7430
|
+
[ENUM_ASSET_PARAMETERS.PRESSURE]: {
|
7431
|
+
name: ENUM_ASSET_PARAMETERS.PRESSURE,
|
7432
|
+
key: ENUM_ASSET_PARAMETERS.PRESSURE,
|
7433
|
+
},
|
7434
|
+
[ENUM_ASSET_PARAMETERS.DIFFERENTIAL_PRESSURE]: {
|
7435
|
+
name: ENUM_ASSET_PARAMETERS.DIFFERENTIAL_PRESSURE,
|
7436
|
+
key: ENUM_ASSET_PARAMETERS.DIFFERENTIAL_PRESSURE,
|
7437
|
+
},
|
7438
|
+
[ENUM_ASSET_PARAMETERS.TDS]: {
|
7439
|
+
name: ENUM_ASSET_PARAMETERS.TDS,
|
7440
|
+
key: ENUM_ASSET_PARAMETERS.TDS,
|
7441
|
+
},
|
7442
|
+
[ENUM_ASSET_PARAMETERS.CONDUCTIVITY]: {
|
7443
|
+
name: ENUM_ASSET_PARAMETERS.CONDUCTIVITY,
|
7444
|
+
key: ENUM_ASSET_PARAMETERS.CONDUCTIVITY,
|
7445
|
+
},
|
7446
|
+
[ENUM_ASSET_PARAMETERS.TEMPERATURE]: {
|
7447
|
+
name: ENUM_ASSET_PARAMETERS.TEMPERATURE,
|
7448
|
+
key: ENUM_ASSET_PARAMETERS.TEMPERATURE,
|
7449
|
+
},
|
7450
|
+
[ENUM_ASSET_PARAMETERS.CONDUCTIVITY]: {
|
7451
|
+
name: ENUM_ASSET_PARAMETERS.CONDUCTIVITY,
|
7452
|
+
key: ENUM_ASSET_PARAMETERS.CONDUCTIVITY,
|
7453
|
+
},
|
7454
|
+
[ENUM_ASSET_PARAMETERS.REJECTION_RATE]: {
|
7455
|
+
name: ENUM_ASSET_PARAMETERS.REJECTION_RATE,
|
7456
|
+
key: ENUM_ASSET_PARAMETERS.REJECTION_RATE,
|
7457
|
+
},
|
7458
|
+
[ENUM_ASSET_PARAMETERS.NORMALIZED_REJECTION_RATE]: {
|
7459
|
+
name: ENUM_ASSET_PARAMETERS.NORMALIZED_REJECTION_RATE,
|
7460
|
+
key: ENUM_ASSET_PARAMETERS.NORMALIZED_REJECTION_RATE,
|
7461
|
+
},
|
7267
7462
|
};
|
7268
|
-
const
|
7269
|
-
|
7270
|
-
title: WATER_SYSTEMS_NAME.EVAPORATION_LOSS,
|
7463
|
+
const STYLE_TABLE_PARAM = {
|
7464
|
+
FLAMINGO: {
|
7271
7465
|
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
7272
7466
|
borderTable: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
7273
7467
|
bgColor: AtoGojsEditorModel.ENUM_COLORS.SNOW,
|
7274
7468
|
},
|
7275
|
-
|
7276
|
-
title: WATER_SYSTEMS_NAME.WARMER_WATER,
|
7469
|
+
CARROT_ORANGE: {
|
7277
7470
|
color: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
|
7278
7471
|
borderTable: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
|
7279
7472
|
bgColor: AtoGojsEditorModel.ENUM_COLORS.OLD_LACE,
|
7280
7473
|
},
|
7474
|
+
CERULEAN: {
|
7475
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
7476
|
+
borderTable: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
7477
|
+
bgColor: AtoGojsEditorModel.ENUM_COLORS.CERULEAN_ALICE_BLUE,
|
7478
|
+
},
|
7479
|
+
FOUNTAIN_BLUE: {
|
7480
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7481
|
+
borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7482
|
+
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7483
|
+
},
|
7484
|
+
LIGHT_SKY_BLUE_2: {
|
7485
|
+
color: AtoGojsEditorModel.ENUM_COLORS.LIGHT_SKY_BLUE_2,
|
7486
|
+
borderTable: AtoGojsEditorModel.ENUM_COLORS.LIGHT_SKY_BLUE_2,
|
7487
|
+
bgColor: AtoGojsEditorModel.ENUM_COLORS.DANUBE_ALICE_BLUE,
|
7488
|
+
},
|
7489
|
+
// REGENT_ST_BLUE: { // #87cee7
|
7490
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.REGENT_ST_BLUE,
|
7491
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.REGENT_ST_BLUE,
|
7492
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7493
|
+
// },
|
7494
|
+
MEDIUM_RED_VIOLET: {
|
7495
|
+
color: AtoGojsEditorModel.ENUM_COLORS.MEDIUM_RED_VIOLET,
|
7496
|
+
borderTable: AtoGojsEditorModel.ENUM_COLORS.MEDIUM_RED_VIOLET,
|
7497
|
+
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7498
|
+
},
|
7499
|
+
// BLUE: { // #81B8FF
|
7500
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7501
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7502
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7503
|
+
// }
|
7504
|
+
ICE_COLD: {
|
7505
|
+
color: AtoGojsEditorModel.ENUM_COLORS.ICE_COLD,
|
7506
|
+
borderTable: AtoGojsEditorModel.ENUM_COLORS.ICE_COLD,
|
7507
|
+
bgColor: AtoGojsEditorModel.ENUM_COLORS.MINT_CREAM,
|
7508
|
+
},
|
7509
|
+
};
|
7510
|
+
const DATA_WATER_SYSTEMS = {
|
7511
|
+
[WATER_SYSTEMS_NAME.EVAPORATION_LOSS]: {
|
7512
|
+
title: WATER_SYSTEMS_NAME.EVAPORATION_LOSS,
|
7513
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
7514
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
7515
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.SNOW,
|
7516
|
+
...STYLE_TABLE_PARAM.FLAMINGO
|
7517
|
+
},
|
7518
|
+
[WATER_SYSTEMS_NAME.WARMER_WATER]: {
|
7519
|
+
title: WATER_SYSTEMS_NAME.WARMER_WATER,
|
7520
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
|
7521
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
|
7522
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.OLD_LACE,
|
7523
|
+
...STYLE_TABLE_PARAM.CARROT_ORANGE
|
7524
|
+
},
|
7281
7525
|
[WATER_SYSTEMS_NAME.BLOWDOWN_WATER]: {
|
7282
7526
|
title: WATER_SYSTEMS_NAME.BLOWDOWN_WATER,
|
7283
|
-
color: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
|
7284
|
-
borderTable: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
|
7285
|
-
bgColor: AtoGojsEditorModel.ENUM_COLORS.OLD_LACE,
|
7527
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
|
7528
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
|
7529
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.OLD_LACE,
|
7530
|
+
...STYLE_TABLE_PARAM.CARROT_ORANGE
|
7286
7531
|
},
|
7287
7532
|
[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW]: {
|
7288
7533
|
title: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
7289
|
-
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
7290
|
-
borderTable: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
7291
|
-
bgColor: AtoGojsEditorModel.ENUM_COLORS.CERULEAN_ALICE_BLUE,
|
7534
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
7535
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
7536
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.CERULEAN_ALICE_BLUE,
|
7537
|
+
...STYLE_TABLE_PARAM.CERULEAN
|
7292
7538
|
},
|
7293
7539
|
[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY]: {
|
7294
7540
|
title: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
7295
|
-
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
7296
|
-
borderTable: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
7297
|
-
bgColor: AtoGojsEditorModel.ENUM_COLORS.CERULEAN_ALICE_BLUE,
|
7541
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
7542
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
7543
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.CERULEAN_ALICE_BLUE,
|
7544
|
+
...STYLE_TABLE_PARAM.CERULEAN
|
7298
7545
|
},
|
7299
7546
|
[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS]: {
|
7300
7547
|
title: WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS,
|
7301
|
-
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7302
|
-
borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7303
|
-
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7548
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7549
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7550
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7551
|
+
...STYLE_TABLE_PARAM.FOUNTAIN_BLUE
|
7304
7552
|
},
|
7305
7553
|
[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY]: {
|
7306
7554
|
title: WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY,
|
7307
|
-
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7308
|
-
borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7309
|
-
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7555
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7556
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7557
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7558
|
+
...STYLE_TABLE_PARAM.FOUNTAIN_BLUE
|
7310
7559
|
},
|
7311
7560
|
[WATER_SYSTEMS_NAME.SYSTEM_KPIS]: {
|
7312
7561
|
title: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
7313
|
-
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7314
|
-
borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7315
|
-
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7562
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7563
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7564
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7565
|
+
...STYLE_TABLE_PARAM.FOUNTAIN_BLUE
|
7316
7566
|
},
|
7317
7567
|
// For Boiler
|
7318
7568
|
[WATER_SYSTEMS_NAME.MAKEUP_WATER]: {
|
7319
7569
|
title: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
7320
|
-
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
7321
|
-
borderTable: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
7322
|
-
bgColor: AtoGojsEditorModel.ENUM_COLORS.CERULEAN_ALICE_BLUE,
|
7570
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
7571
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
7572
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.CERULEAN_ALICE_BLUE,
|
7573
|
+
...STYLE_TABLE_PARAM.CERULEAN
|
7323
7574
|
},
|
7324
7575
|
[WATER_SYSTEMS_NAME.CONDENSATE_RETURN]: {
|
7325
7576
|
title: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
7326
|
-
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7327
|
-
borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7328
|
-
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7577
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7578
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7579
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7580
|
+
...STYLE_TABLE_PARAM.FOUNTAIN_BLUE
|
7329
7581
|
},
|
7330
7582
|
[WATER_SYSTEMS_NAME.STEAM]: {
|
7331
7583
|
title: WATER_SYSTEMS_NAME.STEAM,
|
7332
|
-
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
7333
|
-
borderTable: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
7334
|
-
bgColor: AtoGojsEditorModel.ENUM_COLORS.SNOW,
|
7584
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
7585
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
7586
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.SNOW,
|
7587
|
+
...STYLE_TABLE_PARAM.FLAMINGO
|
7335
7588
|
},
|
7336
7589
|
[WATER_SYSTEMS_NAME.BOILER_FEED_WATER]: {
|
7337
7590
|
title: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
7338
|
-
color: AtoGojsEditorModel.ENUM_COLORS.LIGHT_SKY_BLUE_2,
|
7339
|
-
borderTable: AtoGojsEditorModel.ENUM_COLORS.LIGHT_SKY_BLUE_2,
|
7340
|
-
bgColor: AtoGojsEditorModel.ENUM_COLORS.DANUBE_ALICE_BLUE,
|
7591
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.LIGHT_SKY_BLUE_2,
|
7592
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.LIGHT_SKY_BLUE_2,
|
7593
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.DANUBE_ALICE_BLUE,
|
7594
|
+
...STYLE_TABLE_PARAM.LIGHT_SKY_BLUE_2
|
7341
7595
|
},
|
7342
7596
|
[WATER_SYSTEMS_NAME.BOILER_WATER]: {
|
7343
7597
|
title: WATER_SYSTEMS_NAME.BOILER_WATER,
|
7344
|
-
color: AtoGojsEditorModel.ENUM_COLORS.REGENT_ST_BLUE,
|
7345
|
-
borderTable: AtoGojsEditorModel.ENUM_COLORS.REGENT_ST_BLUE,
|
7346
|
-
bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7598
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.REGENT_ST_BLUE,
|
7599
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.REGENT_ST_BLUE,
|
7600
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7601
|
+
...STYLE_TABLE_PARAM.FOUNTAIN_BLUE
|
7347
7602
|
},
|
7348
7603
|
[WATER_SYSTEMS_NAME.STEAM_LOSS]: {
|
7349
7604
|
title: WATER_SYSTEMS_NAME.STEAM_LOSS,
|
7350
|
-
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
7351
|
-
borderTable: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
7352
|
-
bgColor: AtoGojsEditorModel.ENUM_COLORS.SNOW,
|
7605
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
7606
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
7607
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.SNOW,
|
7608
|
+
...STYLE_TABLE_PARAM.FLAMINGO
|
7353
7609
|
},
|
7354
7610
|
[WATER_SYSTEMS_NAME.BLOWDOWN]: {
|
7355
7611
|
title: WATER_SYSTEMS_NAME.BLOWDOWN,
|
7356
|
-
color: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
|
7357
|
-
borderTable: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
|
7358
|
-
bgColor: AtoGojsEditorModel.ENUM_COLORS.OLD_LACE,
|
7359
|
-
|
7612
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
|
7613
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
|
7614
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.OLD_LACE,
|
7615
|
+
...STYLE_TABLE_PARAM.CARROT_ORANGE
|
7616
|
+
},
|
7617
|
+
// For Immersed UF
|
7618
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__FLOW]: {
|
7619
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS,
|
7620
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7621
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7622
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7623
|
+
...STYLE_TABLE_PARAM.FOUNTAIN_BLUE
|
7624
|
+
},
|
7625
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__CHEMISTRY]: {
|
7626
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS,
|
7627
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7628
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7629
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7630
|
+
...STYLE_TABLE_PARAM.FOUNTAIN_BLUE
|
7631
|
+
},
|
7632
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__FLOW]: {
|
7633
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_UF,
|
7634
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7635
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7636
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7637
|
+
...STYLE_TABLE_PARAM.FOUNTAIN_BLUE
|
7638
|
+
},
|
7639
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__CHEMISTRY]: {
|
7640
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_UF,
|
7641
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7642
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7643
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7644
|
+
...STYLE_TABLE_PARAM.FOUNTAIN_BLUE
|
7645
|
+
},
|
7646
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__FLOW]: {
|
7647
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE,
|
7648
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.MEDIUM_RED_VIOLET,
|
7649
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.MEDIUM_RED_VIOLET,
|
7650
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7651
|
+
...STYLE_TABLE_PARAM.MEDIUM_RED_VIOLET
|
7652
|
+
},
|
7653
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__CHEMISTRY]: {
|
7654
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE,
|
7655
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.MEDIUM_RED_VIOLET,
|
7656
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.MEDIUM_RED_VIOLET,
|
7657
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7658
|
+
...STYLE_TABLE_PARAM.MEDIUM_RED_VIOLET
|
7659
|
+
},
|
7660
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__FLOW]: {
|
7661
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE,
|
7662
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7663
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7664
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7665
|
+
...STYLE_TABLE_PARAM.CERULEAN
|
7666
|
+
},
|
7667
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__CHEMISTRY]: {
|
7668
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE,
|
7669
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7670
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7671
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7672
|
+
...STYLE_TABLE_PARAM.CERULEAN
|
7673
|
+
},
|
7674
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__FLOW]: {
|
7675
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_FEED,
|
7676
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7677
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7678
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7679
|
+
...STYLE_TABLE_PARAM.FOUNTAIN_BLUE
|
7680
|
+
},
|
7681
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__CHEMISTRY]: {
|
7682
|
+
title: WATER_SYSTEMS_NAME.IMMERSED_UF_FEED,
|
7683
|
+
// color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7684
|
+
// borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
7685
|
+
// bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
|
7686
|
+
...STYLE_TABLE_PARAM.FOUNTAIN_BLUE
|
7687
|
+
},
|
7688
|
+
[WATER_SYSTEMS_NAME.FEED]: {
|
7689
|
+
title: WATER_SYSTEMS_NAME.FEED,
|
7690
|
+
...STYLE_TABLE_PARAM.CERULEAN
|
7691
|
+
},
|
7692
|
+
[WATER_SYSTEMS_NAME.RO]: {
|
7693
|
+
title: WATER_SYSTEMS_NAME.RO,
|
7694
|
+
...STYLE_TABLE_PARAM.MEDIUM_RED_VIOLET
|
7695
|
+
},
|
7696
|
+
[WATER_SYSTEMS_NAME.CONCENTRATE]: {
|
7697
|
+
title: WATER_SYSTEMS_NAME.CONCENTRATE,
|
7698
|
+
...STYLE_TABLE_PARAM.CARROT_ORANGE
|
7699
|
+
},
|
7700
|
+
[WATER_SYSTEMS_NAME.PERMEATE]: {
|
7701
|
+
title: WATER_SYSTEMS_NAME.PERMEATE,
|
7702
|
+
...STYLE_TABLE_PARAM.LIGHT_SKY_BLUE_2
|
7703
|
+
},
|
7704
|
+
[WATER_SYSTEMS_NAME.PRE_FILTER]: {
|
7705
|
+
title: WATER_SYSTEMS_NAME.PRE_FILTER,
|
7706
|
+
...STYLE_TABLE_PARAM.ICE_COLD
|
7707
|
+
},
|
7708
|
+
[WATER_SYSTEMS_NAME.HP_PUMP]: {
|
7709
|
+
title: WATER_SYSTEMS_NAME.HP_PUMP,
|
7710
|
+
...STYLE_TABLE_PARAM.ICE_COLD
|
7711
|
+
},
|
7712
|
+
// [WATER_SYSTEMS_NAME.RO_FEED__FLOW]: {
|
7713
|
+
// title: WATER_SYSTEMS_NAME.FEED,
|
7714
|
+
// ...STYLE_TABLE_PARAM.CERULEAN
|
7715
|
+
// },
|
7716
|
+
// [WATER_SYSTEMS_NAME.RO_SYSTEM_KPIS__FLOW]: {
|
7717
|
+
// title: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
7718
|
+
// ...STYLE_TABLE_PARAM.FOUNTAIN_BLUE
|
7719
|
+
// },
|
7720
|
+
// [WATER_SYSTEMS_NAME.RO_RO__FLOW]: {
|
7721
|
+
// title: WATER_SYSTEMS_NAME.RO,
|
7722
|
+
// ...STYLE_TABLE_PARAM.MEDIUM_RED_VIOLET
|
7723
|
+
// },
|
7724
|
+
// [WATER_SYSTEMS_NAME.RO_CONCENTRATE__FLOW]: {
|
7725
|
+
// title: WATER_SYSTEMS_NAME.CONCENTRATE,
|
7726
|
+
// ...STYLE_TABLE_PARAM.CARROT_ORANGE
|
7727
|
+
// },
|
7728
|
+
// [WATER_SYSTEMS_NAME.RO_PERMEATE__FLOW]: {
|
7729
|
+
// title: WATER_SYSTEMS_NAME.PERMEATE,
|
7730
|
+
// ...STYLE_TABLE_PARAM.LIGHT_SKY_BLUE_2
|
7731
|
+
// },
|
7732
|
+
// [WATER_SYSTEMS_NAME.RO_PRE_FILTER__FLOW]: {
|
7733
|
+
// title: WATER_SYSTEMS_NAME.PRE_FILTER,
|
7734
|
+
// ...STYLE_TABLE_PARAM.ICE_COLD
|
7735
|
+
// },
|
7736
|
+
// [WATER_SYSTEMS_NAME.RO_HP_PUMP__FLOW]: {
|
7737
|
+
// title: WATER_SYSTEMS_NAME.HP_PUMP,
|
7738
|
+
// ...STYLE_TABLE_PARAM.ICE_COLD
|
7739
|
+
// },
|
7740
|
+
// [WATER_SYSTEMS_NAME.RO_FEED__CHEMISTRY]: {
|
7741
|
+
// title: WATER_SYSTEMS_NAME.FEED,
|
7742
|
+
// ...STYLE_TABLE_PARAM.CERULEAN
|
7743
|
+
// },
|
7744
|
+
// [WATER_SYSTEMS_NAME.RO_RO__CHEMISTRY]: {
|
7745
|
+
// title: WATER_SYSTEMS_NAME.RO,
|
7746
|
+
// ...STYLE_TABLE_PARAM.MEDIUM_RED_VIOLET
|
7747
|
+
// },
|
7748
|
+
// [WATER_SYSTEMS_NAME.RO_PERMEATE__CHEMISTRY]: {
|
7749
|
+
// title: WATER_SYSTEMS_NAME.PERMEATE,
|
7750
|
+
// ...STYLE_TABLE_PARAM.LIGHT_SKY_BLUE_2
|
7751
|
+
// },
|
7752
|
+
// [WATER_SYSTEMS_NAME.RO_SYSTEM_KPIS__CHEMISTRY]: {
|
7753
|
+
// title: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
7754
|
+
// ...STYLE_TABLE_PARAM.FOUNTAIN_BLUE
|
7755
|
+
// },
|
7756
|
+
// [WATER_SYSTEMS_NAME.RO_CONCENTRATE__CHEMISTRY]: {
|
7757
|
+
// title: WATER_SYSTEMS_NAME.CONCENTRATE,
|
7758
|
+
// ...STYLE_TABLE_PARAM.CARROT_ORANGE
|
7759
|
+
// },
|
7360
7760
|
};
|
7361
7761
|
const ASSET_CATEGORY_PARAMS = {
|
7362
7762
|
[WATER_SYSTEMS_NAME.EVAPORATION_LOSS]: [
|
@@ -7466,6 +7866,96 @@ const ASSET_CATEGORY_PARAMS__BOILER = {
|
|
7466
7866
|
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_RATE],
|
7467
7867
|
],
|
7468
7868
|
};
|
7869
|
+
// For Immersed UF
|
7870
|
+
const ASSET_CATEGORY_PARAMS__IMMERSED_UF = {
|
7871
|
+
// For Flow
|
7872
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__FLOW]: [
|
7873
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEABILITY_BP_TC],
|
7874
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_SYSTEMKPIS_PERMEATE_FLUX],
|
7875
|
+
],
|
7876
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__FLOW]: [
|
7877
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_UF_TMP_BEFORE_BACK_PULSE],
|
7878
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_UF_TMP_AFTER_BACK_PULSE],
|
7879
|
+
],
|
7880
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__FLOW]: [
|
7881
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_BACKPULSE_FLOW_RATE],
|
7882
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_BACKPULSE_TMP],
|
7883
|
+
],
|
7884
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__FLOW]: [
|
7885
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_PERMEATE_FLOW_RATE],
|
7886
|
+
],
|
7887
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__FLOW]: [
|
7888
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_FEED_FLOW_RATE],
|
7889
|
+
],
|
7890
|
+
// For Chemistry
|
7891
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__CHEMISTRY]: [
|
7892
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_SYSTEMKPIS_PERMEATE_TURBIDITY],
|
7893
|
+
],
|
7894
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__CHEMISTRY]: [
|
7895
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_UF_SYSTEM_RECOVERY],
|
7896
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_UF_LEAP_STATUS],
|
7897
|
+
],
|
7898
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__CHEMISTRY]: [
|
7899
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_BACKPULSE_FLOW_RATE],
|
7900
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_BACKPULSE_TMP],
|
7901
|
+
],
|
7902
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__CHEMISTRY]: [
|
7903
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_PERMEATE_TURBIDITY],
|
7904
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_PERMEATE_TEMPERATURE],
|
7905
|
+
],
|
7906
|
+
[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__CHEMISTRY]: [
|
7907
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_FEED_TURBIDITY],
|
7908
|
+
],
|
7909
|
+
};
|
7910
|
+
// For RO
|
7911
|
+
const ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT = {
|
7912
|
+
// For View Flow
|
7913
|
+
[WATER_SYSTEMS_NAME.RO_FEED__FLOW]: [
|
7914
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW],
|
7915
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.PRIMARY_PRESSURE],
|
7916
|
+
],
|
7917
|
+
[WATER_SYSTEMS_NAME.RO_SYSTEM_KPIS__FLOW]: [
|
7918
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.NORMAL_PRESSURE_DROP],
|
7919
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.NORMAL_PRESSURE_FLOW_RATE],
|
7920
|
+
],
|
7921
|
+
[WATER_SYSTEMS_NAME.RO_RO__FLOW]: [
|
7922
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.PRESSURE_DROP],
|
7923
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.SYSTEM_RECOVERY_RATE],
|
7924
|
+
],
|
7925
|
+
[WATER_SYSTEMS_NAME.RO_CONCENTRATE__FLOW]: [
|
7926
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_RATE],
|
7927
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.PRESSURE],
|
7928
|
+
],
|
7929
|
+
[WATER_SYSTEMS_NAME.RO_PERMEATE__FLOW]: [
|
7930
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_RATE],
|
7931
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.PRESSURE],
|
7932
|
+
],
|
7933
|
+
[WATER_SYSTEMS_NAME.RO_PRE_FILTER__FLOW]: [
|
7934
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.DIFFERENTIAL_PRESSURE],
|
7935
|
+
],
|
7936
|
+
[WATER_SYSTEMS_NAME.RO_HP_PUMP__FLOW]: [
|
7937
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.PRESSURE],
|
7938
|
+
],
|
7939
|
+
[WATER_SYSTEMS_NAME.RO_FEED__CHEMISTRY]: [
|
7940
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.TDS],
|
7941
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CONDUCTIVITY],
|
7942
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.TEMPERATURE],
|
7943
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.PH],
|
7944
|
+
],
|
7945
|
+
[WATER_SYSTEMS_NAME.RO_CONCENTRATE__CHEMISTRY]: [
|
7946
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CONDUCTIVITY],
|
7947
|
+
],
|
7948
|
+
[WATER_SYSTEMS_NAME.RO_RO__CHEMISTRY]: [
|
7949
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.REJECTION_RATE],
|
7950
|
+
],
|
7951
|
+
[WATER_SYSTEMS_NAME.RO_PERMEATE__CHEMISTRY]: [
|
7952
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.TDS],
|
7953
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.PH],
|
7954
|
+
],
|
7955
|
+
[WATER_SYSTEMS_NAME.RO_SYSTEM_KPIS__CHEMISTRY]: [
|
7956
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.NORMALIZED_REJECTION_RATE],
|
7957
|
+
],
|
7958
|
+
};
|
7469
7959
|
var COMPONENTS_GROUP_TYPE;
|
7470
7960
|
(function (COMPONENTS_GROUP_TYPE) {
|
7471
7961
|
COMPONENTS_GROUP_TYPE["INFLOW"] = "Inflow";
|
@@ -7689,138 +8179,324 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
7689
8179
|
nodeDataArray: [
|
7690
8180
|
{
|
7691
8181
|
key: 93,
|
7692
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.
|
8182
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
|
7693
8183
|
group: 100,
|
7694
|
-
loc: '
|
7695
|
-
|
7696
|
-
|
7697
|
-
|
7698
|
-
|
7699
|
-
|
8184
|
+
loc: '0 0',
|
8185
|
+
data: {
|
8186
|
+
quantity: 1,
|
8187
|
+
unit: 'm³',
|
8188
|
+
},
|
8189
|
+
name: 'top-left-marker',
|
8190
|
+
color: '#a8438d',
|
7700
8191
|
},
|
7701
8192
|
{
|
7702
8193
|
key: 94,
|
8194
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
|
8195
|
+
group: 100,
|
8196
|
+
data: {
|
8197
|
+
quantity: 2,
|
8198
|
+
unit: 'm³',
|
8199
|
+
},
|
8200
|
+
name: 'bottom-right-marker',
|
8201
|
+
color: '#a8438d',
|
8202
|
+
extendedData: {
|
8203
|
+
loc: '650 580',
|
8204
|
+
},
|
8205
|
+
extendedDataResponsive: {
|
8206
|
+
loc: '700 300',
|
8207
|
+
},
|
8208
|
+
},
|
8209
|
+
// For view Flow
|
8210
|
+
{
|
8211
|
+
// key: 132,
|
7703
8212
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
7704
8213
|
group: 100,
|
7705
|
-
loc: '
|
7706
|
-
padding: new go.Margin(0, 0, 0,
|
7707
|
-
...
|
8214
|
+
loc: '10 310',
|
8215
|
+
padding: new go.Margin(0, 0, 0, 0),
|
8216
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.FEED],
|
7708
8217
|
minSizeValue: new go.Size(100, NaN),
|
7709
8218
|
selectable: false,
|
7710
|
-
dataTable: [
|
7711
|
-
|
7712
|
-
|
7713
|
-
|
7714
|
-
|
7715
|
-
|
7716
|
-
|
7717
|
-
|
7718
|
-
|
7719
|
-
|
7720
|
-
|
7721
|
-
|
7722
|
-
|
7723
|
-
|
7724
|
-
key: '',
|
7725
|
-
name: ENUM_ASSET_PARAMETERS.FEED_TEMPERATURE,
|
7726
|
-
value: '',
|
7727
|
-
isEditable: true,
|
7728
|
-
},
|
7729
|
-
{
|
7730
|
-
key: '',
|
7731
|
-
name: ENUM_ASSET_PARAMETERS.PRIMARY_PRESSURE,
|
7732
|
-
value: '',
|
7733
|
-
isEditable: true,
|
7734
|
-
},
|
7735
|
-
],
|
8219
|
+
dataTable: ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT[WATER_SYSTEMS_NAME.RO_FEED__FLOW].map((e) => ({
|
8220
|
+
...e,
|
8221
|
+
value: '',
|
8222
|
+
isEditable: true,
|
8223
|
+
maxSizeValue: 140,
|
8224
|
+
waterSystem: WATER_SYSTEMS_NAME.FEED,
|
8225
|
+
})),
|
8226
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8227
|
+
extendedData: {
|
8228
|
+
visible: true,
|
8229
|
+
},
|
8230
|
+
extendedDataResponsive: {
|
8231
|
+
visible: false,
|
8232
|
+
},
|
7736
8233
|
},
|
7737
8234
|
{
|
7738
|
-
key:
|
8235
|
+
// key: 132,
|
7739
8236
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
7740
8237
|
group: 100,
|
7741
|
-
loc: '
|
7742
|
-
|
8238
|
+
loc: '10 10',
|
8239
|
+
padding: new go.Margin(0, 0, 0, 0),
|
8240
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS],
|
7743
8241
|
minSizeValue: new go.Size(100, NaN),
|
7744
8242
|
selectable: false,
|
7745
|
-
dataTable: [
|
7746
|
-
|
7747
|
-
|
7748
|
-
|
7749
|
-
|
7750
|
-
|
7751
|
-
|
7752
|
-
|
7753
|
-
|
7754
|
-
|
7755
|
-
|
7756
|
-
|
7757
|
-
|
7758
|
-
|
7759
|
-
key: '',
|
7760
|
-
name: ENUM_ASSET_PARAMETERS.SYSTEM_RECOVERY_RATE,
|
7761
|
-
value: '',
|
7762
|
-
isEditable: true,
|
7763
|
-
},
|
7764
|
-
],
|
8243
|
+
dataTable: ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT[WATER_SYSTEMS_NAME.RO_SYSTEM_KPIS__FLOW].map((e) => ({
|
8244
|
+
...e,
|
8245
|
+
value: '',
|
8246
|
+
isEditable: true,
|
8247
|
+
maxSizeValue: 140,
|
8248
|
+
waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
8249
|
+
})),
|
8250
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8251
|
+
extendedData: {
|
8252
|
+
visible: true,
|
8253
|
+
},
|
8254
|
+
extendedDataResponsive: {
|
8255
|
+
visible: false,
|
8256
|
+
},
|
7765
8257
|
},
|
7766
8258
|
{
|
7767
|
-
key:
|
8259
|
+
// key: 132,
|
7768
8260
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
7769
8261
|
group: 100,
|
7770
|
-
loc: '
|
7771
|
-
|
8262
|
+
loc: '300 10',
|
8263
|
+
padding: new go.Margin(0, 0, 0, 0),
|
8264
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.RO],
|
7772
8265
|
minSizeValue: new go.Size(100, NaN),
|
7773
8266
|
selectable: false,
|
7774
|
-
dataTable: [
|
7775
|
-
|
7776
|
-
|
7777
|
-
|
7778
|
-
|
7779
|
-
|
7780
|
-
|
7781
|
-
|
7782
|
-
|
7783
|
-
|
7784
|
-
|
7785
|
-
|
7786
|
-
|
7787
|
-
|
7788
|
-
key: '',
|
7789
|
-
name: ENUM_ASSET_PARAMETERS.PERMEATE_PRESSURE,
|
7790
|
-
value: '',
|
7791
|
-
isEditable: true,
|
7792
|
-
},
|
7793
|
-
],
|
8267
|
+
dataTable: ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT[WATER_SYSTEMS_NAME.RO_RO__FLOW].map((e) => ({
|
8268
|
+
...e,
|
8269
|
+
value: '',
|
8270
|
+
isEditable: true,
|
8271
|
+
maxSizeValue: 140,
|
8272
|
+
waterSystem: WATER_SYSTEMS_NAME.RO,
|
8273
|
+
})),
|
8274
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8275
|
+
extendedData: {
|
8276
|
+
visible: true,
|
8277
|
+
},
|
8278
|
+
extendedDataResponsive: {
|
8279
|
+
visible: false,
|
8280
|
+
},
|
7794
8281
|
},
|
7795
8282
|
{
|
7796
|
-
key:
|
8283
|
+
// key: 132,
|
7797
8284
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
7798
8285
|
group: 100,
|
7799
|
-
loc: '
|
7800
|
-
|
8286
|
+
loc: '500 480',
|
8287
|
+
padding: new go.Margin(0, 0, 0, 0),
|
8288
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.CONCENTRATE],
|
7801
8289
|
minSizeValue: new go.Size(100, NaN),
|
7802
8290
|
selectable: false,
|
7803
|
-
dataTable: [
|
7804
|
-
|
7805
|
-
|
7806
|
-
|
7807
|
-
|
7808
|
-
|
7809
|
-
|
7810
|
-
|
7811
|
-
|
7812
|
-
|
7813
|
-
|
7814
|
-
|
7815
|
-
|
7816
|
-
|
7817
|
-
|
7818
|
-
|
7819
|
-
|
7820
|
-
|
7821
|
-
|
7822
|
-
|
8291
|
+
dataTable: ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT[WATER_SYSTEMS_NAME.RO_CONCENTRATE__FLOW].map((e) => ({
|
8292
|
+
...e,
|
8293
|
+
value: '',
|
8294
|
+
isEditable: true,
|
8295
|
+
maxSizeValue: 140,
|
8296
|
+
waterSystem: WATER_SYSTEMS_NAME.CONCENTRATE,
|
8297
|
+
})),
|
8298
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8299
|
+
extendedData: {
|
8300
|
+
visible: true,
|
8301
|
+
},
|
8302
|
+
extendedDataResponsive: {
|
8303
|
+
visible: false,
|
8304
|
+
},
|
8305
|
+
},
|
8306
|
+
{
|
8307
|
+
// key: 132,
|
8308
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8309
|
+
group: 100,
|
8310
|
+
loc: '700 110',
|
8311
|
+
padding: new go.Margin(0, 0, 0, 0),
|
8312
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.PERMEATE],
|
8313
|
+
minSizeValue: new go.Size(100, NaN),
|
8314
|
+
selectable: false,
|
8315
|
+
dataTable: ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT[WATER_SYSTEMS_NAME.RO_PERMEATE__FLOW].map((e) => ({
|
8316
|
+
...e,
|
8317
|
+
value: '',
|
8318
|
+
isEditable: true,
|
8319
|
+
maxSizeValue: 140,
|
8320
|
+
waterSystem: WATER_SYSTEMS_NAME.PERMEATE,
|
8321
|
+
})),
|
8322
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8323
|
+
extendedData: {
|
8324
|
+
visible: true,
|
8325
|
+
},
|
8326
|
+
extendedDataResponsive: {
|
8327
|
+
visible: false,
|
8328
|
+
},
|
8329
|
+
},
|
8330
|
+
{
|
8331
|
+
// key: 132,
|
8332
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8333
|
+
group: 100,
|
8334
|
+
loc: '560 210',
|
8335
|
+
padding: new go.Margin(0, 0, 0, 0),
|
8336
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.PRE_FILTER],
|
8337
|
+
minSizeValue: new go.Size(100, NaN),
|
8338
|
+
selectable: false,
|
8339
|
+
dataTable: ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT[WATER_SYSTEMS_NAME.RO_PRE_FILTER__FLOW].map((e) => ({
|
8340
|
+
...e,
|
8341
|
+
value: '',
|
8342
|
+
isEditable: true,
|
8343
|
+
maxSizeValue: 140,
|
8344
|
+
waterSystem: WATER_SYSTEMS_NAME.PRE_FILTER,
|
8345
|
+
})),
|
8346
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8347
|
+
extendedData: {
|
8348
|
+
visible: true,
|
8349
|
+
},
|
8350
|
+
extendedDataResponsive: {
|
8351
|
+
visible: false,
|
8352
|
+
},
|
8353
|
+
},
|
8354
|
+
{
|
8355
|
+
// key: 132,
|
8356
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8357
|
+
group: 100,
|
8358
|
+
loc: '250 340',
|
8359
|
+
padding: new go.Margin(0, 0, 0, 0),
|
8360
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.HP_PUMP],
|
8361
|
+
minSizeValue: new go.Size(100, NaN),
|
8362
|
+
selectable: false,
|
8363
|
+
dataTable: ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT[WATER_SYSTEMS_NAME.RO_HP_PUMP__FLOW].map((e) => ({
|
8364
|
+
...e,
|
8365
|
+
value: '',
|
8366
|
+
isEditable: true,
|
8367
|
+
maxSizeValue: 140,
|
8368
|
+
waterSystem: WATER_SYSTEMS_NAME.HP_PUMP,
|
8369
|
+
})),
|
8370
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8371
|
+
extendedData: {
|
8372
|
+
visible: true,
|
8373
|
+
},
|
8374
|
+
extendedDataResponsive: {
|
8375
|
+
visible: false,
|
8376
|
+
},
|
8377
|
+
},
|
8378
|
+
// For view Chemistry
|
8379
|
+
{
|
8380
|
+
// key: 132,
|
8381
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8382
|
+
group: 100,
|
8383
|
+
loc: '10 310',
|
8384
|
+
padding: new go.Margin(0, 0, 0, 0),
|
8385
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.FEED],
|
8386
|
+
minSizeValue: new go.Size(100, NaN),
|
8387
|
+
selectable: false,
|
8388
|
+
dataTable: ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT[WATER_SYSTEMS_NAME.RO_FEED__CHEMISTRY].map((e) => ({
|
8389
|
+
...e,
|
8390
|
+
value: '',
|
8391
|
+
isEditable: true,
|
8392
|
+
maxSizeValue: 140,
|
8393
|
+
waterSystem: WATER_SYSTEMS_NAME.FEED,
|
8394
|
+
})),
|
8395
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8396
|
+
extendedData: {
|
8397
|
+
visible: true,
|
8398
|
+
},
|
8399
|
+
extendedDataResponsive: {
|
8400
|
+
visible: false,
|
8401
|
+
},
|
8402
|
+
},
|
8403
|
+
{
|
8404
|
+
// key: 132,
|
8405
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8406
|
+
group: 100,
|
8407
|
+
loc: '10 10',
|
8408
|
+
padding: new go.Margin(0, 0, 0, 0),
|
8409
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS],
|
8410
|
+
minSizeValue: new go.Size(100, NaN),
|
8411
|
+
selectable: false,
|
8412
|
+
dataTable: ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT[WATER_SYSTEMS_NAME.RO_SYSTEM_KPIS__CHEMISTRY].map((e) => ({
|
8413
|
+
...e,
|
8414
|
+
value: '',
|
8415
|
+
isEditable: true,
|
8416
|
+
maxSizeValue: 140,
|
8417
|
+
waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
8418
|
+
})),
|
8419
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8420
|
+
extendedData: {
|
8421
|
+
visible: true,
|
8422
|
+
},
|
8423
|
+
extendedDataResponsive: {
|
8424
|
+
visible: false,
|
8425
|
+
},
|
8426
|
+
},
|
8427
|
+
{
|
8428
|
+
// key: 132,
|
8429
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8430
|
+
group: 100,
|
8431
|
+
loc: '300 10',
|
8432
|
+
padding: new go.Margin(0, 0, 0, 0),
|
8433
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.RO],
|
8434
|
+
minSizeValue: new go.Size(100, NaN),
|
8435
|
+
selectable: false,
|
8436
|
+
dataTable: ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT[WATER_SYSTEMS_NAME.RO_RO__CHEMISTRY].map((e) => ({
|
8437
|
+
...e,
|
8438
|
+
value: '',
|
8439
|
+
isEditable: true,
|
8440
|
+
maxSizeValue: 140,
|
8441
|
+
waterSystem: WATER_SYSTEMS_NAME.RO,
|
8442
|
+
})),
|
8443
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8444
|
+
extendedData: {
|
8445
|
+
visible: true,
|
8446
|
+
},
|
8447
|
+
extendedDataResponsive: {
|
8448
|
+
visible: false,
|
8449
|
+
},
|
8450
|
+
},
|
8451
|
+
{
|
8452
|
+
// key: 132,
|
8453
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8454
|
+
group: 100,
|
8455
|
+
loc: '500 480',
|
8456
|
+
padding: new go.Margin(0, 0, 0, 0),
|
8457
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.CONCENTRATE],
|
8458
|
+
minSizeValue: new go.Size(100, NaN),
|
8459
|
+
selectable: false,
|
8460
|
+
dataTable: ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT[WATER_SYSTEMS_NAME.RO_CONCENTRATE__CHEMISTRY].map((e) => ({
|
8461
|
+
...e,
|
8462
|
+
value: '',
|
8463
|
+
isEditable: true,
|
8464
|
+
maxSizeValue: 140,
|
8465
|
+
waterSystem: WATER_SYSTEMS_NAME.CONCENTRATE,
|
8466
|
+
})),
|
8467
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8468
|
+
extendedData: {
|
8469
|
+
visible: true,
|
8470
|
+
},
|
8471
|
+
extendedDataResponsive: {
|
8472
|
+
visible: false,
|
8473
|
+
},
|
8474
|
+
},
|
8475
|
+
{
|
8476
|
+
// key: 132,
|
8477
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8478
|
+
group: 100,
|
8479
|
+
loc: '700 110',
|
8480
|
+
padding: new go.Margin(0, 0, 0, 0),
|
8481
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.PERMEATE],
|
8482
|
+
minSizeValue: new go.Size(100, NaN),
|
8483
|
+
selectable: false,
|
8484
|
+
dataTable: ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT[WATER_SYSTEMS_NAME.RO_PERMEATE__CHEMISTRY].map((e) => ({
|
8485
|
+
...e,
|
8486
|
+
value: '',
|
8487
|
+
isEditable: true,
|
8488
|
+
maxSizeValue: 140,
|
8489
|
+
waterSystem: WATER_SYSTEMS_NAME.PERMEATE,
|
8490
|
+
})),
|
8491
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8492
|
+
extendedData: {
|
8493
|
+
visible: true,
|
8494
|
+
},
|
8495
|
+
extendedDataResponsive: {
|
8496
|
+
visible: false,
|
8497
|
+
},
|
7823
8498
|
},
|
8499
|
+
/// TODO
|
7824
8500
|
{
|
7825
8501
|
key: 99,
|
7826
8502
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.IMAGE_TEMPLATE,
|
@@ -8542,7 +9218,8 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8542
9218
|
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS],
|
8543
9219
|
minSizeValue: new go.Size(100, NaN),
|
8544
9220
|
selectable: false,
|
8545
|
-
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]
|
9221
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]
|
9222
|
+
.map((e) => ({
|
8546
9223
|
...e,
|
8547
9224
|
value: '',
|
8548
9225
|
isEditable: true,
|
@@ -8550,7 +9227,8 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8550
9227
|
extendedDataIsFromPlugin: {
|
8551
9228
|
maxSizeValue: 230,
|
8552
9229
|
},
|
8553
|
-
}))
|
9230
|
+
}))
|
9231
|
+
.concat(ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => ({
|
8554
9232
|
...e,
|
8555
9233
|
value: `Mapping in "Cooling Water Chemistry" section`,
|
8556
9234
|
isEditable: false,
|
@@ -8633,11 +9311,12 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8633
9311
|
],
|
8634
9312
|
linkDataArray: [],
|
8635
9313
|
},
|
8636
|
-
[AtoGojsEditorModel.ENUM_TYPES.
|
9314
|
+
[AtoGojsEditorModel.ENUM_TYPES.IMMERSED_UF_WATER_TREATMENTS]: {
|
8637
9315
|
nodeDataArray: [
|
8638
9316
|
{
|
9317
|
+
key: 130,
|
8639
9318
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
|
8640
|
-
group:
|
9319
|
+
group: 150,
|
8641
9320
|
loc: '0 0',
|
8642
9321
|
data: {
|
8643
9322
|
quantity: 2222,
|
@@ -8647,8 +9326,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8647
9326
|
color: '#a8438d',
|
8648
9327
|
},
|
8649
9328
|
{
|
9329
|
+
key: 131,
|
8650
9330
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
|
8651
|
-
group:
|
9331
|
+
group: 150,
|
8652
9332
|
data: {
|
8653
9333
|
quantity: 3333,
|
8654
9334
|
unit: 'm³',
|
@@ -8664,19 +9344,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8664
9344
|
},
|
8665
9345
|
// For view Chemistry
|
8666
9346
|
{
|
9347
|
+
key: 132,
|
8667
9348
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8668
|
-
group:
|
8669
|
-
loc: '10
|
9349
|
+
group: 150,
|
9350
|
+
loc: '10 10',
|
8670
9351
|
padding: new go.Margin(0, 0, 0, 0),
|
8671
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
9352
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__CHEMISTRY],
|
8672
9353
|
minSizeValue: new go.Size(100, NaN),
|
8673
9354
|
selectable: false,
|
8674
|
-
dataTable:
|
9355
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__CHEMISTRY].map((e) => ({
|
8675
9356
|
...e,
|
8676
9357
|
value: '',
|
8677
9358
|
isEditable: true,
|
8678
9359
|
maxSizeValue: 140,
|
8679
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
9360
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS,
|
8680
9361
|
})),
|
8681
9362
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8682
9363
|
extendedData: {
|
@@ -8687,63 +9368,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8687
9368
|
},
|
8688
9369
|
},
|
8689
9370
|
{
|
9371
|
+
key: 133,
|
8690
9372
|
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',
|
9373
|
+
group: 150,
|
9374
|
+
loc: '400 10',
|
8737
9375
|
padding: new go.Margin(0, 0, 0, 0),
|
8738
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
9376
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__CHEMISTRY],
|
8739
9377
|
minSizeValue: new go.Size(100, NaN),
|
8740
9378
|
selectable: false,
|
8741
|
-
dataTable:
|
9379
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__CHEMISTRY].map((e) => ({
|
8742
9380
|
...e,
|
8743
9381
|
value: '',
|
8744
9382
|
isEditable: true,
|
8745
9383
|
maxSizeValue: 140,
|
8746
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
9384
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_UF,
|
8747
9385
|
})),
|
8748
9386
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8749
9387
|
extendedData: {
|
@@ -8754,19 +9392,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8754
9392
|
},
|
8755
9393
|
},
|
8756
9394
|
{
|
9395
|
+
key: 134,
|
8757
9396
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8758
|
-
group:
|
8759
|
-
loc: '
|
9397
|
+
group: 150,
|
9398
|
+
loc: '900 10',
|
8760
9399
|
padding: new go.Margin(0, 0, 0, 0),
|
8761
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
9400
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__CHEMISTRY],
|
8762
9401
|
minSizeValue: new go.Size(100, NaN),
|
8763
9402
|
selectable: false,
|
8764
|
-
dataTable:
|
9403
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__CHEMISTRY].map((e) => ({
|
8765
9404
|
...e,
|
8766
9405
|
value: '',
|
8767
9406
|
isEditable: true,
|
8768
9407
|
maxSizeValue: 140,
|
8769
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
9408
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE,
|
8770
9409
|
})),
|
8771
9410
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8772
9411
|
extendedData: {
|
@@ -8777,19 +9416,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8777
9416
|
},
|
8778
9417
|
},
|
8779
9418
|
{
|
9419
|
+
key: 135,
|
8780
9420
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8781
|
-
group:
|
8782
|
-
loc: '
|
9421
|
+
group: 150,
|
9422
|
+
loc: '1000 250',
|
8783
9423
|
padding: new go.Margin(0, 0, 0, 0),
|
8784
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
9424
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__CHEMISTRY],
|
8785
9425
|
minSizeValue: new go.Size(100, NaN),
|
8786
9426
|
selectable: false,
|
8787
|
-
dataTable:
|
9427
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__CHEMISTRY].map((e) => ({
|
8788
9428
|
...e,
|
8789
9429
|
value: '',
|
8790
9430
|
isEditable: true,
|
8791
9431
|
maxSizeValue: 140,
|
8792
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
9432
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE,
|
8793
9433
|
})),
|
8794
9434
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8795
9435
|
extendedData: {
|
@@ -8800,19 +9440,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8800
9440
|
},
|
8801
9441
|
},
|
8802
9442
|
{
|
9443
|
+
key: 136,
|
8803
9444
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8804
|
-
group:
|
8805
|
-
loc: '
|
9445
|
+
group: 150,
|
9446
|
+
loc: '15 350',
|
8806
9447
|
padding: new go.Margin(0, 10, 0, 0),
|
8807
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
9448
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__CHEMISTRY],
|
8808
9449
|
minSizeValue: new go.Size(100, NaN),
|
8809
9450
|
selectable: false,
|
8810
|
-
dataTable:
|
9451
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__CHEMISTRY].map((e) => ({
|
8811
9452
|
...e,
|
8812
9453
|
value: '',
|
8813
9454
|
isEditable: true,
|
8814
9455
|
maxSizeValue: 140,
|
8815
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
9456
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_FEED,
|
8816
9457
|
})),
|
8817
9458
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8818
9459
|
extendedData: {
|
@@ -8823,9 +9464,10 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8823
9464
|
},
|
8824
9465
|
},
|
8825
9466
|
{
|
9467
|
+
key: 137,
|
8826
9468
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.IMAGE_TEMPLATE,
|
8827
9469
|
source: AtoGojsEditorModel.IMAGE_BOILER_PATH,
|
8828
|
-
group:
|
9470
|
+
group: 150,
|
8829
9471
|
loc: '0 0',
|
8830
9472
|
selectable: false,
|
8831
9473
|
extendedData: {
|
@@ -8836,8 +9478,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8836
9478
|
},
|
8837
9479
|
},
|
8838
9480
|
{
|
9481
|
+
key: 138,
|
8839
9482
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8840
|
-
group:
|
9483
|
+
group: 150,
|
8841
9484
|
loc: '80 285',
|
8842
9485
|
name: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
8843
9486
|
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
@@ -8850,8 +9493,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8850
9493
|
},
|
8851
9494
|
},
|
8852
9495
|
{
|
9496
|
+
key: 139,
|
8853
9497
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8854
|
-
group:
|
9498
|
+
group: 150,
|
8855
9499
|
loc: '300 17',
|
8856
9500
|
name: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
8857
9501
|
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
@@ -8864,8 +9508,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8864
9508
|
},
|
8865
9509
|
},
|
8866
9510
|
{
|
9511
|
+
key: 140,
|
8867
9512
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8868
|
-
group:
|
9513
|
+
group: 150,
|
8869
9514
|
loc: '760 17',
|
8870
9515
|
name: WATER_SYSTEMS_NAME.STEAM,
|
8871
9516
|
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
@@ -8878,8 +9523,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8878
9523
|
},
|
8879
9524
|
},
|
8880
9525
|
{
|
9526
|
+
key: 141,
|
8881
9527
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8882
|
-
group:
|
9528
|
+
group: 150,
|
8883
9529
|
loc: '490 400',
|
8884
9530
|
name: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
8885
9531
|
color: AtoGojsEditorModel.ENUM_COLORS.LIGHT_SKY_BLUE_2,
|
@@ -8892,8 +9538,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8892
9538
|
},
|
8893
9539
|
},
|
8894
9540
|
{
|
9541
|
+
key: 142,
|
8895
9542
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8896
|
-
group:
|
9543
|
+
group: 150,
|
8897
9544
|
loc: '920 160',
|
8898
9545
|
name: WATER_SYSTEMS_NAME.BOILER_WATER,
|
8899
9546
|
color: AtoGojsEditorModel.ENUM_COLORS.REGENT_ST_BLUE,
|
@@ -8907,19 +9554,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8907
9554
|
},
|
8908
9555
|
// For view Flow
|
8909
9556
|
{
|
9557
|
+
key: 143,
|
8910
9558
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8911
|
-
group:
|
8912
|
-
loc: '
|
9559
|
+
group: 150,
|
9560
|
+
loc: '10 10',
|
8913
9561
|
padding: new go.Margin(0, 0, 0, 0),
|
8914
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
9562
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__FLOW],
|
8915
9563
|
minSizeValue: new go.Size(100, NaN),
|
8916
9564
|
selectable: false,
|
8917
|
-
dataTable:
|
9565
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__FLOW].map((e) => ({
|
8918
9566
|
...e,
|
8919
9567
|
value: '',
|
8920
9568
|
isEditable: true,
|
8921
9569
|
maxSizeValue: 140,
|
8922
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
9570
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS,
|
8923
9571
|
})),
|
8924
9572
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8925
9573
|
extendedData: {
|
@@ -8930,19 +9578,20 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8930
9578
|
},
|
8931
9579
|
},
|
8932
9580
|
{
|
9581
|
+
key: 144,
|
8933
9582
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8934
|
-
group:
|
8935
|
-
loc: '
|
9583
|
+
group: 150,
|
9584
|
+
loc: '400 10',
|
8936
9585
|
padding: new go.Margin(0, 0, 0, 0),
|
8937
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.
|
9586
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__FLOW],
|
8938
9587
|
minSizeValue: new go.Size(100, NaN),
|
8939
9588
|
selectable: false,
|
8940
|
-
dataTable:
|
9589
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_UF__FLOW].map((e) => ({
|
8941
9590
|
...e,
|
8942
9591
|
value: '',
|
8943
9592
|
isEditable: true,
|
8944
9593
|
maxSizeValue: 140,
|
8945
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
9594
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_UF,
|
8946
9595
|
})),
|
8947
9596
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8948
9597
|
extendedData: {
|
@@ -8953,19 +9602,810 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8953
9602
|
},
|
8954
9603
|
},
|
8955
9604
|
{
|
9605
|
+
key: 145,
|
8956
9606
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8957
|
-
group:
|
9607
|
+
group: 150,
|
9608
|
+
loc: '900 10',
|
9609
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9610
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__FLOW],
|
9611
|
+
minSizeValue: new go.Size(100, NaN),
|
9612
|
+
selectable: false,
|
9613
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE__FLOW].map((e) => ({
|
9614
|
+
...e,
|
9615
|
+
value: '',
|
9616
|
+
isEditable: true,
|
9617
|
+
maxSizeValue: 140,
|
9618
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE,
|
9619
|
+
})),
|
9620
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9621
|
+
extendedData: {
|
9622
|
+
visible: true,
|
9623
|
+
},
|
9624
|
+
extendedDataResponsive: {
|
9625
|
+
visible: false,
|
9626
|
+
},
|
9627
|
+
},
|
9628
|
+
{
|
9629
|
+
key: 146,
|
9630
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9631
|
+
group: 150,
|
9632
|
+
loc: '1000 250',
|
9633
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9634
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__FLOW],
|
9635
|
+
minSizeValue: new go.Size(100, NaN),
|
9636
|
+
selectable: false,
|
9637
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE__FLOW].map((e) => ({
|
9638
|
+
...e,
|
9639
|
+
value: '',
|
9640
|
+
isEditable: true,
|
9641
|
+
maxSizeValue: 140,
|
9642
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE,
|
9643
|
+
})),
|
9644
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9645
|
+
extendedData: {
|
9646
|
+
visible: true,
|
9647
|
+
},
|
9648
|
+
extendedDataResponsive: {
|
9649
|
+
visible: false,
|
9650
|
+
},
|
9651
|
+
},
|
9652
|
+
{
|
9653
|
+
key: 147,
|
9654
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9655
|
+
group: 150,
|
9656
|
+
loc: '15 350',
|
9657
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9658
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__FLOW],
|
9659
|
+
minSizeValue: new go.Size(100, NaN),
|
9660
|
+
selectable: false,
|
9661
|
+
dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_FEED__FLOW].map((e) => ({
|
9662
|
+
...e,
|
9663
|
+
value: '',
|
9664
|
+
isEditable: true,
|
9665
|
+
maxSizeValue: 140,
|
9666
|
+
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_FEED,
|
9667
|
+
})),
|
9668
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9669
|
+
extendedData: {
|
9670
|
+
visible: true,
|
9671
|
+
},
|
9672
|
+
extendedDataResponsive: {
|
9673
|
+
visible: false,
|
9674
|
+
},
|
9675
|
+
},
|
9676
|
+
{
|
9677
|
+
key: 148,
|
9678
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9679
|
+
group: 150,
|
9680
|
+
loc: '80 280',
|
9681
|
+
name: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
9682
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
9683
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9684
|
+
extendedData: {
|
9685
|
+
visible: false,
|
9686
|
+
},
|
9687
|
+
extendedDataResponsive: {
|
9688
|
+
visible: true,
|
9689
|
+
},
|
9690
|
+
},
|
9691
|
+
{
|
9692
|
+
key: 149,
|
9693
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9694
|
+
group: 150,
|
9695
|
+
loc: '300 17',
|
9696
|
+
name: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
9697
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
9698
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9699
|
+
extendedData: {
|
9700
|
+
visible: false,
|
9701
|
+
},
|
9702
|
+
extendedDataResponsive: {
|
9703
|
+
visible: true,
|
9704
|
+
},
|
9705
|
+
},
|
9706
|
+
{
|
9707
|
+
key: 151,
|
9708
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9709
|
+
group: 150,
|
9710
|
+
loc: '760 17',
|
9711
|
+
name: WATER_SYSTEMS_NAME.STEAM,
|
9712
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
9713
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9714
|
+
extendedData: {
|
9715
|
+
visible: false,
|
9716
|
+
},
|
9717
|
+
extendedDataResponsive: {
|
9718
|
+
visible: true,
|
9719
|
+
},
|
9720
|
+
},
|
9721
|
+
{
|
9722
|
+
key: 152,
|
9723
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9724
|
+
group: 150,
|
9725
|
+
loc: '490 400',
|
9726
|
+
name: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
9727
|
+
color: AtoGojsEditorModel.ENUM_COLORS.LIGHT_SKY_BLUE_2,
|
9728
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9729
|
+
extendedData: {
|
9730
|
+
visible: false,
|
9731
|
+
},
|
9732
|
+
extendedDataResponsive: {
|
9733
|
+
visible: true,
|
9734
|
+
},
|
9735
|
+
},
|
9736
|
+
{
|
9737
|
+
key: 153,
|
9738
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9739
|
+
group: 150,
|
9740
|
+
loc: '380 200',
|
9741
|
+
name: WATER_SYSTEMS_NAME.STEAM_LOSS,
|
9742
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
9743
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9744
|
+
extendedData: {
|
9745
|
+
visible: false,
|
9746
|
+
},
|
9747
|
+
extendedDataResponsive: {
|
9748
|
+
visible: true,
|
9749
|
+
},
|
9750
|
+
},
|
9751
|
+
{
|
9752
|
+
key: 150,
|
9753
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.IMMERSED_UF_WATER_TREATMENTS,
|
9754
|
+
isGroup: true,
|
9755
|
+
name: 'Group',
|
9756
|
+
},
|
9757
|
+
],
|
9758
|
+
linkDataArray: [],
|
9759
|
+
},
|
9760
|
+
[AtoGojsEditorModel.ENUM_TYPES.BOILER]: {
|
9761
|
+
nodeDataArray: [
|
9762
|
+
{
|
9763
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
|
9764
|
+
group: 100,
|
9765
|
+
loc: '0 0',
|
9766
|
+
data: {
|
9767
|
+
quantity: 2222,
|
9768
|
+
unit: 'm³',
|
9769
|
+
},
|
9770
|
+
name: 'top-left-marker',
|
9771
|
+
color: '#a8438d',
|
9772
|
+
},
|
9773
|
+
{
|
9774
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
|
9775
|
+
group: 100,
|
9776
|
+
data: {
|
9777
|
+
quantity: 3333,
|
9778
|
+
unit: 'm³',
|
9779
|
+
},
|
9780
|
+
name: 'bottom-right-marker',
|
9781
|
+
color: '#a8438d',
|
9782
|
+
extendedData: {
|
9783
|
+
loc: '1220 660',
|
9784
|
+
},
|
9785
|
+
extendedDataResponsive: {
|
9786
|
+
loc: '700 300',
|
9787
|
+
},
|
9788
|
+
},
|
9789
|
+
// For view Chemistry
|
9790
|
+
{
|
9791
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9792
|
+
group: 100,
|
9793
|
+
loc: '10 310',
|
9794
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9795
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER],
|
9796
|
+
minSizeValue: new go.Size(100, NaN),
|
9797
|
+
selectable: false,
|
9798
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY].map((e) => ({
|
9799
|
+
...e,
|
9800
|
+
value: '',
|
9801
|
+
isEditable: true,
|
9802
|
+
maxSizeValue: 140,
|
9803
|
+
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
9804
|
+
})),
|
9805
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9806
|
+
extendedData: {
|
9807
|
+
visible: true,
|
9808
|
+
},
|
9809
|
+
extendedDataResponsive: {
|
9810
|
+
visible: false,
|
9811
|
+
},
|
9812
|
+
},
|
9813
|
+
{
|
9814
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9815
|
+
group: 100,
|
9816
|
+
loc: '10 15',
|
9817
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9818
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS],
|
9819
|
+
minSizeValue: new go.Size(100, NaN),
|
9820
|
+
selectable: false,
|
9821
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.SYSTEM_KPIS_STEAM]
|
9822
|
+
.map((e) => ({
|
9823
|
+
...e,
|
9824
|
+
value: `Mapping in "Steam" section`,
|
9825
|
+
isEditable: false,
|
9826
|
+
maxSizeValue: 220,
|
9827
|
+
waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
9828
|
+
isReadOnly: true,
|
9829
|
+
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
9830
|
+
// font: '10px sans-serif',
|
9831
|
+
maxSizeNameParam: new go.Size(125, 15),
|
9832
|
+
}))
|
9833
|
+
.concat(ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.SYSTEM_KPIS_BOILER_WATER].map((e) => ({
|
9834
|
+
...e,
|
9835
|
+
value: `Mapping in "Boiler Water" section`,
|
9836
|
+
isEditable: false,
|
9837
|
+
maxSizeValue: 220,
|
9838
|
+
waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
9839
|
+
isReadOnly: true,
|
9840
|
+
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
9841
|
+
// font: '10px sans-serif',
|
9842
|
+
maxSizeNameParam: new go.Size(125, 15),
|
9843
|
+
}))),
|
9844
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9845
|
+
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
9846
|
+
extendedData: {
|
9847
|
+
visible: false,
|
9848
|
+
},
|
9849
|
+
extendedDataisFromPlugin: {
|
9850
|
+
visible: true,
|
9851
|
+
},
|
9852
|
+
extendedDataResponsive: {
|
9853
|
+
visible: false,
|
9854
|
+
},
|
9855
|
+
extendedDataisFromPluginResponsive: {
|
9856
|
+
visible: false,
|
9857
|
+
},
|
9858
|
+
},
|
9859
|
+
{
|
9860
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9861
|
+
group: 100,
|
9862
|
+
loc: '400 15',
|
9863
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9864
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.CONDENSATE_RETURN],
|
9865
|
+
minSizeValue: new go.Size(100, NaN),
|
9866
|
+
selectable: false,
|
9867
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.CONDENSATE_RETURN__CHEMISTRY].map((e) => ({
|
9868
|
+
...e,
|
9869
|
+
value: '',
|
9870
|
+
isEditable: true,
|
9871
|
+
maxSizeValue: 140,
|
9872
|
+
waterSystem: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
9873
|
+
})),
|
9874
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9875
|
+
extendedData: {
|
9876
|
+
visible: true,
|
9877
|
+
},
|
9878
|
+
extendedDataResponsive: {
|
9879
|
+
visible: false,
|
9880
|
+
},
|
9881
|
+
},
|
9882
|
+
{
|
9883
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9884
|
+
group: 100,
|
9885
|
+
loc: '840 70',
|
9886
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9887
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.STEAM],
|
9888
|
+
minSizeValue: new go.Size(100, NaN),
|
9889
|
+
selectable: false,
|
9890
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.STEAM__CHEMISTRY].map((e) => ({
|
9891
|
+
...e,
|
9892
|
+
value: '',
|
9893
|
+
isEditable: true,
|
9894
|
+
maxSizeValue: 140,
|
9895
|
+
waterSystem: WATER_SYSTEMS_NAME.STEAM,
|
9896
|
+
})),
|
9897
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9898
|
+
extendedData: {
|
9899
|
+
visible: true,
|
9900
|
+
},
|
9901
|
+
extendedDataResponsive: {
|
9902
|
+
visible: false,
|
9903
|
+
},
|
9904
|
+
},
|
9905
|
+
{
|
9906
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9907
|
+
group: 100,
|
9908
|
+
loc: '460 520',
|
9909
|
+
padding: new go.Margin(0, 0, 0, 0),
|
9910
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BOILER_FEED_WATER],
|
9911
|
+
minSizeValue: new go.Size(100, NaN),
|
9912
|
+
selectable: false,
|
9913
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.BOILER_FEED_WATER__CHEMISTRY].map((e) => ({
|
9914
|
+
...e,
|
9915
|
+
value: '',
|
9916
|
+
isEditable: true,
|
9917
|
+
maxSizeValue: 140,
|
9918
|
+
waterSystem: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
9919
|
+
})),
|
9920
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9921
|
+
extendedData: {
|
9922
|
+
visible: true,
|
9923
|
+
},
|
9924
|
+
extendedDataResponsive: {
|
9925
|
+
visible: false,
|
9926
|
+
},
|
9927
|
+
},
|
9928
|
+
{
|
9929
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9930
|
+
group: 100,
|
9931
|
+
loc: '920 250',
|
9932
|
+
padding: new go.Margin(0, 10, 0, 0),
|
9933
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BOILER_WATER],
|
9934
|
+
minSizeValue: new go.Size(100, NaN),
|
9935
|
+
selectable: false,
|
9936
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.BOILER_WATER].map((e) => ({
|
9937
|
+
...e,
|
9938
|
+
value: '',
|
9939
|
+
isEditable: true,
|
9940
|
+
maxSizeValue: 140,
|
9941
|
+
waterSystem: WATER_SYSTEMS_NAME.BOILER_WATER,
|
9942
|
+
})),
|
9943
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9944
|
+
extendedData: {
|
9945
|
+
visible: true,
|
9946
|
+
},
|
9947
|
+
extendedDataResponsive: {
|
9948
|
+
visible: false,
|
9949
|
+
},
|
9950
|
+
},
|
9951
|
+
{
|
9952
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.IMAGE_TEMPLATE,
|
9953
|
+
source: AtoGojsEditorModel.IMAGE_BOILER_PATH,
|
9954
|
+
group: 100,
|
9955
|
+
loc: '0 0',
|
9956
|
+
selectable: false,
|
9957
|
+
extendedData: {
|
9958
|
+
margin: new go.Margin(150, 160, 0, 0),
|
9959
|
+
},
|
9960
|
+
extendedDataResponsive: {
|
9961
|
+
margin: new go.Margin(20, 20, 0, 0),
|
9962
|
+
},
|
9963
|
+
},
|
9964
|
+
{
|
9965
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9966
|
+
group: 100,
|
9967
|
+
loc: '80 285',
|
9968
|
+
name: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
9969
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
9970
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9971
|
+
extendedData: {
|
9972
|
+
visible: false,
|
9973
|
+
},
|
9974
|
+
extendedDataResponsive: {
|
9975
|
+
visible: true,
|
9976
|
+
},
|
9977
|
+
},
|
9978
|
+
{
|
9979
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9980
|
+
group: 100,
|
9981
|
+
loc: '300 17',
|
9982
|
+
name: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
9983
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
9984
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9985
|
+
extendedData: {
|
9986
|
+
visible: false,
|
9987
|
+
},
|
9988
|
+
extendedDataResponsive: {
|
9989
|
+
visible: true,
|
9990
|
+
},
|
9991
|
+
},
|
9992
|
+
{
|
9993
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9994
|
+
group: 100,
|
9995
|
+
loc: '760 17',
|
9996
|
+
name: WATER_SYSTEMS_NAME.STEAM,
|
9997
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
9998
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9999
|
+
extendedData: {
|
10000
|
+
visible: false,
|
10001
|
+
},
|
10002
|
+
extendedDataResponsive: {
|
10003
|
+
visible: true,
|
10004
|
+
},
|
10005
|
+
},
|
10006
|
+
{
|
10007
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
10008
|
+
group: 100,
|
10009
|
+
loc: '490 400',
|
10010
|
+
name: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
10011
|
+
color: AtoGojsEditorModel.ENUM_COLORS.LIGHT_SKY_BLUE_2,
|
10012
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
10013
|
+
extendedData: {
|
10014
|
+
visible: false,
|
10015
|
+
},
|
10016
|
+
extendedDataResponsive: {
|
10017
|
+
visible: true,
|
10018
|
+
},
|
10019
|
+
},
|
10020
|
+
{
|
10021
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
10022
|
+
group: 100,
|
10023
|
+
loc: '920 160',
|
10024
|
+
name: WATER_SYSTEMS_NAME.BOILER_WATER,
|
10025
|
+
color: AtoGojsEditorModel.ENUM_COLORS.REGENT_ST_BLUE,
|
10026
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
10027
|
+
extendedData: {
|
10028
|
+
visible: false,
|
10029
|
+
},
|
10030
|
+
extendedDataResponsive: {
|
10031
|
+
visible: true,
|
10032
|
+
},
|
10033
|
+
},
|
10034
|
+
// For view Flow
|
10035
|
+
{
|
10036
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
10037
|
+
group: 100,
|
10038
|
+
loc: '15 330',
|
10039
|
+
padding: new go.Margin(0, 0, 0, 0),
|
10040
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER],
|
10041
|
+
minSizeValue: new go.Size(100, NaN),
|
10042
|
+
selectable: false,
|
10043
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW].map((e) => ({
|
10044
|
+
...e,
|
10045
|
+
value: '',
|
10046
|
+
isEditable: true,
|
10047
|
+
maxSizeValue: 140,
|
10048
|
+
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
10049
|
+
})),
|
10050
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10051
|
+
extendedData: {
|
10052
|
+
visible: true,
|
10053
|
+
},
|
10054
|
+
extendedDataResponsive: {
|
10055
|
+
visible: false,
|
10056
|
+
},
|
10057
|
+
},
|
10058
|
+
{
|
10059
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
10060
|
+
group: 100,
|
10061
|
+
loc: '230 50',
|
10062
|
+
padding: new go.Margin(0, 0, 0, 0),
|
10063
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.CONDENSATE_RETURN],
|
10064
|
+
minSizeValue: new go.Size(100, NaN),
|
10065
|
+
selectable: false,
|
10066
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.CONDENSATE_RETURN__FLOW].map((e) => ({
|
10067
|
+
...e,
|
10068
|
+
value: '',
|
10069
|
+
isEditable: true,
|
10070
|
+
maxSizeValue: 140,
|
10071
|
+
waterSystem: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
10072
|
+
})),
|
10073
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10074
|
+
extendedData: {
|
10075
|
+
visible: true,
|
10076
|
+
},
|
10077
|
+
extendedDataResponsive: {
|
10078
|
+
visible: false,
|
10079
|
+
},
|
10080
|
+
},
|
10081
|
+
{
|
10082
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
10083
|
+
group: 100,
|
8958
10084
|
loc: '830 50',
|
8959
10085
|
padding: new go.Margin(0, 0, 0, 0),
|
8960
|
-
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.STEAM],
|
10086
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.STEAM],
|
10087
|
+
minSizeValue: new go.Size(100, NaN),
|
10088
|
+
selectable: false,
|
10089
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.STEAM__FLOW].map((e) => ({
|
10090
|
+
...e,
|
10091
|
+
value: '',
|
10092
|
+
isEditable: true,
|
10093
|
+
maxSizeValue: 140,
|
10094
|
+
waterSystem: WATER_SYSTEMS_NAME.STEAM,
|
10095
|
+
})),
|
10096
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10097
|
+
extendedData: {
|
10098
|
+
visible: true,
|
10099
|
+
},
|
10100
|
+
extendedDataResponsive: {
|
10101
|
+
visible: false,
|
10102
|
+
},
|
10103
|
+
},
|
10104
|
+
{
|
10105
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
10106
|
+
group: 100,
|
10107
|
+
loc: '470 530',
|
10108
|
+
padding: new go.Margin(0, 0, 0, 0),
|
10109
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BOILER_FEED_WATER],
|
10110
|
+
minSizeValue: new go.Size(100, NaN),
|
10111
|
+
selectable: false,
|
10112
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.BOILER_FEED_WATER__FLOW].map((e) => ({
|
10113
|
+
...e,
|
10114
|
+
value: '',
|
10115
|
+
isEditable: true,
|
10116
|
+
maxSizeValue: 140,
|
10117
|
+
waterSystem: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
10118
|
+
})),
|
10119
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10120
|
+
extendedData: {
|
10121
|
+
visible: true,
|
10122
|
+
},
|
10123
|
+
extendedDataResponsive: {
|
10124
|
+
visible: false,
|
10125
|
+
},
|
10126
|
+
},
|
10127
|
+
{
|
10128
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
10129
|
+
group: 100,
|
10130
|
+
loc: '15 220',
|
10131
|
+
padding: new go.Margin(0, 0, 0, 0),
|
10132
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.STEAM_LOSS],
|
10133
|
+
minSizeValue: new go.Size(100, NaN),
|
10134
|
+
selectable: false,
|
10135
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.STEAM_LOSS].map((e) => ({
|
10136
|
+
...e,
|
10137
|
+
value: '',
|
10138
|
+
isEditable: true,
|
10139
|
+
maxSizeValue: 140,
|
10140
|
+
waterSystem: WATER_SYSTEMS_NAME.STEAM_LOSS,
|
10141
|
+
})),
|
10142
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10143
|
+
extendedData: {
|
10144
|
+
visible: true,
|
10145
|
+
},
|
10146
|
+
extendedDataResponsive: {
|
10147
|
+
visible: false,
|
10148
|
+
},
|
10149
|
+
},
|
10150
|
+
{
|
10151
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
10152
|
+
group: 100,
|
10153
|
+
loc: '900 425',
|
10154
|
+
padding: new go.Margin(0, 0, 0, 0),
|
10155
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BLOWDOWN],
|
10156
|
+
minSizeValue: new go.Size(100, NaN),
|
10157
|
+
selectable: false,
|
10158
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.BLOWDOWN].map((e) => ({
|
10159
|
+
...e,
|
10160
|
+
value: '',
|
10161
|
+
isEditable: true,
|
10162
|
+
maxSizeValue: 140,
|
10163
|
+
waterSystem: WATER_SYSTEMS_NAME.BLOWDOWN,
|
10164
|
+
})),
|
10165
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10166
|
+
extendedData: {
|
10167
|
+
visible: true,
|
10168
|
+
},
|
10169
|
+
extendedDataResponsive: {
|
10170
|
+
visible: false,
|
10171
|
+
},
|
10172
|
+
},
|
10173
|
+
{
|
10174
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
10175
|
+
group: 100,
|
10176
|
+
loc: '80 280',
|
10177
|
+
name: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
10178
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
10179
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10180
|
+
extendedData: {
|
10181
|
+
visible: false,
|
10182
|
+
},
|
10183
|
+
extendedDataResponsive: {
|
10184
|
+
visible: true,
|
10185
|
+
},
|
10186
|
+
},
|
10187
|
+
{
|
10188
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
10189
|
+
group: 100,
|
10190
|
+
loc: '300 17',
|
10191
|
+
name: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
10192
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
|
10193
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10194
|
+
extendedData: {
|
10195
|
+
visible: false,
|
10196
|
+
},
|
10197
|
+
extendedDataResponsive: {
|
10198
|
+
visible: true,
|
10199
|
+
},
|
10200
|
+
},
|
10201
|
+
{
|
10202
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
10203
|
+
group: 100,
|
10204
|
+
loc: '760 17',
|
10205
|
+
name: WATER_SYSTEMS_NAME.STEAM,
|
10206
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
10207
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10208
|
+
extendedData: {
|
10209
|
+
visible: false,
|
10210
|
+
},
|
10211
|
+
extendedDataResponsive: {
|
10212
|
+
visible: true,
|
10213
|
+
},
|
10214
|
+
},
|
10215
|
+
{
|
10216
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
10217
|
+
group: 100,
|
10218
|
+
loc: '490 400',
|
10219
|
+
name: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
10220
|
+
color: AtoGojsEditorModel.ENUM_COLORS.LIGHT_SKY_BLUE_2,
|
10221
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10222
|
+
extendedData: {
|
10223
|
+
visible: false,
|
10224
|
+
},
|
10225
|
+
extendedDataResponsive: {
|
10226
|
+
visible: true,
|
10227
|
+
},
|
10228
|
+
},
|
10229
|
+
{
|
10230
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
10231
|
+
group: 100,
|
10232
|
+
loc: '380 200',
|
10233
|
+
name: WATER_SYSTEMS_NAME.STEAM_LOSS,
|
10234
|
+
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
10235
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10236
|
+
extendedData: {
|
10237
|
+
visible: false,
|
10238
|
+
},
|
10239
|
+
extendedDataResponsive: {
|
10240
|
+
visible: true,
|
10241
|
+
},
|
10242
|
+
},
|
10243
|
+
{
|
10244
|
+
key: 100,
|
10245
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.BOILER,
|
10246
|
+
isGroup: true,
|
10247
|
+
name: 'Group',
|
10248
|
+
},
|
10249
|
+
],
|
10250
|
+
linkDataArray: [],
|
10251
|
+
},
|
10252
|
+
[AtoGojsEditorModel.ENUM_TYPES.OTHER]: {
|
10253
|
+
nodeDataArray: [
|
10254
|
+
{
|
10255
|
+
key: 90,
|
10256
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
|
10257
|
+
name: 'Inflow',
|
10258
|
+
value: '0 kl',
|
10259
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
10260
|
+
group: 100,
|
10261
|
+
loc: '0 140.5',
|
10262
|
+
},
|
10263
|
+
{
|
10264
|
+
key: 91,
|
10265
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
|
10266
|
+
name: 'Outflow',
|
10267
|
+
value: '0 kl',
|
10268
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
10269
|
+
group: 100,
|
10270
|
+
loc: '300 134.5',
|
10271
|
+
},
|
10272
|
+
{
|
10273
|
+
key: 92,
|
10274
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
|
10275
|
+
name: 'Loss',
|
10276
|
+
value: 'M',
|
10277
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
10278
|
+
group: 100,
|
10279
|
+
colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
|
10280
|
+
loc: '160.5 0',
|
10281
|
+
},
|
10282
|
+
{
|
10283
|
+
key: 99,
|
10284
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_OTHER,
|
10285
|
+
group: 100,
|
10286
|
+
loc: '92.5 95',
|
10287
|
+
},
|
10288
|
+
{
|
10289
|
+
key: 100,
|
10290
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.OTHER,
|
10291
|
+
isGroup: true,
|
10292
|
+
name: 'Group',
|
10293
|
+
},
|
10294
|
+
],
|
10295
|
+
linkDataArray: [
|
10296
|
+
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
10297
|
+
{ from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
10298
|
+
{ from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
10299
|
+
],
|
10300
|
+
},
|
10301
|
+
[AtoGojsEditorModel.ENUM_TYPES.LANDSCAPING_IRRIGATION]: {
|
10302
|
+
nodeDataArray: [
|
10303
|
+
{
|
10304
|
+
key: 90,
|
10305
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
|
10306
|
+
name: 'Inflow',
|
10307
|
+
value: '0 kl',
|
10308
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
10309
|
+
group: 100,
|
10310
|
+
loc: '0 140.5',
|
10311
|
+
},
|
10312
|
+
{
|
10313
|
+
key: 91,
|
10314
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
|
10315
|
+
name: 'Loss',
|
10316
|
+
value: 'M',
|
10317
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
10318
|
+
group: 100,
|
10319
|
+
colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
|
10320
|
+
loc: '300 140.5',
|
10321
|
+
},
|
10322
|
+
{
|
10323
|
+
key: 99,
|
10324
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_DISCHARGE,
|
10325
|
+
group: 100,
|
10326
|
+
loc: '92.5 95',
|
10327
|
+
},
|
10328
|
+
{
|
10329
|
+
key: 100,
|
10330
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.LANDSCAPING_IRRIGATION,
|
10331
|
+
isGroup: true,
|
10332
|
+
name: 'Group',
|
10333
|
+
},
|
10334
|
+
],
|
10335
|
+
linkDataArray: [
|
10336
|
+
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
10337
|
+
{ from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
10338
|
+
],
|
10339
|
+
},
|
10340
|
+
[AtoGojsEditorModel.ENUM_TYPES.PRESSURIZED_UF_WATER_TREATMENTS]: {
|
10341
|
+
nodeDataArray: [
|
10342
|
+
{
|
10343
|
+
key: 86,
|
10344
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
|
10345
|
+
group: 100,
|
10346
|
+
loc: '0 0',
|
10347
|
+
data: {
|
10348
|
+
quantity: 2222,
|
10349
|
+
unit: 'm³',
|
10350
|
+
},
|
10351
|
+
name: 'top-left-marker',
|
10352
|
+
color: '#a8438d',
|
10353
|
+
},
|
10354
|
+
{
|
10355
|
+
key: 87,
|
10356
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
|
10357
|
+
group: 100,
|
10358
|
+
data: {
|
10359
|
+
quantity: 3333,
|
10360
|
+
unit: 'm³',
|
10361
|
+
},
|
10362
|
+
name: 'bottom-right-marker',
|
10363
|
+
color: '#a8438d',
|
10364
|
+
extendedData: {
|
10365
|
+
loc: '1000 700',
|
10366
|
+
},
|
10367
|
+
extendedDataResponsive: {
|
10368
|
+
loc: '700 300',
|
10369
|
+
},
|
10370
|
+
},
|
10371
|
+
{
|
10372
|
+
key: 88,
|
10373
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
10374
|
+
group: 100,
|
10375
|
+
loc: '320 60',
|
10376
|
+
padding: new go.Margin(0, 0, 0, 0),
|
10377
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.EVAPORATION_LOSS],
|
10378
|
+
minSizeValue: new go.Size(100, NaN),
|
10379
|
+
selectable: false,
|
10380
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.EVAPORATION_LOSS].map((e) => ({
|
10381
|
+
...e,
|
10382
|
+
value: '',
|
10383
|
+
isEditable: true,
|
10384
|
+
maxSizeValue: 140,
|
10385
|
+
})),
|
10386
|
+
visible: true,
|
10387
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10388
|
+
extendedData: {
|
10389
|
+
visible: true,
|
10390
|
+
},
|
10391
|
+
extendedDataResponsive: {
|
10392
|
+
visible: false,
|
10393
|
+
},
|
10394
|
+
},
|
10395
|
+
{
|
10396
|
+
key: 89,
|
10397
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
10398
|
+
group: 100,
|
10399
|
+
padding: new go.Margin(0, 0, 0, 0),
|
10400
|
+
loc: '30 350',
|
10401
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW],
|
8961
10402
|
minSizeValue: new go.Size(100, NaN),
|
8962
10403
|
selectable: false,
|
8963
|
-
dataTable:
|
10404
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW].map((e) => ({
|
8964
10405
|
...e,
|
8965
10406
|
value: '',
|
8966
10407
|
isEditable: true,
|
8967
|
-
maxSizeValue:
|
8968
|
-
waterSystem: WATER_SYSTEMS_NAME.STEAM,
|
10408
|
+
maxSizeValue: 120,
|
8969
10409
|
})),
|
8970
10410
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8971
10411
|
extendedData: {
|
@@ -8976,21 +10416,21 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8976
10416
|
},
|
8977
10417
|
},
|
8978
10418
|
{
|
10419
|
+
key: 90,
|
8979
10420
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8980
10421
|
group: 100,
|
8981
|
-
loc: '470 530',
|
8982
10422
|
padding: new go.Margin(0, 0, 0, 0),
|
8983
|
-
|
10423
|
+
loc: '10 270',
|
10424
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY],
|
8984
10425
|
minSizeValue: new go.Size(100, NaN),
|
8985
10426
|
selectable: false,
|
8986
|
-
dataTable:
|
10427
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY].map((e) => ({
|
8987
10428
|
...e,
|
8988
10429
|
value: '',
|
8989
10430
|
isEditable: true,
|
8990
|
-
maxSizeValue:
|
8991
|
-
waterSystem: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
10431
|
+
maxSizeValue: 120,
|
8992
10432
|
})),
|
8993
|
-
assetLayers: ATO_ASSET_LAYERS.
|
10433
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8994
10434
|
extendedData: {
|
8995
10435
|
visible: true,
|
8996
10436
|
},
|
@@ -8999,19 +10439,19 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8999
10439
|
},
|
9000
10440
|
},
|
9001
10441
|
{
|
10442
|
+
key: 91,
|
9002
10443
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9003
10444
|
group: 100,
|
9004
|
-
loc: '15 220',
|
9005
10445
|
padding: new go.Margin(0, 0, 0, 0),
|
9006
|
-
|
10446
|
+
loc: '570 250',
|
10447
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.WARMER_WATER],
|
9007
10448
|
minSizeValue: new go.Size(100, NaN),
|
9008
10449
|
selectable: false,
|
9009
|
-
dataTable:
|
10450
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.WARMER_WATER].map((e) => ({
|
9010
10451
|
...e,
|
9011
10452
|
value: '',
|
9012
10453
|
isEditable: true,
|
9013
|
-
maxSizeValue:
|
9014
|
-
waterSystem: WATER_SYSTEMS_NAME.STEAM_LOSS,
|
10454
|
+
maxSizeValue: 120,
|
9015
10455
|
})),
|
9016
10456
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9017
10457
|
extendedData: {
|
@@ -9022,19 +10462,19 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9022
10462
|
},
|
9023
10463
|
},
|
9024
10464
|
{
|
10465
|
+
key: 92,
|
9025
10466
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9026
10467
|
group: 100,
|
9027
|
-
loc: '900 425',
|
9028
10468
|
padding: new go.Margin(0, 0, 0, 0),
|
9029
|
-
|
10469
|
+
loc: '570 560',
|
10470
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER],
|
9030
10471
|
minSizeValue: new go.Size(100, NaN),
|
9031
10472
|
selectable: false,
|
9032
|
-
dataTable:
|
10473
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER].map((e) => ({
|
9033
10474
|
...e,
|
9034
10475
|
value: '',
|
9035
10476
|
isEditable: true,
|
9036
|
-
maxSizeValue:
|
9037
|
-
waterSystem: WATER_SYSTEMS_NAME.BLOWDOWN,
|
10477
|
+
maxSizeValue: 120,
|
9038
10478
|
})),
|
9039
10479
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9040
10480
|
extendedData: {
|
@@ -9045,40 +10485,109 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9045
10485
|
},
|
9046
10486
|
},
|
9047
10487
|
{
|
9048
|
-
|
10488
|
+
key: 93,
|
10489
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9049
10490
|
group: 100,
|
9050
|
-
|
9051
|
-
|
9052
|
-
|
9053
|
-
|
10491
|
+
padding: new go.Margin(0, 0, 0, 0),
|
10492
|
+
loc: '450 20',
|
10493
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS],
|
10494
|
+
minSizeValue: new go.Size(100, NaN),
|
10495
|
+
selectable: false,
|
10496
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS].map((e) => ({
|
10497
|
+
...e,
|
10498
|
+
value: '',
|
10499
|
+
isEditable: true,
|
10500
|
+
maxSizeValue: 130,
|
10501
|
+
})),
|
10502
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9054
10503
|
extendedData: {
|
9055
|
-
visible:
|
10504
|
+
visible: true,
|
9056
10505
|
},
|
9057
10506
|
extendedDataResponsive: {
|
10507
|
+
visible: false,
|
10508
|
+
},
|
10509
|
+
},
|
10510
|
+
{
|
10511
|
+
key: 94,
|
10512
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
10513
|
+
group: 100,
|
10514
|
+
padding: new go.Margin(0, 0, 0, 0),
|
10515
|
+
loc: '730 20',
|
10516
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY],
|
10517
|
+
minSizeValue: new go.Size(100, NaN),
|
10518
|
+
selectable: false,
|
10519
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => ({
|
10520
|
+
...e,
|
10521
|
+
value: '',
|
10522
|
+
isEditable: true,
|
10523
|
+
maxSizeValue: 130,
|
10524
|
+
})),
|
10525
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
10526
|
+
extendedData: {
|
9058
10527
|
visible: true,
|
9059
10528
|
},
|
10529
|
+
extendedDataResponsive: {
|
10530
|
+
visible: false,
|
10531
|
+
},
|
9060
10532
|
},
|
9061
10533
|
{
|
9062
|
-
|
10534
|
+
key: 95,
|
10535
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
9063
10536
|
group: 100,
|
9064
|
-
|
9065
|
-
|
9066
|
-
|
9067
|
-
|
10537
|
+
padding: new go.Margin(0, 0, 0, 0),
|
10538
|
+
loc: '10 20',
|
10539
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS],
|
10540
|
+
minSizeValue: new go.Size(100, NaN),
|
10541
|
+
selectable: false,
|
10542
|
+
dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]
|
10543
|
+
.map((e) => ({
|
10544
|
+
...e,
|
10545
|
+
value: '',
|
10546
|
+
isEditable: true,
|
10547
|
+
maxSizeValue: 130,
|
10548
|
+
extendedDataIsFromPlugin: {
|
10549
|
+
maxSizeValue: 230,
|
10550
|
+
},
|
10551
|
+
}))
|
10552
|
+
.concat(ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => ({
|
10553
|
+
...e,
|
10554
|
+
value: `Mapping in "Cooling Water Chemistry" section`,
|
10555
|
+
isEditable: false,
|
10556
|
+
maxSizeValue: 250,
|
10557
|
+
isReadOnly: true,
|
10558
|
+
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
10559
|
+
// font: '10px sans-serif',
|
10560
|
+
visible: false,
|
10561
|
+
}))),
|
10562
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9068
10563
|
extendedData: {
|
10564
|
+
visible: true,
|
10565
|
+
},
|
10566
|
+
extendedDataResponsive: {
|
9069
10567
|
visible: false,
|
9070
10568
|
},
|
10569
|
+
},
|
10570
|
+
{
|
10571
|
+
key: 96,
|
10572
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.IMAGE_TEMPLATE,
|
10573
|
+
source: AtoGojsEditorModel.IMAGE_COOLING_TOWER_PATH,
|
10574
|
+
group: 100,
|
10575
|
+
loc: '0 0',
|
10576
|
+
selectable: false,
|
10577
|
+
extendedData: {
|
10578
|
+
margin: new go.Margin(195, 20, 0, 0),
|
10579
|
+
},
|
9071
10580
|
extendedDataResponsive: {
|
9072
|
-
|
10581
|
+
margin: new go.Margin(20, 20, 0, 0),
|
9073
10582
|
},
|
9074
10583
|
},
|
9075
10584
|
{
|
10585
|
+
key: 97,
|
9076
10586
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9077
10587
|
group: 100,
|
9078
|
-
loc: '
|
9079
|
-
name:
|
10588
|
+
loc: '250 25',
|
10589
|
+
name: 'Evaporation Loss',
|
9080
10590
|
color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
|
9081
|
-
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9082
10591
|
extendedData: {
|
9083
10592
|
visible: false,
|
9084
10593
|
},
|
@@ -9087,12 +10596,12 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9087
10596
|
},
|
9088
10597
|
},
|
9089
10598
|
{
|
10599
|
+
key: 98,
|
9090
10600
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9091
10601
|
group: 100,
|
9092
|
-
loc: '
|
9093
|
-
name:
|
9094
|
-
color: AtoGojsEditorModel.ENUM_COLORS.
|
9095
|
-
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10602
|
+
loc: '110 290',
|
10603
|
+
name: 'Makeup Water',
|
10604
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
9096
10605
|
extendedData: {
|
9097
10606
|
visible: false,
|
9098
10607
|
},
|
@@ -9101,12 +10610,12 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9101
10610
|
},
|
9102
10611
|
},
|
9103
10612
|
{
|
10613
|
+
key: 99,
|
9104
10614
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
9105
10615
|
group: 100,
|
9106
|
-
loc: '
|
9107
|
-
name:
|
9108
|
-
color: AtoGojsEditorModel.ENUM_COLORS.
|
9109
|
-
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10616
|
+
loc: '580 435',
|
10617
|
+
name: 'Blowdown Water',
|
10618
|
+
color: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
|
9110
10619
|
extendedData: {
|
9111
10620
|
visible: false,
|
9112
10621
|
},
|
@@ -9116,116 +10625,30 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9116
10625
|
},
|
9117
10626
|
{
|
9118
10627
|
key: 100,
|
9119
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.
|
10628
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PRESSURIZED_UF_WATER_TREATMENTS,
|
9120
10629
|
isGroup: true,
|
9121
10630
|
name: 'Group',
|
9122
10631
|
},
|
9123
10632
|
],
|
9124
10633
|
linkDataArray: [],
|
9125
10634
|
},
|
9126
|
-
[AtoGojsEditorModel.ENUM_TYPES.OTHER]: {
|
9127
|
-
nodeDataArray: [
|
9128
|
-
{
|
9129
|
-
key: 90,
|
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,
|
9143
|
-
group: 100,
|
9144
|
-
loc: '300 134.5',
|
9145
|
-
},
|
9146
|
-
{
|
9147
|
-
key: 92,
|
9148
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
|
9149
|
-
name: 'Loss',
|
9150
|
-
value: 'M',
|
9151
|
-
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
9152
|
-
group: 100,
|
9153
|
-
colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
|
9154
|
-
loc: '160.5 0',
|
9155
|
-
},
|
9156
|
-
{
|
9157
|
-
key: 99,
|
9158
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_OTHER,
|
9159
|
-
group: 100,
|
9160
|
-
loc: '92.5 95',
|
9161
|
-
},
|
9162
|
-
{
|
9163
|
-
key: 100,
|
9164
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.OTHER,
|
9165
|
-
isGroup: true,
|
9166
|
-
name: 'Group',
|
9167
|
-
},
|
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
|
-
{
|
9178
|
-
key: 90,
|
9179
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
|
9180
|
-
name: 'Inflow',
|
9181
|
-
value: '0 kl',
|
9182
|
-
color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
|
9183
|
-
group: 100,
|
9184
|
-
loc: '0 140.5',
|
9185
|
-
},
|
9186
|
-
{
|
9187
|
-
key: 91,
|
9188
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
|
9189
|
-
name: 'Loss',
|
9190
|
-
value: 'M',
|
9191
|
-
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
9192
|
-
group: 100,
|
9193
|
-
colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
|
9194
|
-
loc: '300 140.5',
|
9195
|
-
},
|
9196
|
-
{
|
9197
|
-
key: 99,
|
9198
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_DISCHARGE,
|
9199
|
-
group: 100,
|
9200
|
-
loc: '92.5 95',
|
9201
|
-
},
|
9202
|
-
{
|
9203
|
-
key: 100,
|
9204
|
-
type: AtoGojsEditorModel.ENUM_TEMPLATES.LANDSCAPING_IRRIGATION,
|
9205
|
-
isGroup: true,
|
9206
|
-
name: 'Group',
|
9207
|
-
},
|
9208
|
-
],
|
9209
|
-
linkDataArray: [
|
9210
|
-
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
9211
|
-
{ from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
9212
|
-
],
|
9213
|
-
},
|
9214
10635
|
};
|
9215
10636
|
|
9216
10637
|
class AtoAssetParamsViewComponent {
|
9217
|
-
|
9218
|
-
|
9219
|
-
|
10638
|
+
constructor() {
|
10639
|
+
this.isEditView = false;
|
10640
|
+
this.data = [];
|
10641
|
+
this.clickParamTableRow = new EventEmitter();
|
10642
|
+
}
|
9220
10643
|
onClickRowParam(itemTable) {
|
9221
10644
|
if (this.isEditView && itemTable?.isEditable) {
|
9222
10645
|
this.clickParamTableRow.emit(itemTable);
|
9223
10646
|
}
|
9224
10647
|
}
|
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
10648
|
}
|
9228
|
-
i0.ɵɵ
|
10649
|
+
AtoAssetParamsViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoAssetParamsViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
10650
|
+
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"] }] });
|
10651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoAssetParamsViewComponent, decorators: [{
|
9229
10652
|
type: Component,
|
9230
10653
|
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
10654
|
}], propDecorators: { isEditView: [{
|
@@ -9237,22 +10660,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
9237
10660
|
}] } });
|
9238
10661
|
|
9239
10662
|
class AssetFlowComponent {
|
9240
|
-
|
9241
|
-
|
9242
|
-
|
9243
|
-
|
9244
|
-
|
9245
|
-
|
9246
|
-
|
9247
|
-
|
9248
|
-
|
9249
|
-
|
9250
|
-
|
9251
|
-
// direction: 0,
|
9252
|
-
}),
|
9253
|
-
// isReadOnly: true,
|
9254
|
-
};
|
9255
|
-
_flowData;
|
10663
|
+
constructor() {
|
10664
|
+
this.onClickParamOfTableEvent = new EventEmitter();
|
10665
|
+
this.isUseBase64 = false;
|
10666
|
+
this.$ = go.GraphObject.make;
|
10667
|
+
this.options = {
|
10668
|
+
layout: this.$(go.LayeredDigraphLayout, {
|
10669
|
+
// direction: 0,
|
10670
|
+
}),
|
10671
|
+
// isReadOnly: true,
|
10672
|
+
};
|
10673
|
+
}
|
9256
10674
|
set flowData(v) {
|
9257
10675
|
this._flowData = v;
|
9258
10676
|
this.updateDataTableAssetParams({ ...v, assetLayer: this.assetLayer });
|
@@ -9260,14 +10678,10 @@ class AssetFlowComponent {
|
|
9260
10678
|
get flowData() {
|
9261
10679
|
return this._flowData;
|
9262
10680
|
}
|
9263
|
-
// Reponsive
|
9264
|
-
dataTableAssetParams;
|
9265
10681
|
// @Input() isResponsiveView = false;
|
9266
10682
|
get isResponsiveView() {
|
9267
10683
|
return window.innerWidth < 1024;
|
9268
10684
|
}
|
9269
|
-
getFlowDataCallBack;
|
9270
|
-
timeoutResizeWindow;
|
9271
10685
|
onResize(event) {
|
9272
10686
|
// Now only Support Cooling Tower Responsive
|
9273
10687
|
if (this.timeoutResizeWindow) {
|
@@ -9364,10 +10778,10 @@ class AssetFlowComponent {
|
|
9364
10778
|
}
|
9365
10779
|
});
|
9366
10780
|
}
|
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
10781
|
}
|
9370
|
-
i0.ɵɵ
|
10782
|
+
AssetFlowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetFlowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
10783
|
+
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"] }] });
|
10784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetFlowComponent, decorators: [{
|
9371
10785
|
type: Component,
|
9372
10786
|
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
10787
|
}], propDecorators: { assetLayer: [{
|
@@ -9398,8 +10812,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
9398
10812
|
}] } });
|
9399
10813
|
|
9400
10814
|
class AtoNgVarDirective {
|
9401
|
-
templateRef;
|
9402
|
-
vcRef;
|
9403
10815
|
set ngAtoVar(context) {
|
9404
10816
|
this.context.$implicit = this.context.ngAtoVar = context;
|
9405
10817
|
if (!this.hasView) {
|
@@ -9407,43 +10819,43 @@ class AtoNgVarDirective {
|
|
9407
10819
|
this.hasView = true;
|
9408
10820
|
}
|
9409
10821
|
}
|
9410
|
-
context = {
|
9411
|
-
$implicit: null,
|
9412
|
-
ngAtoVar: null,
|
9413
|
-
};
|
9414
|
-
hasView = false;
|
9415
10822
|
constructor(templateRef, vcRef) {
|
9416
10823
|
this.templateRef = templateRef;
|
9417
10824
|
this.vcRef = vcRef;
|
10825
|
+
this.context = {
|
10826
|
+
$implicit: null,
|
10827
|
+
ngAtoVar: null,
|
10828
|
+
};
|
10829
|
+
this.hasView = false;
|
9418
10830
|
}
|
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
10831
|
}
|
9422
|
-
i0.ɵɵ
|
10832
|
+
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 });
|
10833
|
+
AtoNgVarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AtoNgVarDirective, selector: "[ngAtoVar]", inputs: { ngAtoVar: "ngAtoVar" }, ngImport: i0 });
|
10834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoNgVarDirective, decorators: [{
|
9423
10835
|
type: Directive,
|
9424
10836
|
args: [{
|
9425
10837
|
selector: '[ngAtoVar]',
|
9426
10838
|
}]
|
9427
|
-
}], ctorParameters: ()
|
10839
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }]; }, propDecorators: { ngAtoVar: [{
|
9428
10840
|
type: Input
|
9429
10841
|
}] } });
|
9430
10842
|
|
9431
10843
|
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
10844
|
}
|
9446
|
-
i0.ɵɵ
|
10845
|
+
AtoWaterLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
10846
|
+
AtoWaterLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule, declarations: [AtoWaterLibComponent,
|
10847
|
+
AtoFlowDiagramLibComponent,
|
10848
|
+
AssetFlowComponent,
|
10849
|
+
AtoLoadingDirective,
|
10850
|
+
AtoAssetParamsViewComponent,
|
10851
|
+
AtoNgVarDirective], imports: [CommonModule], exports: [AtoWaterLibComponent,
|
10852
|
+
AtoFlowDiagramLibComponent,
|
10853
|
+
AssetFlowComponent,
|
10854
|
+
AtoLoadingDirective,
|
10855
|
+
AtoAssetParamsViewComponent,
|
10856
|
+
AtoNgVarDirective] });
|
10857
|
+
AtoWaterLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule, imports: [CommonModule] });
|
10858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule, decorators: [{
|
9447
10859
|
type: NgModule,
|
9448
10860
|
args: [{
|
9449
10861
|
declarations: [
|
@@ -9476,5 +10888,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
9476
10888
|
* Generated bundle index. Do not edit.
|
9477
10889
|
*/
|
9478
10890
|
|
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 };
|
10891
|
+
export { ASSET_CATEGORY_PARAMS, ASSET_CATEGORY_PARAMS__BOILER, ASSET_CATEGORY_PARAMS__IMMERSED_UF, ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT, 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, STYLE_TABLE_PARAM, WATER_SYSTEMS_NAME };
|
9480
10892
|
//# sourceMappingURL=ato-water-lib.mjs.map
|