ato-water-lib 0.0.62 → 0.0.64
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 +24 -6
- package/esm2020/lib/constants/components-group-const.mjs +334 -84
- package/esm2020/lib/models/ato-asset-flow.model.mjs +1 -1
- package/esm2020/lib/models/default-gojs-editor.model.mjs +12 -4
- package/esm2020/lib/models/gojs-data.model.mjs +1 -1
- package/fesm2015/ato-water-lib.mjs +302 -61
- package/fesm2015/ato-water-lib.mjs.map +1 -1
- package/fesm2020/ato-water-lib.mjs +368 -92
- package/fesm2020/ato-water-lib.mjs.map +1 -1
- package/lib/components/asset-flow/asset-flow.component.d.ts +2 -1
- package/lib/constants/components-group-const.d.ts +66 -9
- package/lib/models/ato-asset-flow.model.d.ts +1 -0
- package/lib/models/gojs-data.model.d.ts +1 -0
- package/package.json +1 -1
@@ -5572,7 +5572,10 @@ class AtoDefaultGojsEditor {
|
|
5572
5572
|
// this.$(go.TextBlock, 'row 2 col 1', { column: 0, margin: 2 }),
|
5573
5573
|
// this.$(go.TextBlock, 'row 2 col 2', { column: 1, margin: 2 }),
|
5574
5574
|
// ),
|
5575
|
-
new go.Binding('itemArray', 'dataTable'),
|
5575
|
+
// new go.Binding('itemArray', 'dataTable'),
|
5576
|
+
new go.Binding("itemArray", "", function (data) {
|
5577
|
+
return data.dataTable.filter(x => x?.visible !== false);
|
5578
|
+
}), {
|
5576
5579
|
// itemTemplate: this.$(
|
5577
5580
|
// go.Panel,
|
5578
5581
|
// new go.Binding('row', 'indexRow'),
|
@@ -5608,8 +5611,11 @@ class AtoDefaultGojsEditor {
|
|
5608
5611
|
margin: 2,
|
5609
5612
|
textAlign: 'left',
|
5610
5613
|
alignment: go.Spot.Left,
|
5614
|
+
overflow: go.TextBlock.OverflowEllipsis,
|
5611
5615
|
}, new go.Binding('text', '', (data, panel) => {
|
5612
5616
|
return data?.name;
|
5617
|
+
}), new go.Binding('maxSize', '', (data, panel) => {
|
5618
|
+
return data?.maxSizeNameParam;
|
5613
5619
|
})), this.$(go.Panel, 'Table', {
|
5614
5620
|
column: 1,
|
5615
5621
|
margin: 2,
|
@@ -5647,6 +5653,8 @@ class AtoDefaultGojsEditor {
|
|
5647
5653
|
return data.color;
|
5648
5654
|
}), new go.Binding('maxSize', '', (data) => {
|
5649
5655
|
return new go.Size(data?.maxSizeValue || 190, 14);
|
5656
|
+
}), new go.Binding('font', '', (data) => {
|
5657
|
+
return data?.font;
|
5650
5658
|
})), this.$(go.Picture, {
|
5651
5659
|
alignment: go.Spot.Right,
|
5652
5660
|
column: 1,
|
@@ -5662,7 +5670,7 @@ class AtoDefaultGojsEditor {
|
|
5662
5670
|
height: 14,
|
5663
5671
|
width: 14,
|
5664
5672
|
}, new go.Binding('visible', '', (data, panel) => {
|
5665
|
-
return !this._initialOptions.isReadOnly;
|
5673
|
+
return !data?.isReadOnly && !this._initialOptions.isReadOnly;
|
5666
5674
|
}), new go.Binding('opacity', '', (data, panel) => {
|
5667
5675
|
return data?.isEditable === false ? 0.6 : 1;
|
5668
5676
|
})))),
|
@@ -5768,7 +5776,7 @@ class AtoDefaultGojsEditor {
|
|
5768
5776
|
}), this.$(go.Placeholder, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), { padding: new go.Margin(0, 0, 0, 0) })), this.$(go.Panel, 'Spot', {
|
5769
5777
|
width: 0,
|
5770
5778
|
height: 0,
|
5771
|
-
alignment: new go.Spot(0, 0.5, 0,
|
5779
|
+
alignment: new go.Spot(0, 0.5, 0, 109),
|
5772
5780
|
alignmentFocus: go.Spot.Left,
|
5773
5781
|
portId: 'Inflow',
|
5774
5782
|
cursor: this._initialOptions.isReadOnly ? '' : 'pointer',
|
@@ -6923,6 +6931,11 @@ var ENUM_ASSET_PARAMETERS;
|
|
6923
6931
|
// For Boiler - view Flow
|
6924
6932
|
ENUM_ASSET_PARAMETERS["FLOW"] = "Flow";
|
6925
6933
|
ENUM_ASSET_PARAMETERS["FLOW_RATE"] = "Flow Rate";
|
6934
|
+
ENUM_ASSET_PARAMETERS["PH_IN_STEAM"] = "pH in Steam";
|
6935
|
+
ENUM_ASSET_PARAMETERS["CATIONIC_CONDUCTIVITY_IN_STEAM"] = "Cationic Conductivity in Steam";
|
6936
|
+
ENUM_ASSET_PARAMETERS["SI_IN_STEAM"] = "Si in Steam";
|
6937
|
+
ENUM_ASSET_PARAMETERS["SI_IN_BOILER"] = "Si in Boiler";
|
6938
|
+
ENUM_ASSET_PARAMETERS["PH_IN_BOILER"] = "pH in Boiler";
|
6926
6939
|
})(ENUM_ASSET_PARAMETERS || (ENUM_ASSET_PARAMETERS = {}));
|
6927
6940
|
var WATER_SYSTEMS_NAME;
|
6928
6941
|
(function (WATER_SYSTEMS_NAME) {
|
@@ -6935,7 +6948,7 @@ var WATER_SYSTEMS_NAME;
|
|
6935
6948
|
WATER_SYSTEMS_NAME["COOLING_TOWER_ANALYSIS"] = "Cooling Water Analysis";
|
6936
6949
|
WATER_SYSTEMS_NAME["COOLING_WATER_CHEMISTRY"] = "Cooling Water Chemistry";
|
6937
6950
|
WATER_SYSTEMS_NAME["SYSTEM_KPIS"] = "System KPI's";
|
6938
|
-
// For Boiler
|
6951
|
+
// For Boiler-
|
6939
6952
|
WATER_SYSTEMS_NAME["CONDENSATE_RETURN"] = "Condensate Return";
|
6940
6953
|
WATER_SYSTEMS_NAME["CONDENSATE_RETURN__FLOW"] = "Condensate Return Flow";
|
6941
6954
|
WATER_SYSTEMS_NAME["CONDENSATE_RETURN__CHEMISTRY"] = "Condensate Return Chemistry";
|
@@ -7175,6 +7188,26 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7175
7188
|
name: ENUM_ASSET_PARAMETERS.FLOW_RATE,
|
7176
7189
|
key: ENUM_ASSET_PARAMETERS.FLOW_RATE,
|
7177
7190
|
},
|
7191
|
+
[ENUM_ASSET_PARAMETERS.PH_IN_STEAM]: {
|
7192
|
+
name: ENUM_ASSET_PARAMETERS.PH_IN_STEAM,
|
7193
|
+
key: ENUM_ASSET_PARAMETERS.PH_IN_STEAM,
|
7194
|
+
},
|
7195
|
+
[ENUM_ASSET_PARAMETERS.CATIONIC_CONDUCTIVITY_IN_STEAM]: {
|
7196
|
+
name: ENUM_ASSET_PARAMETERS.CATIONIC_CONDUCTIVITY_IN_STEAM,
|
7197
|
+
key: ENUM_ASSET_PARAMETERS.CATIONIC_CONDUCTIVITY_IN_STEAM,
|
7198
|
+
},
|
7199
|
+
[ENUM_ASSET_PARAMETERS.SI_IN_STEAM]: {
|
7200
|
+
name: ENUM_ASSET_PARAMETERS.SI_IN_STEAM,
|
7201
|
+
key: ENUM_ASSET_PARAMETERS.SI_IN_STEAM,
|
7202
|
+
},
|
7203
|
+
[ENUM_ASSET_PARAMETERS.SI_IN_BOILER]: {
|
7204
|
+
name: ENUM_ASSET_PARAMETERS.SI_IN_BOILER,
|
7205
|
+
key: ENUM_ASSET_PARAMETERS.SI_IN_BOILER,
|
7206
|
+
},
|
7207
|
+
[ENUM_ASSET_PARAMETERS.PH_IN_BOILER]: {
|
7208
|
+
name: ENUM_ASSET_PARAMETERS.PH_IN_BOILER,
|
7209
|
+
key: ENUM_ASSET_PARAMETERS.PH_IN_BOILER,
|
7210
|
+
},
|
7178
7211
|
};
|
7179
7212
|
const DATA_WATER_SYSTEMS = {
|
7180
7213
|
[WATER_SYSTEMS_NAME.EVAPORATION_LOSS]: {
|
@@ -7317,6 +7350,14 @@ const ASSET_CATEGORY_PARAMS__BOILER = {
|
|
7317
7350
|
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.PH],
|
7318
7351
|
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.SILICA],
|
7319
7352
|
],
|
7353
|
+
[WATER_SYSTEMS_NAME.SYSTEM_KPIS]: [
|
7354
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.PH_IN_STEAM],
|
7355
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CATIONIC_CONDUCTIVITY_IN_STEAM],
|
7356
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.SI_IN_STEAM],
|
7357
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.SI_IN_BOILER],
|
7358
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.PH_IN_BOILER],
|
7359
|
+
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CYCLES],
|
7360
|
+
],
|
7320
7361
|
[WATER_SYSTEMS_NAME.CONDENSATE_RETURN__CHEMISTRY]: [
|
7321
7362
|
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.SPECIFIC_CONDUCTIVITY],
|
7322
7363
|
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.PH],
|
@@ -7385,6 +7426,11 @@ var ATO_ASSET_LAYERS;
|
|
7385
7426
|
ATO_ASSET_LAYERS["CHEMISTRY"] = "Chemistry";
|
7386
7427
|
ATO_ASSET_LAYERS["ANALYTICS"] = "Analytics";
|
7387
7428
|
})(ATO_ASSET_LAYERS || (ATO_ASSET_LAYERS = {}));
|
7429
|
+
var ATO_MAPPER_FROM;
|
7430
|
+
(function (ATO_MAPPER_FROM) {
|
7431
|
+
ATO_MAPPER_FROM["HFW"] = "HFW";
|
7432
|
+
ATO_MAPPER_FROM["PLUGIN"] = "Plugin";
|
7433
|
+
})(ATO_MAPPER_FROM || (ATO_MAPPER_FROM = {}));
|
7388
7434
|
const ATO_COMPONENTS_GROUP_DATA = {
|
7389
7435
|
[AtoGojsEditorModel.ENUM_TYPES.STORAGE]: {
|
7390
7436
|
nodeDataArray: [
|
@@ -7422,7 +7468,12 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
7422
7468
|
group: 100,
|
7423
7469
|
loc: '92.5 95',
|
7424
7470
|
},
|
7425
|
-
{
|
7471
|
+
{
|
7472
|
+
key: 100,
|
7473
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.STORAGE,
|
7474
|
+
isGroup: true,
|
7475
|
+
name: 'Group',
|
7476
|
+
},
|
7426
7477
|
],
|
7427
7478
|
linkDataArray: [
|
7428
7479
|
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
@@ -7476,14 +7527,31 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
7476
7527
|
group: 100,
|
7477
7528
|
loc: '92.5 95',
|
7478
7529
|
},
|
7479
|
-
{
|
7530
|
+
{
|
7531
|
+
key: 100,
|
7532
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.WATER_TREATMENT,
|
7533
|
+
isGroup: true,
|
7534
|
+
name: 'Group',
|
7535
|
+
},
|
7480
7536
|
],
|
7481
7537
|
linkDataArray: [
|
7482
7538
|
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7483
7539
|
{ from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7484
7540
|
{ from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7485
|
-
{
|
7486
|
-
|
7541
|
+
{
|
7542
|
+
from: 99,
|
7543
|
+
to: 93,
|
7544
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7545
|
+
fromPort: 'T',
|
7546
|
+
toPort: 'T',
|
7547
|
+
},
|
7548
|
+
{
|
7549
|
+
from: 93,
|
7550
|
+
to: 99,
|
7551
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7552
|
+
fromPort: 'B',
|
7553
|
+
toPort: 'R',
|
7554
|
+
},
|
7487
7555
|
],
|
7488
7556
|
},
|
7489
7557
|
[AtoGojsEditorModel.ENUM_TYPES.DEMIN_WATER_TREATMENT]: {
|
@@ -7532,14 +7600,31 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
7532
7600
|
group: 100,
|
7533
7601
|
loc: '125 110',
|
7534
7602
|
},
|
7535
|
-
{
|
7603
|
+
{
|
7604
|
+
key: 100,
|
7605
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.WATER_TREATMENT,
|
7606
|
+
isGroup: true,
|
7607
|
+
name: 'Group',
|
7608
|
+
},
|
7536
7609
|
],
|
7537
7610
|
linkDataArray: [
|
7538
7611
|
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7539
7612
|
{ from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7540
7613
|
{ from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7541
|
-
{
|
7542
|
-
|
7614
|
+
{
|
7615
|
+
from: 99,
|
7616
|
+
to: 93,
|
7617
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7618
|
+
fromPort: 'T',
|
7619
|
+
toPort: 'L',
|
7620
|
+
},
|
7621
|
+
{
|
7622
|
+
from: 93,
|
7623
|
+
to: 99,
|
7624
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7625
|
+
fromPort: 'B',
|
7626
|
+
toPort: 'R',
|
7627
|
+
},
|
7543
7628
|
],
|
7544
7629
|
},
|
7545
7630
|
[AtoGojsEditorModel.ENUM_TYPES.RO_WATER_TREATMENT]: {
|
@@ -7755,15 +7840,32 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
7755
7840
|
group: 100,
|
7756
7841
|
loc: '90 80',
|
7757
7842
|
},
|
7758
|
-
{
|
7843
|
+
{
|
7844
|
+
key: 100,
|
7845
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PROCESS,
|
7846
|
+
isGroup: true,
|
7847
|
+
name: 'Group',
|
7848
|
+
},
|
7759
7849
|
],
|
7760
7850
|
linkDataArray: [
|
7761
7851
|
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7762
7852
|
{ from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7763
7853
|
{ from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7764
7854
|
{ from: 99, to: 94, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7765
|
-
{
|
7766
|
-
|
7855
|
+
{
|
7856
|
+
from: 99,
|
7857
|
+
to: 93,
|
7858
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7859
|
+
fromPort: 'T',
|
7860
|
+
toPort: 'L',
|
7861
|
+
},
|
7862
|
+
{
|
7863
|
+
from: 93,
|
7864
|
+
to: 99,
|
7865
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7866
|
+
fromPort: 'B',
|
7867
|
+
toPort: 'R',
|
7868
|
+
},
|
7767
7869
|
],
|
7768
7870
|
},
|
7769
7871
|
[AtoGojsEditorModel.ENUM_TYPES.WASTEWATER_TREATMENT]: {
|
@@ -7812,14 +7914,31 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
7812
7914
|
group: 100,
|
7813
7915
|
loc: '125 110',
|
7814
7916
|
},
|
7815
|
-
{
|
7917
|
+
{
|
7918
|
+
key: 100,
|
7919
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.WASTEWATER_TREATMENT,
|
7920
|
+
isGroup: true,
|
7921
|
+
name: 'Group',
|
7922
|
+
},
|
7816
7923
|
],
|
7817
7924
|
linkDataArray: [
|
7818
7925
|
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7819
7926
|
{ from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7820
7927
|
{ from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7821
|
-
{
|
7822
|
-
|
7928
|
+
{
|
7929
|
+
from: 99,
|
7930
|
+
to: 93,
|
7931
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7932
|
+
fromPort: 'T',
|
7933
|
+
toPort: 'L',
|
7934
|
+
},
|
7935
|
+
{
|
7936
|
+
from: 93,
|
7937
|
+
to: 99,
|
7938
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
7939
|
+
fromPort: 'B',
|
7940
|
+
toPort: 'R',
|
7941
|
+
},
|
7823
7942
|
],
|
7824
7943
|
},
|
7825
7944
|
[AtoGojsEditorModel.ENUM_TYPES.DAF_WASTEWATER_TREATMENT]: {
|
@@ -7868,14 +7987,31 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
7868
7987
|
group: 100,
|
7869
7988
|
loc: '125 110',
|
7870
7989
|
},
|
7871
|
-
{
|
7990
|
+
{
|
7991
|
+
key: 100,
|
7992
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.WASTEWATER_TREATMENT,
|
7993
|
+
isGroup: true,
|
7994
|
+
name: 'Group',
|
7995
|
+
},
|
7872
7996
|
],
|
7873
7997
|
linkDataArray: [
|
7874
7998
|
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7875
7999
|
{ from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7876
8000
|
{ from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7877
|
-
{
|
7878
|
-
|
8001
|
+
{
|
8002
|
+
from: 99,
|
8003
|
+
to: 93,
|
8004
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
8005
|
+
fromPort: 'T',
|
8006
|
+
toPort: 'L',
|
8007
|
+
},
|
8008
|
+
{
|
8009
|
+
from: 93,
|
8010
|
+
to: 99,
|
8011
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
8012
|
+
fromPort: 'B',
|
8013
|
+
toPort: 'R',
|
8014
|
+
},
|
7879
8015
|
],
|
7880
8016
|
},
|
7881
8017
|
[AtoGojsEditorModel.ENUM_TYPES.ETP_WASTEWATER_TREATMENT]: {
|
@@ -7924,14 +8060,31 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
7924
8060
|
group: 100,
|
7925
8061
|
loc: '125 110',
|
7926
8062
|
},
|
7927
|
-
{
|
8063
|
+
{
|
8064
|
+
key: 100,
|
8065
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.WASTEWATER_TREATMENT,
|
8066
|
+
isGroup: true,
|
8067
|
+
name: 'Group',
|
8068
|
+
},
|
7928
8069
|
],
|
7929
8070
|
linkDataArray: [
|
7930
8071
|
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7931
8072
|
{ from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7932
8073
|
{ from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7933
|
-
{
|
7934
|
-
|
8074
|
+
{
|
8075
|
+
from: 99,
|
8076
|
+
to: 93,
|
8077
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
8078
|
+
fromPort: 'T',
|
8079
|
+
toPort: 'L',
|
8080
|
+
},
|
8081
|
+
{
|
8082
|
+
from: 93,
|
8083
|
+
to: 99,
|
8084
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
8085
|
+
fromPort: 'B',
|
8086
|
+
toPort: 'R',
|
8087
|
+
},
|
7935
8088
|
],
|
7936
8089
|
},
|
7937
8090
|
[AtoGojsEditorModel.ENUM_TYPES.MBR_WASTEWATER_TREATMENT]: {
|
@@ -7980,14 +8133,31 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
7980
8133
|
group: 100,
|
7981
8134
|
loc: '125 110',
|
7982
8135
|
},
|
7983
|
-
{
|
8136
|
+
{
|
8137
|
+
key: 100,
|
8138
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.WASTEWATER_TREATMENT,
|
8139
|
+
isGroup: true,
|
8140
|
+
name: 'Group',
|
8141
|
+
},
|
7984
8142
|
],
|
7985
8143
|
linkDataArray: [
|
7986
8144
|
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7987
8145
|
{ from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7988
8146
|
{ from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
7989
|
-
{
|
7990
|
-
|
8147
|
+
{
|
8148
|
+
from: 99,
|
8149
|
+
to: 93,
|
8150
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
8151
|
+
fromPort: 'T',
|
8152
|
+
toPort: 'L',
|
8153
|
+
},
|
8154
|
+
{
|
8155
|
+
from: 93,
|
8156
|
+
to: 99,
|
8157
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
8158
|
+
fromPort: 'B',
|
8159
|
+
toPort: 'R',
|
8160
|
+
},
|
7991
8161
|
],
|
7992
8162
|
},
|
7993
8163
|
[AtoGojsEditorModel.ENUM_TYPES.ZLD_WASTEWATER_TREATMENT]: {
|
@@ -8036,14 +8206,31 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8036
8206
|
group: 100,
|
8037
8207
|
loc: '125 110',
|
8038
8208
|
},
|
8039
|
-
{
|
8209
|
+
{
|
8210
|
+
key: 100,
|
8211
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.WASTEWATER_TREATMENT,
|
8212
|
+
isGroup: true,
|
8213
|
+
name: 'Group',
|
8214
|
+
},
|
8040
8215
|
],
|
8041
8216
|
linkDataArray: [
|
8042
8217
|
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
8043
8218
|
{ from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
8044
8219
|
{ from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
8045
|
-
{
|
8046
|
-
|
8220
|
+
{
|
8221
|
+
from: 99,
|
8222
|
+
to: 93,
|
8223
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
8224
|
+
fromPort: 'T',
|
8225
|
+
toPort: 'L',
|
8226
|
+
},
|
8227
|
+
{
|
8228
|
+
from: 93,
|
8229
|
+
to: 99,
|
8230
|
+
color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
|
8231
|
+
fromPort: 'B',
|
8232
|
+
toPort: 'R',
|
8233
|
+
},
|
8047
8234
|
],
|
8048
8235
|
},
|
8049
8236
|
[AtoGojsEditorModel.ENUM_TYPES.DOMESTIC_USE]: {
|
@@ -8082,7 +8269,12 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8082
8269
|
group: 100,
|
8083
8270
|
loc: '82.5 95',
|
8084
8271
|
},
|
8085
|
-
{
|
8272
|
+
{
|
8273
|
+
key: 100,
|
8274
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.DOMESTIC_USE,
|
8275
|
+
isGroup: true,
|
8276
|
+
name: 'Group',
|
8277
|
+
},
|
8086
8278
|
],
|
8087
8279
|
linkDataArray: [
|
8088
8280
|
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
@@ -8119,7 +8311,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8119
8311
|
},
|
8120
8312
|
extendedDataResponsive: {
|
8121
8313
|
loc: '700 300',
|
8122
|
-
}
|
8314
|
+
},
|
8123
8315
|
},
|
8124
8316
|
{
|
8125
8317
|
key: 88,
|
@@ -8143,7 +8335,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8143
8335
|
},
|
8144
8336
|
extendedDataResponsive: {
|
8145
8337
|
visible: false,
|
8146
|
-
}
|
8338
|
+
},
|
8147
8339
|
},
|
8148
8340
|
{
|
8149
8341
|
key: 89,
|
@@ -8166,14 +8358,14 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8166
8358
|
},
|
8167
8359
|
extendedDataResponsive: {
|
8168
8360
|
visible: false,
|
8169
|
-
}
|
8361
|
+
},
|
8170
8362
|
},
|
8171
8363
|
{
|
8172
8364
|
key: 90,
|
8173
8365
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8174
8366
|
group: 100,
|
8175
8367
|
padding: new go.Margin(0, 0, 0, 0),
|
8176
|
-
loc: '
|
8368
|
+
loc: '10 270',
|
8177
8369
|
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY],
|
8178
8370
|
minSizeValue: new go.Size(100, NaN),
|
8179
8371
|
selectable: false,
|
@@ -8189,7 +8381,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8189
8381
|
},
|
8190
8382
|
extendedDataResponsive: {
|
8191
8383
|
visible: false,
|
8192
|
-
}
|
8384
|
+
},
|
8193
8385
|
},
|
8194
8386
|
{
|
8195
8387
|
key: 91,
|
@@ -8212,7 +8404,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8212
8404
|
},
|
8213
8405
|
extendedDataResponsive: {
|
8214
8406
|
visible: false,
|
8215
|
-
}
|
8407
|
+
},
|
8216
8408
|
},
|
8217
8409
|
{
|
8218
8410
|
key: 92,
|
@@ -8235,7 +8427,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8235
8427
|
},
|
8236
8428
|
extendedDataResponsive: {
|
8237
8429
|
visible: false,
|
8238
|
-
}
|
8430
|
+
},
|
8239
8431
|
},
|
8240
8432
|
{
|
8241
8433
|
key: 93,
|
@@ -8258,7 +8450,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8258
8450
|
},
|
8259
8451
|
extendedDataResponsive: {
|
8260
8452
|
visible: false,
|
8261
|
-
}
|
8453
|
+
},
|
8262
8454
|
},
|
8263
8455
|
{
|
8264
8456
|
key: 94,
|
@@ -8281,14 +8473,14 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8281
8473
|
},
|
8282
8474
|
extendedDataResponsive: {
|
8283
8475
|
visible: false,
|
8284
|
-
}
|
8476
|
+
},
|
8285
8477
|
},
|
8286
8478
|
{
|
8287
8479
|
key: 95,
|
8288
8480
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8289
8481
|
group: 100,
|
8290
8482
|
padding: new go.Margin(0, 0, 0, 0),
|
8291
|
-
loc: '
|
8483
|
+
loc: '10 20',
|
8292
8484
|
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS],
|
8293
8485
|
minSizeValue: new go.Size(100, NaN),
|
8294
8486
|
selectable: false,
|
@@ -8297,14 +8489,26 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8297
8489
|
value: '',
|
8298
8490
|
isEditable: true,
|
8299
8491
|
maxSizeValue: 130,
|
8300
|
-
|
8492
|
+
extendedDataIsFromPlugin: {
|
8493
|
+
maxSizeValue: 220,
|
8494
|
+
},
|
8495
|
+
}.concat(ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => ({
|
8496
|
+
...e,
|
8497
|
+
value: `Mapping in "Cooling Water Chemistry" section`,
|
8498
|
+
isEditable: false,
|
8499
|
+
maxSizeValue: 230,
|
8500
|
+
isReadOnly: true,
|
8501
|
+
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
8502
|
+
font: '10px sans-serif',
|
8503
|
+
visible: false,
|
8504
|
+
}))))),
|
8301
8505
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8302
8506
|
extendedData: {
|
8303
8507
|
visible: true,
|
8304
8508
|
},
|
8305
8509
|
extendedDataResponsive: {
|
8306
8510
|
visible: false,
|
8307
|
-
}
|
8511
|
+
},
|
8308
8512
|
},
|
8309
8513
|
{
|
8310
8514
|
key: 96,
|
@@ -8318,7 +8522,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8318
8522
|
},
|
8319
8523
|
extendedDataResponsive: {
|
8320
8524
|
margin: new go.Margin(20, 20, 0, 0),
|
8321
|
-
}
|
8525
|
+
},
|
8322
8526
|
},
|
8323
8527
|
{
|
8324
8528
|
key: 97,
|
@@ -8332,7 +8536,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8332
8536
|
},
|
8333
8537
|
extendedDataResponsive: {
|
8334
8538
|
visible: true,
|
8335
|
-
}
|
8539
|
+
},
|
8336
8540
|
},
|
8337
8541
|
{
|
8338
8542
|
key: 98,
|
@@ -8346,7 +8550,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8346
8550
|
},
|
8347
8551
|
extendedDataResponsive: {
|
8348
8552
|
visible: true,
|
8349
|
-
}
|
8553
|
+
},
|
8350
8554
|
},
|
8351
8555
|
{
|
8352
8556
|
key: 99,
|
@@ -8360,9 +8564,14 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8360
8564
|
},
|
8361
8565
|
extendedDataResponsive: {
|
8362
8566
|
visible: true,
|
8363
|
-
}
|
8567
|
+
},
|
8568
|
+
},
|
8569
|
+
{
|
8570
|
+
key: 100,
|
8571
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.COOLING_TOWER,
|
8572
|
+
isGroup: true,
|
8573
|
+
name: 'Group',
|
8364
8574
|
},
|
8365
|
-
{ key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.COOLING_TOWER, isGroup: true, name: 'Group' },
|
8366
8575
|
],
|
8367
8576
|
linkDataArray: [],
|
8368
8577
|
},
|
@@ -8393,13 +8602,13 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8393
8602
|
},
|
8394
8603
|
extendedDataResponsive: {
|
8395
8604
|
loc: '700 300',
|
8396
|
-
}
|
8605
|
+
},
|
8397
8606
|
},
|
8398
8607
|
// For view Chemistry
|
8399
8608
|
{
|
8400
8609
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8401
8610
|
group: 100,
|
8402
|
-
loc: '
|
8611
|
+
loc: '5 280',
|
8403
8612
|
padding: new go.Margin(0, 0, 0, 0),
|
8404
8613
|
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER],
|
8405
8614
|
minSizeValue: new go.Size(100, NaN),
|
@@ -8409,7 +8618,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8409
8618
|
value: '',
|
8410
8619
|
isEditable: true,
|
8411
8620
|
maxSizeValue: 140,
|
8412
|
-
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER
|
8621
|
+
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
8413
8622
|
})),
|
8414
8623
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8415
8624
|
extendedData: {
|
@@ -8417,12 +8626,46 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8417
8626
|
},
|
8418
8627
|
extendedDataResponsive: {
|
8419
8628
|
visible: false,
|
8420
|
-
}
|
8629
|
+
},
|
8421
8630
|
},
|
8422
8631
|
{
|
8423
8632
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8424
8633
|
group: 100,
|
8425
|
-
loc: '
|
8634
|
+
loc: '0 20',
|
8635
|
+
padding: new go.Margin(0, 0, 0, 0),
|
8636
|
+
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS],
|
8637
|
+
minSizeValue: new go.Size(100, NaN),
|
8638
|
+
selectable: false,
|
8639
|
+
dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.SYSTEM_KPIS].map((e) => ({
|
8640
|
+
...e,
|
8641
|
+
value: `Mapping in "Steam" section`,
|
8642
|
+
isEditable: true,
|
8643
|
+
maxSizeValue: 170,
|
8644
|
+
waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
8645
|
+
isReadOnly: true,
|
8646
|
+
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
8647
|
+
font: '10px sans-serif',
|
8648
|
+
maxSizeNameParam: new go.Size(125, 15),
|
8649
|
+
})),
|
8650
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8651
|
+
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
8652
|
+
extendedData: {
|
8653
|
+
visible: false,
|
8654
|
+
},
|
8655
|
+
extendedDataisFromPlugin: {
|
8656
|
+
visible: true,
|
8657
|
+
},
|
8658
|
+
extendedDataResponsive: {
|
8659
|
+
visible: false,
|
8660
|
+
},
|
8661
|
+
extendedDataisFromPluginResponsive: {
|
8662
|
+
visible: false,
|
8663
|
+
},
|
8664
|
+
},
|
8665
|
+
{
|
8666
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8667
|
+
group: 100,
|
8668
|
+
loc: '400 5',
|
8426
8669
|
padding: new go.Margin(0, 0, 0, 0),
|
8427
8670
|
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.CONDENSATE_RETURN],
|
8428
8671
|
minSizeValue: new go.Size(100, NaN),
|
@@ -8432,7 +8675,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8432
8675
|
value: '',
|
8433
8676
|
isEditable: true,
|
8434
8677
|
maxSizeValue: 140,
|
8435
|
-
waterSystem: WATER_SYSTEMS_NAME.CONDENSATE_RETURN
|
8678
|
+
waterSystem: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
8436
8679
|
})),
|
8437
8680
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8438
8681
|
extendedData: {
|
@@ -8440,7 +8683,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8440
8683
|
},
|
8441
8684
|
extendedDataResponsive: {
|
8442
8685
|
visible: false,
|
8443
|
-
}
|
8686
|
+
},
|
8444
8687
|
},
|
8445
8688
|
{
|
8446
8689
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
@@ -8455,7 +8698,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8455
8698
|
value: '',
|
8456
8699
|
isEditable: true,
|
8457
8700
|
maxSizeValue: 140,
|
8458
|
-
waterSystem: WATER_SYSTEMS_NAME.STEAM
|
8701
|
+
waterSystem: WATER_SYSTEMS_NAME.STEAM,
|
8459
8702
|
})),
|
8460
8703
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8461
8704
|
extendedData: {
|
@@ -8463,7 +8706,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8463
8706
|
},
|
8464
8707
|
extendedDataResponsive: {
|
8465
8708
|
visible: false,
|
8466
|
-
}
|
8709
|
+
},
|
8467
8710
|
},
|
8468
8711
|
{
|
8469
8712
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
@@ -8478,7 +8721,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8478
8721
|
value: '',
|
8479
8722
|
isEditable: true,
|
8480
8723
|
maxSizeValue: 140,
|
8481
|
-
waterSystem: WATER_SYSTEMS_NAME.BOILER_FEED_WATER
|
8724
|
+
waterSystem: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
8482
8725
|
})),
|
8483
8726
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8484
8727
|
extendedData: {
|
@@ -8486,7 +8729,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8486
8729
|
},
|
8487
8730
|
extendedDataResponsive: {
|
8488
8731
|
visible: false,
|
8489
|
-
}
|
8732
|
+
},
|
8490
8733
|
},
|
8491
8734
|
{
|
8492
8735
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
@@ -8501,7 +8744,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8501
8744
|
value: '',
|
8502
8745
|
isEditable: true,
|
8503
8746
|
maxSizeValue: 140,
|
8504
|
-
waterSystem: WATER_SYSTEMS_NAME.BOILER_WATER
|
8747
|
+
waterSystem: WATER_SYSTEMS_NAME.BOILER_WATER,
|
8505
8748
|
})),
|
8506
8749
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8507
8750
|
extendedData: {
|
@@ -8509,7 +8752,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8509
8752
|
},
|
8510
8753
|
extendedDataResponsive: {
|
8511
8754
|
visible: false,
|
8512
|
-
}
|
8755
|
+
},
|
8513
8756
|
},
|
8514
8757
|
{
|
8515
8758
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.IMAGE_TEMPLATE,
|
@@ -8522,7 +8765,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8522
8765
|
},
|
8523
8766
|
extendedDataResponsive: {
|
8524
8767
|
margin: new go.Margin(20, 20, 0, 0),
|
8525
|
-
}
|
8768
|
+
},
|
8526
8769
|
},
|
8527
8770
|
{
|
8528
8771
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
@@ -8536,7 +8779,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8536
8779
|
},
|
8537
8780
|
extendedDataResponsive: {
|
8538
8781
|
visible: true,
|
8539
|
-
}
|
8782
|
+
},
|
8540
8783
|
},
|
8541
8784
|
{
|
8542
8785
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
@@ -8550,7 +8793,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8550
8793
|
},
|
8551
8794
|
extendedDataResponsive: {
|
8552
8795
|
visible: true,
|
8553
|
-
}
|
8796
|
+
},
|
8554
8797
|
},
|
8555
8798
|
{
|
8556
8799
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
@@ -8564,7 +8807,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8564
8807
|
},
|
8565
8808
|
extendedDataResponsive: {
|
8566
8809
|
visible: true,
|
8567
|
-
}
|
8810
|
+
},
|
8568
8811
|
},
|
8569
8812
|
{
|
8570
8813
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
@@ -8578,7 +8821,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8578
8821
|
},
|
8579
8822
|
extendedDataResponsive: {
|
8580
8823
|
visible: true,
|
8581
|
-
}
|
8824
|
+
},
|
8582
8825
|
},
|
8583
8826
|
{
|
8584
8827
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
@@ -8592,7 +8835,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8592
8835
|
},
|
8593
8836
|
extendedDataResponsive: {
|
8594
8837
|
visible: true,
|
8595
|
-
}
|
8838
|
+
},
|
8596
8839
|
},
|
8597
8840
|
// For view Flow
|
8598
8841
|
{
|
@@ -8608,7 +8851,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8608
8851
|
value: '',
|
8609
8852
|
isEditable: true,
|
8610
8853
|
maxSizeValue: 140,
|
8611
|
-
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER
|
8854
|
+
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
8612
8855
|
})),
|
8613
8856
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8614
8857
|
extendedData: {
|
@@ -8616,7 +8859,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8616
8859
|
},
|
8617
8860
|
extendedDataResponsive: {
|
8618
8861
|
visible: false,
|
8619
|
-
}
|
8862
|
+
},
|
8620
8863
|
},
|
8621
8864
|
{
|
8622
8865
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
@@ -8631,7 +8874,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8631
8874
|
value: '',
|
8632
8875
|
isEditable: true,
|
8633
8876
|
maxSizeValue: 140,
|
8634
|
-
waterSystem: WATER_SYSTEMS_NAME.CONDENSATE_RETURN
|
8877
|
+
waterSystem: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
8635
8878
|
})),
|
8636
8879
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8637
8880
|
extendedData: {
|
@@ -8639,7 +8882,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8639
8882
|
},
|
8640
8883
|
extendedDataResponsive: {
|
8641
8884
|
visible: false,
|
8642
|
-
}
|
8885
|
+
},
|
8643
8886
|
},
|
8644
8887
|
{
|
8645
8888
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
@@ -8654,7 +8897,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8654
8897
|
value: '',
|
8655
8898
|
isEditable: true,
|
8656
8899
|
maxSizeValue: 140,
|
8657
|
-
waterSystem: WATER_SYSTEMS_NAME.STEAM
|
8900
|
+
waterSystem: WATER_SYSTEMS_NAME.STEAM,
|
8658
8901
|
})),
|
8659
8902
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8660
8903
|
extendedData: {
|
@@ -8662,7 +8905,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8662
8905
|
},
|
8663
8906
|
extendedDataResponsive: {
|
8664
8907
|
visible: false,
|
8665
|
-
}
|
8908
|
+
},
|
8666
8909
|
},
|
8667
8910
|
{
|
8668
8911
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
@@ -8677,7 +8920,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8677
8920
|
value: '',
|
8678
8921
|
isEditable: true,
|
8679
8922
|
maxSizeValue: 140,
|
8680
|
-
waterSystem: WATER_SYSTEMS_NAME.BOILER_FEED_WATER
|
8923
|
+
waterSystem: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
8681
8924
|
})),
|
8682
8925
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8683
8926
|
extendedData: {
|
@@ -8685,7 +8928,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8685
8928
|
},
|
8686
8929
|
extendedDataResponsive: {
|
8687
8930
|
visible: false,
|
8688
|
-
}
|
8931
|
+
},
|
8689
8932
|
},
|
8690
8933
|
{
|
8691
8934
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
@@ -8700,7 +8943,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8700
8943
|
value: '',
|
8701
8944
|
isEditable: true,
|
8702
8945
|
maxSizeValue: 140,
|
8703
|
-
waterSystem: WATER_SYSTEMS_NAME.STEAM_LOSS
|
8946
|
+
waterSystem: WATER_SYSTEMS_NAME.STEAM_LOSS,
|
8704
8947
|
})),
|
8705
8948
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8706
8949
|
extendedData: {
|
@@ -8708,7 +8951,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8708
8951
|
},
|
8709
8952
|
extendedDataResponsive: {
|
8710
8953
|
visible: false,
|
8711
|
-
}
|
8954
|
+
},
|
8712
8955
|
},
|
8713
8956
|
{
|
8714
8957
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
@@ -8723,7 +8966,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8723
8966
|
value: '',
|
8724
8967
|
isEditable: true,
|
8725
8968
|
maxSizeValue: 140,
|
8726
|
-
waterSystem: WATER_SYSTEMS_NAME.BLOWDOWN
|
8969
|
+
waterSystem: WATER_SYSTEMS_NAME.BLOWDOWN,
|
8727
8970
|
})),
|
8728
8971
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8729
8972
|
extendedData: {
|
@@ -8731,7 +8974,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8731
8974
|
},
|
8732
8975
|
extendedDataResponsive: {
|
8733
8976
|
visible: false,
|
8734
|
-
}
|
8977
|
+
},
|
8735
8978
|
},
|
8736
8979
|
{
|
8737
8980
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
@@ -8745,7 +8988,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8745
8988
|
},
|
8746
8989
|
extendedDataResponsive: {
|
8747
8990
|
visible: true,
|
8748
|
-
}
|
8991
|
+
},
|
8749
8992
|
},
|
8750
8993
|
{
|
8751
8994
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
@@ -8759,7 +9002,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8759
9002
|
},
|
8760
9003
|
extendedDataResponsive: {
|
8761
9004
|
visible: true,
|
8762
|
-
}
|
9005
|
+
},
|
8763
9006
|
},
|
8764
9007
|
{
|
8765
9008
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
@@ -8773,7 +9016,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8773
9016
|
},
|
8774
9017
|
extendedDataResponsive: {
|
8775
9018
|
visible: true,
|
8776
|
-
}
|
9019
|
+
},
|
8777
9020
|
},
|
8778
9021
|
{
|
8779
9022
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
@@ -8787,7 +9030,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8787
9030
|
},
|
8788
9031
|
extendedDataResponsive: {
|
8789
9032
|
visible: true,
|
8790
|
-
}
|
9033
|
+
},
|
8791
9034
|
},
|
8792
9035
|
{
|
8793
9036
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
@@ -8801,9 +9044,14 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8801
9044
|
},
|
8802
9045
|
extendedDataResponsive: {
|
8803
9046
|
visible: true,
|
8804
|
-
}
|
9047
|
+
},
|
9048
|
+
},
|
9049
|
+
{
|
9050
|
+
key: 100,
|
9051
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.BOILER,
|
9052
|
+
isGroup: true,
|
9053
|
+
name: 'Group',
|
8805
9054
|
},
|
8806
|
-
{ key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.BOILER, isGroup: true, name: 'Group' },
|
8807
9055
|
],
|
8808
9056
|
linkDataArray: [],
|
8809
9057
|
},
|
@@ -8843,7 +9091,12 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8843
9091
|
group: 100,
|
8844
9092
|
loc: '92.5 95',
|
8845
9093
|
},
|
8846
|
-
{
|
9094
|
+
{
|
9095
|
+
key: 100,
|
9096
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.OTHER,
|
9097
|
+
isGroup: true,
|
9098
|
+
name: 'Group',
|
9099
|
+
},
|
8847
9100
|
],
|
8848
9101
|
linkDataArray: [
|
8849
9102
|
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
@@ -8878,7 +9131,12 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8878
9131
|
group: 100,
|
8879
9132
|
loc: '92.5 95',
|
8880
9133
|
},
|
8881
|
-
{
|
9134
|
+
{
|
9135
|
+
key: 100,
|
9136
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.LANDSCAPING_IRRIGATION,
|
9137
|
+
isGroup: true,
|
9138
|
+
name: 'Group',
|
9139
|
+
},
|
8882
9140
|
],
|
8883
9141
|
linkDataArray: [
|
8884
9142
|
{ from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
|
@@ -8971,11 +9229,19 @@ class AssetFlowComponent {
|
|
8971
9229
|
const isResponsiveView = window.innerWidth < 1024;
|
8972
9230
|
// Reponsive
|
8973
9231
|
_.forEach(flowData?.nodeDataArray, (node) => {
|
8974
|
-
|
9232
|
+
const propertyNameExtend = `extendedData${defaultData.isFrom && node?.isFrom ? `isFrom${defaultData.isFrom}` : ''}${isResponsiveView ? 'Responsive' : ''}`;
|
9233
|
+
node = _.merge(node, node[propertyNameExtend]);
|
8975
9234
|
if (node?.assetLayers) {
|
8976
9235
|
node.visible =
|
8977
9236
|
node?.assetLayers === defaultData?.assetLayer &&
|
8978
|
-
node[
|
9237
|
+
node[propertyNameExtend]?.visible;
|
9238
|
+
}
|
9239
|
+
if (defaultData.isFrom && node?.dataTable) {
|
9240
|
+
_.forEach(node?.dataTable, item => {
|
9241
|
+
if (item?.isFrom) {
|
9242
|
+
item.visible = item?.isFrom === defaultData.isFrom;
|
9243
|
+
}
|
9244
|
+
});
|
8979
9245
|
}
|
8980
9246
|
});
|
8981
9247
|
// assetLayer
|
@@ -8990,13 +9256,21 @@ class AssetFlowComponent {
|
|
8990
9256
|
}
|
8991
9257
|
setFlowData(data) {
|
8992
9258
|
_.forEach(data.nodeDataArray, (node) => {
|
8993
|
-
|
9259
|
+
const propertyNameExtend = `extendedData${data.isFrom && node?.isFrom ? `isFrom${data.isFrom}` : ''}${this.isResponsiveView ? 'Responsive' : ''}`;
|
9260
|
+
node = _.merge(node, node[propertyNameExtend]);
|
8994
9261
|
if (node?.assetLayers) {
|
8995
9262
|
node.visible =
|
8996
9263
|
node?.assetLayers === data.assetLayer &&
|
8997
|
-
node[
|
9264
|
+
node[propertyNameExtend]
|
8998
9265
|
?.visible;
|
8999
9266
|
}
|
9267
|
+
if (data.isFrom && node?.dataTable) {
|
9268
|
+
_.forEach(node?.dataTable, item => {
|
9269
|
+
if (item?.isFrom) {
|
9270
|
+
item.visible = item?.isFrom === data.isFrom;
|
9271
|
+
}
|
9272
|
+
});
|
9273
|
+
}
|
9000
9274
|
});
|
9001
9275
|
this.flowData = {
|
9002
9276
|
...data,
|
@@ -9013,7 +9287,7 @@ class AssetFlowComponent {
|
|
9013
9287
|
}
|
9014
9288
|
}
|
9015
9289
|
AssetFlowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetFlowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
9016
|
-
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", 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"] }] });
|
9290
|
+
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"] }] });
|
9017
9291
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetFlowComponent, decorators: [{
|
9018
9292
|
type: Component,
|
9019
9293
|
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"] }]
|
@@ -9033,6 +9307,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
9033
9307
|
type: Output
|
9034
9308
|
}], isUseBase64: [{
|
9035
9309
|
type: Input
|
9310
|
+
}], isFrom: [{
|
9311
|
+
type: Input
|
9036
9312
|
}], flowData: [{
|
9037
9313
|
type: Input
|
9038
9314
|
}], getFlowDataCallBack: [{
|
@@ -9119,5 +9395,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
9119
9395
|
* Generated bundle index. Do not edit.
|
9120
9396
|
*/
|
9121
9397
|
|
9122
|
-
export { ASSET_CATEGORY_PARAMS, ASSET_CATEGORY_PARAMS__BOILER, ATO_ASSET_LAYERS, ATO_COMPONENTS_GROUP_DATA, 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 };
|
9398
|
+
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 };
|
9123
9399
|
//# sourceMappingURL=ato-water-lib.mjs.map
|