ato-water-lib 0.0.102 → 0.0.104
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/lib/components/asset-flow/asset-flow.component.mjs +3 -3
- package/esm2020/lib/constants/components-group-const.mjs +48 -27
- package/fesm2015/ato-water-lib.mjs +46 -42
- package/fesm2015/ato-water-lib.mjs.map +1 -1
- package/fesm2020/ato-water-lib.mjs +49 -28
- package/fesm2020/ato-water-lib.mjs.map +1 -1
- package/lib/constants/components-group-const.d.ts +45 -10
- package/package.json +1 -1
@@ -7005,8 +7005,10 @@ const AtoGoJSBase64 = {
|
|
7005
7005
|
|
7006
7006
|
var ATO_MAPPER_FROM;
|
7007
7007
|
(function (ATO_MAPPER_FROM) {
|
7008
|
-
|
7009
|
-
ATO_MAPPER_FROM["
|
7008
|
+
// HFW = 'HFW',
|
7009
|
+
ATO_MAPPER_FROM["INDICATOR"] = "Indicator";
|
7010
|
+
ATO_MAPPER_FROM["NORMAL"] = "Nomarl";
|
7011
|
+
// PLUGIN = 'Plugin',
|
7010
7012
|
})(ATO_MAPPER_FROM || (ATO_MAPPER_FROM = {}));
|
7011
7013
|
var ENUM_ASSET_PARAMETERS;
|
7012
7014
|
(function (ENUM_ASSET_PARAMETERS) {
|
@@ -7107,7 +7109,7 @@ var ENUM_ASSET_PARAMETERS;
|
|
7107
7109
|
// !!!WARNING: Common. This is only use for name
|
7108
7110
|
ENUM_ASSET_PARAMETERS["COMMON_RANGE"] = "Range";
|
7109
7111
|
ENUM_ASSET_PARAMETERS["COMMON_APPROACH"] = "Approach";
|
7110
|
-
ENUM_ASSET_PARAMETERS["COMMON_WET_BULB_TEMPERATURE"] = "
|
7112
|
+
ENUM_ASSET_PARAMETERS["COMMON_WET_BULB_TEMPERATURE"] = "Wet Bulb Temperature";
|
7111
7113
|
ENUM_ASSET_PARAMETERS["COMMON_FAN_SPEED"] = "Fan Speed";
|
7112
7114
|
ENUM_ASSET_PARAMETERS["COMMON_RETURN_TEMPERATURE"] = "Return Temperature";
|
7113
7115
|
ENUM_ASSET_PARAMETERS["COMMON_SUPPLY_TEMPERATURE"] = "Supply Temperature";
|
@@ -7608,7 +7610,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7608
7610
|
isEditable: false,
|
7609
7611
|
isReadOnly: true,
|
7610
7612
|
visible: false,
|
7611
|
-
isFrom: ATO_MAPPER_FROM.
|
7613
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7612
7614
|
},
|
7613
7615
|
[ENUM_ASSET_PARAMETERS.DATA_ANALYSIS_WET_BULB_TEMPERATURE]: {
|
7614
7616
|
name: ENUM_ASSET_PARAMETERS.COMMON_WET_BULB_TEMPERATURE,
|
@@ -7621,7 +7623,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7621
7623
|
isEditable: false,
|
7622
7624
|
isReadOnly: true,
|
7623
7625
|
visible: false,
|
7624
|
-
isFrom: ATO_MAPPER_FROM.
|
7626
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7625
7627
|
},
|
7626
7628
|
[ENUM_ASSET_PARAMETERS.DATA_ANALYSIS_APPROACH]: {
|
7627
7629
|
name: ENUM_ASSET_PARAMETERS.COMMON_APPROACH,
|
@@ -7630,7 +7632,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7630
7632
|
isEditable: false,
|
7631
7633
|
isReadOnly: true,
|
7632
7634
|
visible: false,
|
7633
|
-
isFrom: ATO_MAPPER_FROM.
|
7635
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7634
7636
|
},
|
7635
7637
|
// Cooling Tower -- Performance -- Efficiency and Performance
|
7636
7638
|
[ENUM_ASSET_PARAMETERS.EFFICIENCY_DAILY_AVERAGE]: {
|
@@ -7689,11 +7691,11 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7689
7691
|
key: ENUM_ASSET_PARAMETERS.DESIGN_RETURN_TEMPERATURE,
|
7690
7692
|
},
|
7691
7693
|
[ENUM_ASSET_PARAMETERS.DESIGN_RANGE]: {
|
7692
|
-
name: ENUM_ASSET_PARAMETERS.
|
7694
|
+
name: ENUM_ASSET_PARAMETERS.COMMON_RANGE,
|
7693
7695
|
key: ENUM_ASSET_PARAMETERS.DESIGN_RANGE,
|
7694
7696
|
},
|
7695
7697
|
[ENUM_ASSET_PARAMETERS.DESIGN_APPROACH]: {
|
7696
|
-
name: ENUM_ASSET_PARAMETERS.
|
7698
|
+
name: ENUM_ASSET_PARAMETERS.COMMON_APPROACH,
|
7697
7699
|
key: ENUM_ASSET_PARAMETERS.DESIGN_APPROACH,
|
7698
7700
|
},
|
7699
7701
|
// Cooling Tower -- Performance -- Systems KPIs
|
@@ -7704,7 +7706,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7704
7706
|
isEditable: false,
|
7705
7707
|
isReadOnly: true,
|
7706
7708
|
visible: false,
|
7707
|
-
isFrom: ATO_MAPPER_FROM.
|
7709
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7708
7710
|
},
|
7709
7711
|
[ENUM_ASSET_PARAMETERS.KPIS_SUPPLY_TEMPERATURE]: {
|
7710
7712
|
name: ENUM_ASSET_PARAMETERS.COMMON_SUPPLY_TEMPERATURE,
|
@@ -7713,7 +7715,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7713
7715
|
isEditable: false,
|
7714
7716
|
isReadOnly: true,
|
7715
7717
|
visible: false,
|
7716
|
-
isFrom: ATO_MAPPER_FROM.
|
7718
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7717
7719
|
},
|
7718
7720
|
[ENUM_ASSET_PARAMETERS.KPIS_RANGE]: {
|
7719
7721
|
name: ENUM_ASSET_PARAMETERS.COMMON_RANGE,
|
@@ -7722,7 +7724,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7722
7724
|
isEditable: false,
|
7723
7725
|
isReadOnly: true,
|
7724
7726
|
visible: false,
|
7725
|
-
isFrom: ATO_MAPPER_FROM.
|
7727
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7726
7728
|
},
|
7727
7729
|
[ENUM_ASSET_PARAMETERS.KPIS_APPROACH]: {
|
7728
7730
|
name: ENUM_ASSET_PARAMETERS.COMMON_APPROACH,
|
@@ -7731,7 +7733,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7731
7733
|
isEditable: false,
|
7732
7734
|
isReadOnly: true,
|
7733
7735
|
visible: false,
|
7734
|
-
isFrom: ATO_MAPPER_FROM.
|
7736
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7735
7737
|
},
|
7736
7738
|
[ENUM_ASSET_PARAMETERS.KPIS_EFFICIENCY_ADJUSTED_DAILY_AVERAGE]: {
|
7737
7739
|
name: 'Efficiency Adjusted Daily Average',
|
@@ -7740,7 +7742,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7740
7742
|
isEditable: false,
|
7741
7743
|
isReadOnly: true,
|
7742
7744
|
visible: false,
|
7743
|
-
isFrom: ATO_MAPPER_FROM.
|
7745
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7744
7746
|
},
|
7745
7747
|
[ENUM_ASSET_PARAMETERS.KPIS_LG_RATIO]: {
|
7746
7748
|
name: ENUM_ASSET_PARAMETERS.COMMON_LG_RATIO,
|
@@ -7749,7 +7751,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7749
7751
|
isEditable: false,
|
7750
7752
|
isReadOnly: true,
|
7751
7753
|
visible: false,
|
7752
|
-
isFrom: ATO_MAPPER_FROM.
|
7754
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7753
7755
|
},
|
7754
7756
|
};
|
7755
7757
|
const STYLE_TABLE_PARAM = {
|
@@ -9189,41 +9191,41 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9189
9191
|
}, extendedDataResponsive: {
|
9190
9192
|
visible: false,
|
9191
9193
|
} }),
|
9192
|
-
Object.assign(Object.assign({ key: 89, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '30 350' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.FLOW, extendedData: {
|
9194
|
+
Object.assign(Object.assign({ key: 89, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '30 350' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.FLOW, extendedData: {
|
9193
9195
|
visible: true,
|
9194
9196
|
}, extendedDataResponsive: {
|
9195
9197
|
visible: false,
|
9196
9198
|
} }),
|
9197
|
-
Object.assign(Object.assign({ key: 90, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 270' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9199
|
+
Object.assign(Object.assign({ key: 90, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 270' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9198
9200
|
visible: true,
|
9199
9201
|
}, extendedDataResponsive: {
|
9200
9202
|
visible: false,
|
9201
9203
|
} }),
|
9202
|
-
Object.assign(Object.assign({ key: 91, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '570 250' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.WARMER_WATER]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.WARMER_WATER].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.FLOW, extendedData: {
|
9204
|
+
Object.assign(Object.assign({ key: 91, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '570 250' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.WARMER_WATER]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.WARMER_WATER].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, waterSystem: WATER_SYSTEMS_NAME.WARMER_WATER, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.FLOW, extendedData: {
|
9203
9205
|
visible: true,
|
9204
9206
|
}, extendedDataResponsive: {
|
9205
9207
|
visible: false,
|
9206
9208
|
} }),
|
9207
|
-
Object.assign(Object.assign({ key: 92, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '570 560' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.FLOW, extendedData: {
|
9209
|
+
Object.assign(Object.assign({ key: 92, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '570 560' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, waterSystem: WATER_SYSTEMS_NAME.BLOWDOWN_WATER, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.FLOW, extendedData: {
|
9208
9210
|
visible: true,
|
9209
9211
|
}, extendedDataResponsive: {
|
9210
9212
|
visible: false,
|
9211
9213
|
} }),
|
9212
|
-
Object.assign(Object.assign({ key: 93, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '450 20' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(130, 14) }))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9214
|
+
Object.assign(Object.assign({ key: 93, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '450 20' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, waterSystem: WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS, maxSizeValue: new go.Size(130, 14) }))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9213
9215
|
visible: true,
|
9214
9216
|
}, extendedDataResponsive: {
|
9215
9217
|
visible: false,
|
9216
9218
|
} }),
|
9217
|
-
Object.assign(Object.assign({ key: 94, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '730 20' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(130, 14) }))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9219
|
+
Object.assign(Object.assign({ key: 94, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '730 20' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, waterSystem: WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY, maxSizeValue: new go.Size(130, 14) }))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9218
9220
|
visible: true,
|
9219
9221
|
}, extendedDataResponsive: {
|
9220
9222
|
visible: false,
|
9221
9223
|
} }),
|
9222
9224
|
Object.assign(Object.assign({ key: 95, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 20' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]
|
9223
|
-
.map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(130, 14),
|
9224
|
-
maxSizeValue: new go.Size(
|
9225
|
+
.map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(130, 14), waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS, [`extendedDataIsFrom${ATO_MAPPER_FROM.INDICATOR}`]: {
|
9226
|
+
maxSizeValue: new go.Size(250, 14),
|
9225
9227
|
} })))
|
9226
|
-
.concat(ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Cooling Water Chemistry" section`, isEditable: false, maxSizeValue: new go.Size(250, 14), isReadOnly: true, isFrom: ATO_MAPPER_FROM.
|
9228
|
+
.concat(ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Cooling Water Chemistry" section`, isEditable: false, maxSizeValue: new go.Size(250, 14), isReadOnly: true, isFrom: ATO_MAPPER_FROM.INDICATOR,
|
9227
9229
|
// font: '10px sans-serif',
|
9228
9230
|
visible: false })))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9229
9231
|
visible: true,
|
@@ -9294,7 +9296,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9294
9296
|
}, extendedDataResponsive: {
|
9295
9297
|
visible: false,
|
9296
9298
|
} }),
|
9297
|
-
Object.assign(Object.assign({ key: 102, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 230' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.DATA_ANALYSIS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.DATA_ANALYSIS].map((e) => (Object.assign(Object.assign({}, e), { value: (e === null || e === void 0 ? void 0 : e.value) || '', isEditable: !!(e === null || e === void 0 ? void 0 : e.isEditable), isFrom: ATO_MAPPER_FROM.
|
9299
|
+
Object.assign(Object.assign({ key: 102, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 230' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.DATA_ANALYSIS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.DATA_ANALYSIS].map((e) => (Object.assign(Object.assign({}, e), { value: (e === null || e === void 0 ? void 0 : e.value) || '', isEditable: !!(e === null || e === void 0 ? void 0 : e.isEditable), isFrom: ATO_MAPPER_FROM.INDICATOR, maxSizeValue: new go.Size(130, 14), maxSizeNameParam: new go.Size(160, 14), waterSystem: WATER_SYSTEMS_NAME.DATA_ANALYSIS }))), assetLayers: ATO_ASSET_LAYERS.PERFORMANCE, extendedData: {
|
9298
9300
|
visible: true,
|
9299
9301
|
}, extendedDataResponsive: {
|
9300
9302
|
visible: false,
|
@@ -9319,7 +9321,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9319
9321
|
}, extendedDataResponsive: {
|
9320
9322
|
visible: false,
|
9321
9323
|
} }),
|
9322
|
-
Object.assign(Object.assign({ key: 106, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 10' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS__COOLING_TOWER__PERFORMANCE]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS__COOLING_TOWER__PERFORMANCE].map((e) => (Object.assign(Object.assign({}, e), { maxSizeValue: new go.Size(130, 14), maxSizeNameParam: new go.Size(160, 14), waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS__COOLING_TOWER__PERFORMANCE }))), assetLayers: ATO_ASSET_LAYERS.PERFORMANCE, extendedData: {
|
9324
|
+
Object.assign(Object.assign({ key: 106, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 10' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS__COOLING_TOWER__PERFORMANCE]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS__COOLING_TOWER__PERFORMANCE].map((e) => (Object.assign(Object.assign({}, e), { maxSizeValue: new go.Size(130, 14), maxSizeNameParam: new go.Size(160, 14), waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS__COOLING_TOWER__PERFORMANCE }))), assetLayers: ATO_ASSET_LAYERS.PERFORMANCE, isFrom: ATO_MAPPER_FROM.INDICATOR, extendedData: {
|
9325
|
+
visible: false,
|
9326
|
+
}, [`extendedDataIsFrom${ATO_MAPPER_FROM.INDICATOR}`]: {
|
9323
9327
|
visible: true,
|
9324
9328
|
}, extendedDataResponsive: {
|
9325
9329
|
visible: false,
|
@@ -9473,18 +9477,18 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9473
9477
|
visible: false,
|
9474
9478
|
} }),
|
9475
9479
|
Object.assign(Object.assign({ type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, loc: '5 15', padding: new go.Margin(0, 0, 0, 0) }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.SYSTEM_KPIS_STEAM]
|
9476
|
-
.map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Steam" section`, isEditable: false, maxSizeValue: new go.Size(220, 14), waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS, isReadOnly: true, isFrom: ATO_MAPPER_FROM.
|
9480
|
+
.map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Steam" section`, isEditable: false, maxSizeValue: new go.Size(220, 14), waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS, isReadOnly: true, isFrom: ATO_MAPPER_FROM.INDICATOR,
|
9477
9481
|
// font: '10px sans-serif',
|
9478
9482
|
maxSizeNameParam: new go.Size(125, 15) })))
|
9479
|
-
.concat(ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.SYSTEM_KPIS_BOILER_WATER].map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Boiler Water" section`, isEditable: false, maxSizeValue: new go.Size(220, 14), waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS, isReadOnly: true, isFrom: ATO_MAPPER_FROM.
|
9483
|
+
.concat(ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.SYSTEM_KPIS_BOILER_WATER].map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Boiler Water" section`, isEditable: false, maxSizeValue: new go.Size(220, 14), waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS, isReadOnly: true, isFrom: ATO_MAPPER_FROM.INDICATOR,
|
9480
9484
|
// font: '10px sans-serif',
|
9481
|
-
maxSizeNameParam: new go.Size(125, 15) })))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, isFrom: ATO_MAPPER_FROM.
|
9485
|
+
maxSizeNameParam: new go.Size(125, 15) })))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, isFrom: ATO_MAPPER_FROM.INDICATOR, extendedData: {
|
9482
9486
|
visible: false,
|
9483
|
-
},
|
9487
|
+
}, [`extendedDataIsFrom${ATO_MAPPER_FROM.INDICATOR}`]: {
|
9484
9488
|
visible: true,
|
9485
9489
|
}, extendedDataResponsive: {
|
9486
9490
|
visible: false,
|
9487
|
-
},
|
9491
|
+
}, [`extendedDataIsFrom${ATO_MAPPER_FROM.INDICATOR}Responsive`]: {
|
9488
9492
|
visible: false,
|
9489
9493
|
} }),
|
9490
9494
|
Object.assign(Object.assign({ type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, loc: '400 15', padding: new go.Margin(0, 0, 0, 0) }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.CONDENSATE_RETURN]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.CONDENSATE_RETURN__CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(140, 14), waterSystem: WATER_SYSTEMS_NAME.CONDENSATE_RETURN }))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
@@ -9818,46 +9822,46 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9818
9822
|
loc: '700 300',
|
9819
9823
|
},
|
9820
9824
|
},
|
9821
|
-
Object.assign(Object.assign({ key: 88, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, loc: '320 60', padding: new go.Margin(0, 0, 0, 0) }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.EVAPORATION_LOSS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.EVAPORATION_LOSS].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(140, 14) }))), visible: true, assetLayers: ATO_ASSET_LAYERS.FLOW, extendedData: {
|
9825
|
+
Object.assign(Object.assign({ key: 88, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, loc: '320 60', padding: new go.Margin(0, 0, 0, 0) }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.EVAPORATION_LOSS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.EVAPORATION_LOSS].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, waterSystem: WATER_SYSTEMS_NAME.EVAPORATION_LOSS, maxSizeValue: new go.Size(140, 14) }))), visible: true, assetLayers: ATO_ASSET_LAYERS.FLOW, extendedData: {
|
9822
9826
|
visible: true,
|
9823
9827
|
}, extendedDataResponsive: {
|
9824
9828
|
visible: false,
|
9825
9829
|
} }),
|
9826
|
-
Object.assign(Object.assign({ key: 89, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '30 350' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.FLOW, extendedData: {
|
9830
|
+
Object.assign(Object.assign({ key: 89, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '30 350' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW].map((e) => (Object.assign(Object.assign({}, e), { value: '', waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW, isEditable: true, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.FLOW, extendedData: {
|
9827
9831
|
visible: true,
|
9828
9832
|
}, extendedDataResponsive: {
|
9829
9833
|
visible: false,
|
9830
9834
|
} }),
|
9831
|
-
Object.assign(Object.assign({ key: 90, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 270' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9835
|
+
Object.assign(Object.assign({ key: 90, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 270' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9832
9836
|
visible: true,
|
9833
9837
|
}, extendedDataResponsive: {
|
9834
9838
|
visible: false,
|
9835
9839
|
} }),
|
9836
|
-
Object.assign(Object.assign({ key: 91, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '570 250' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.WARMER_WATER]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.WARMER_WATER].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.FLOW, extendedData: {
|
9840
|
+
Object.assign(Object.assign({ key: 91, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '570 250' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.WARMER_WATER]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.WARMER_WATER].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, waterSystem: WATER_SYSTEMS_NAME.WARMER_WATER, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.FLOW, extendedData: {
|
9837
9841
|
visible: true,
|
9838
9842
|
}, extendedDataResponsive: {
|
9839
9843
|
visible: false,
|
9840
9844
|
} }),
|
9841
|
-
Object.assign(Object.assign({ key: 92, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '570 560' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.FLOW, extendedData: {
|
9845
|
+
Object.assign(Object.assign({ key: 92, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '570 560' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, waterSystem: WATER_SYSTEMS_NAME.BLOWDOWN_WATER, maxSizeValue: new go.Size(120, 14) }))), assetLayers: ATO_ASSET_LAYERS.FLOW, extendedData: {
|
9842
9846
|
visible: true,
|
9843
9847
|
}, extendedDataResponsive: {
|
9844
9848
|
visible: false,
|
9845
9849
|
} }),
|
9846
|
-
Object.assign(Object.assign({ key: 93, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '450 20' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(130, 14) }))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9850
|
+
Object.assign(Object.assign({ key: 93, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '450 20' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, waterSystem: WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS, maxSizeValue: new go.Size(130, 14) }))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9847
9851
|
visible: true,
|
9848
9852
|
}, extendedDataResponsive: {
|
9849
9853
|
visible: false,
|
9850
9854
|
} }),
|
9851
|
-
Object.assign(Object.assign({ key: 94, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '730 20' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(130, 14) }))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9855
|
+
Object.assign(Object.assign({ key: 94, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '730 20' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, waterSystem: WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY, maxSizeValue: new go.Size(130, 14) }))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9852
9856
|
visible: true,
|
9853
9857
|
}, extendedDataResponsive: {
|
9854
9858
|
visible: false,
|
9855
9859
|
} }),
|
9856
9860
|
Object.assign(Object.assign({ key: 95, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 20' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]
|
9857
|
-
.map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(130, 14),
|
9858
|
-
maxSizeValue: new go.Size(
|
9861
|
+
.map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS, maxSizeValue: new go.Size(130, 14), [`extendedDataIsFrom${ATO_MAPPER_FROM.INDICATOR}`]: {
|
9862
|
+
maxSizeValue: new go.Size(250, 14),
|
9859
9863
|
} })))
|
9860
|
-
.concat(ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Cooling Water Chemistry" section`, isEditable: false, maxSizeValue: new go.Size(250, 14), isReadOnly: true, isFrom: ATO_MAPPER_FROM.
|
9864
|
+
.concat(ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Cooling Water Chemistry" section`, isEditable: false, maxSizeValue: new go.Size(250, 14), isReadOnly: true, isFrom: ATO_MAPPER_FROM.INDICATOR,
|
9861
9865
|
// font: '10px sans-serif',
|
9862
9866
|
visible: false })))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9863
9867
|
visible: true,
|
@@ -10015,7 +10019,7 @@ class AssetFlowComponent {
|
|
10015
10019
|
// Reponsive
|
10016
10020
|
_.forEach(flowData === null || flowData === void 0 ? void 0 : flowData.nodeDataArray, (node) => {
|
10017
10021
|
var _a, _b;
|
10018
|
-
const propertyNameExtend = `extendedData${defaultData.isFrom && (node === null || node === void 0 ? void 0 : node.isFrom) ? `
|
10022
|
+
const propertyNameExtend = `extendedData${defaultData.isFrom && (node === null || node === void 0 ? void 0 : node.isFrom) ? `IsFrom${defaultData.isFrom}` : ''}${isResponsiveView ? 'Responsive' : ''}`;
|
10019
10023
|
node = _.merge(node, node[propertyNameExtend], (_a = node[`${propertyNameExtend}${defaultData === null || defaultData === void 0 ? void 0 : defaultData.assetLayer}`]) !== null && _a !== void 0 ? _a : {});
|
10020
10024
|
if (node === null || node === void 0 ? void 0 : node.assetLayers) {
|
10021
10025
|
node.visible =
|
@@ -10044,7 +10048,7 @@ class AssetFlowComponent {
|
|
10044
10048
|
setFlowData(data) {
|
10045
10049
|
_.forEach(data.nodeDataArray, (node) => {
|
10046
10050
|
var _a, _b;
|
10047
|
-
const propertyNameExtend = `extendedData${data.isFrom && (node === null || node === void 0 ? void 0 : node.isFrom) ? `
|
10051
|
+
const propertyNameExtend = `extendedData${data.isFrom && (node === null || node === void 0 ? void 0 : node.isFrom) ? `IsFrom${data.isFrom}` : ''}${this.isResponsiveView ? 'Responsive' : ''}`;
|
10048
10052
|
node = _.merge(node, node[propertyNameExtend], (_a = node[`${propertyNameExtend}${data === null || data === void 0 ? void 0 : data.assetLayer}`]) !== null && _a !== void 0 ? _a : {});
|
10049
10053
|
if (node === null || node === void 0 ? void 0 : node.assetLayers) {
|
10050
10054
|
node.visible =
|