ato-water-lib 0.0.46 → 0.0.48
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/lib/constants/components-group-const.mjs +8 -8
- package/esm2020/lib/models/default-gojs-editor.model.mjs +2 -2
- package/esm2020/lib/models/gojs-editor.model.mjs +11 -1
- package/fesm2015/ato-water-lib.mjs +19 -8
- package/fesm2015/ato-water-lib.mjs.map +1 -1
- package/fesm2020/ato-water-lib.mjs +18 -8
- package/fesm2020/ato-water-lib.mjs.map +1 -1
- package/lib/models/gojs-editor.model.d.ts +3 -0
- package/package.json +1 -1
@@ -1016,6 +1016,7 @@ class AtoGojsEditorModel {
|
|
1016
1016
|
ENUM_TEMPLATES["PARAM_TABLE"] = "Param Table";
|
1017
1017
|
ENUM_TEMPLATES["MASS_BALANCE"] = "Mass Balance";
|
1018
1018
|
// Steam Type
|
1019
|
+
ENUM_TEMPLATES["STEAM_PIPELINE"] = "Steam pipeline";
|
1019
1020
|
ENUM_TEMPLATES["VALUES"] = "Valves";
|
1020
1021
|
ENUM_TEMPLATES["STEAM_TRAPS"] = "Steam Traps";
|
1021
1022
|
ENUM_TEMPLATES["PRESSURE_REGULATORS"] = "Pressure Regulator";
|
@@ -1150,6 +1151,7 @@ class AtoGojsEditorModel {
|
|
1150
1151
|
ENUM_TYPES["PLANT_CELL_INPUT_GROUP"] = "PC Input Group";
|
1151
1152
|
ENUM_TYPES["PLANT_CELL_OUTPUT_GROUP"] = "PC Output Group";
|
1152
1153
|
// Steam
|
1154
|
+
ENUM_TYPES["STEAM_PIPELINE"] = "Steam pipeline";
|
1153
1155
|
ENUM_TYPES["VALUES"] = "Valves";
|
1154
1156
|
ENUM_TYPES["STEAM_TRAPS"] = "Steam Traps";
|
1155
1157
|
ENUM_TYPES["PRESSURE_REGULATORS"] = "Pressure Regulator";
|
@@ -2220,6 +2222,10 @@ class AtoGojsEditorModel {
|
|
2220
2222
|
icon: ``,
|
2221
2223
|
},
|
2222
2224
|
// STEAM
|
2225
|
+
[ENUM_TEMPLATES.STEAM_PIPELINE]: {
|
2226
|
+
name: ENUM_TEMPLATES.STEAM_PIPELINE,
|
2227
|
+
icon: `${AtoGojsEditorModel.STEAM_ICON_ASSET_PATH}/Pipeline.svg`,
|
2228
|
+
},
|
2223
2229
|
[ENUM_TEMPLATES.VALUES]: {
|
2224
2230
|
name: ENUM_TEMPLATES.VALUES,
|
2225
2231
|
icon: `${AtoGojsEditorModel.STEAM_ICON_ASSET_PATH}/Steam_Valve.png`,
|
@@ -2549,6 +2555,7 @@ class AtoGojsEditorModel {
|
|
2549
2555
|
// 'Pipeline', 'Industrial boilers', 'Generators', 'Industrial furnaces', 'Industrial ovens', 'Industrial vehicles and equipment',
|
2550
2556
|
// 'FuelMeters', 'FuelDispensers', 'FuelStorageTanks', 'FuelFiltrations', 'FuelManagements'];
|
2551
2557
|
AtoGojsEditorModel.TYPE_TEMPLATE_STEAM = [
|
2558
|
+
AtoGojsEditorModel.ENUM_TEMPLATES.STEAM_PIPELINE,
|
2552
2559
|
AtoGojsEditorModel.ENUM_TEMPLATES.VALUES,
|
2553
2560
|
AtoGojsEditorModel.ENUM_TEMPLATES.STEAM_TRAPS,
|
2554
2561
|
AtoGojsEditorModel.ENUM_TEMPLATES.PRESSURE_REGULATORS,
|
@@ -2570,6 +2577,9 @@ class AtoGojsEditorModel {
|
|
2570
2577
|
AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_DISCHARGE,
|
2571
2578
|
AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_OTHER,
|
2572
2579
|
];
|
2580
|
+
AtoGojsEditorModel.TEMPLATE_DUPLICATE = {
|
2581
|
+
[AtoGojsEditorModel.ENUM_TEMPLATES.STEAM_PIPELINE]: AtoGojsEditorModel.ENUM_TEMPLATES.PIPELINE
|
2582
|
+
};
|
2573
2583
|
})(AtoGojsEditorModel || (AtoGojsEditorModel = {}));
|
2574
2584
|
|
2575
2585
|
// export const GO_LICENSE_KEY =
|
@@ -4393,7 +4403,7 @@ class AtoDefaultGojsEditor {
|
|
4393
4403
|
fill: 'white',
|
4394
4404
|
stroke: AtoGojsEditorModel.ENUM_COLORS.LINK_WATER,
|
4395
4405
|
// strokeDashArray: [5, 5],
|
4396
|
-
}), this.$(go.Panel, 'Table', this.$(go.TextBlock, title, {
|
4406
|
+
}), this.$(go.Panel, 'Table', this.$(go.TextBlock, AtoGojsEditorModel.TEMPLATE_DUPLICATE[title] ?? title, {
|
4397
4407
|
row: 0,
|
4398
4408
|
margin: new go.Margin(3, 3, 10, 3),
|
4399
4409
|
maxSize: new go.Size(size.w - 20, 15),
|
@@ -6632,32 +6642,32 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
6632
6642
|
[ENUM_ASSET_PARAMETERS.MAKEUP_WATER_FLOW_RATE]: {
|
6633
6643
|
name: 'Flow Rate',
|
6634
6644
|
key: ENUM_ASSET_PARAMETERS.MAKEUP_WATER_FLOW_RATE,
|
6635
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
6645
|
+
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
6636
6646
|
},
|
6637
6647
|
[ENUM_ASSET_PARAMETERS.MAKEUP_WATER_FLOW]: {
|
6638
6648
|
name: 'Flow',
|
6639
6649
|
key: ENUM_ASSET_PARAMETERS.MAKEUP_WATER_FLOW,
|
6640
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
6650
|
+
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
6641
6651
|
},
|
6642
6652
|
[ENUM_ASSET_PARAMETERS.MAKEUP_WATER_CONDUCTIVITY]: {
|
6643
6653
|
name: 'Conductivity',
|
6644
6654
|
key: ENUM_ASSET_PARAMETERS.MAKEUP_WATER_CONDUCTIVITY,
|
6645
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
6655
|
+
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
6646
6656
|
},
|
6647
6657
|
[ENUM_ASSET_PARAMETERS.MAKEUP_WATER_PH]: {
|
6648
6658
|
name: 'pH',
|
6649
6659
|
key: ENUM_ASSET_PARAMETERS.MAKEUP_WATER_PH,
|
6650
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
6660
|
+
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
6651
6661
|
},
|
6652
6662
|
[ENUM_ASSET_PARAMETERS.MAKEUP_WATER_CALCIUM]: {
|
6653
6663
|
name: 'Calcium',
|
6654
6664
|
key: ENUM_ASSET_PARAMETERS.MAKEUP_WATER_CALCIUM,
|
6655
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
6665
|
+
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
6656
6666
|
},
|
6657
6667
|
[ENUM_ASSET_PARAMETERS.MAKEUP_WATER_TOTAL_IRON]: {
|
6658
6668
|
name: 'Total Iron',
|
6659
6669
|
key: ENUM_ASSET_PARAMETERS.MAKEUP_WATER_TOTAL_IRON,
|
6660
|
-
waterSystem: WATER_SYSTEMS_NAME.
|
6670
|
+
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
6661
6671
|
},
|
6662
6672
|
// Evaporation Loss
|
6663
6673
|
[ENUM_ASSET_PARAMETERS.EVAPORATION_LOSS_FLOW_RATE]: {
|
@@ -7619,7 +7629,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
7619
7629
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
7620
7630
|
group: 100,
|
7621
7631
|
padding: new go.Margin(0, 0, 0, 0),
|
7622
|
-
loc: '30
|
7632
|
+
loc: '30 350',
|
7623
7633
|
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW],
|
7624
7634
|
minSizeValue: new go.Size(100, NaN),
|
7625
7635
|
selectable: false,
|