ato-water-lib 0.0.94 → 0.0.95
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 +101 -69
- package/esm2020/lib/models/default-gojs-editor.model.mjs +23 -7
- package/fesm2015/ato-water-lib.mjs +115 -67
- package/fesm2015/ato-water-lib.mjs.map +1 -1
- package/fesm2020/ato-water-lib.mjs +122 -74
- package/fesm2020/ato-water-lib.mjs.map +1 -1
- package/lib/constants/components-group-const.d.ts +30 -2
- package/package.json +1 -1
@@ -5608,7 +5608,7 @@ class AtoDefaultGojsEditor {
|
|
5608
5608
|
// Header
|
5609
5609
|
this.$(go.Panel, 'Auto', {
|
5610
5610
|
stretch: go.GraphObject.Fill,
|
5611
|
-
minSize: new go.Size(
|
5611
|
+
minSize: new go.Size(NaN, 27),
|
5612
5612
|
margin: new go.Margin(0, 0, -6, 0),
|
5613
5613
|
}, new go.Binding('visible', '', (data) => !!data?.title), this.$(go.Shape, 'RoundedRectangle', {
|
5614
5614
|
parameter1: 5,
|
@@ -5656,7 +5656,12 @@ class AtoDefaultGojsEditor {
|
|
5656
5656
|
// ),
|
5657
5657
|
// new go.Binding('itemArray', 'dataTable'),
|
5658
5658
|
new go.Binding('itemArray', '', function (data) {
|
5659
|
-
return data.dataTable.filter((x) => x?.visible !== false);
|
5659
|
+
// return data.dataTable.filter((x) => x?.visible !== false);
|
5660
|
+
const dataTable = data.dataTable.filter((x) => x?.visible !== false);
|
5661
|
+
if (data?.isShowDataLongitudinal) {
|
5662
|
+
return _.map(dataTable, x => { return { ...x, isOnlyShowParamName: true }; })?.concat(_.map(dataTable, x => { return { ...x, isOnlyShowValue: true, minSizeValue: new go.Size(170, 15) }; }));
|
5663
|
+
}
|
5664
|
+
return dataTable;
|
5660
5665
|
}), {
|
5661
5666
|
// itemTemplate: this.$(
|
5662
5667
|
// go.Panel,
|
@@ -5703,15 +5708,25 @@ class AtoDefaultGojsEditor {
|
|
5703
5708
|
return data?.name;
|
5704
5709
|
}), new go.Binding('maxSize', '', (data, panel) => {
|
5705
5710
|
return data?.maxSizeNameParam;
|
5711
|
+
}), new go.Binding('visible', '', (data, panel) => {
|
5712
|
+
return !data?.isOnlyShowValue;
|
5706
5713
|
})), this.$(go.Panel, 'Table', {
|
5707
5714
|
column: 1,
|
5708
5715
|
margin: 2,
|
5709
5716
|
padding: 0,
|
5710
5717
|
defaultSeparatorPadding: new go.Margin(0, 0, 0, 0),
|
5711
5718
|
stretch: go.GraphObject.Fill,
|
5712
|
-
|
5713
|
-
|
5714
|
-
return
|
5719
|
+
// minSize: new go.Size(170, 15),
|
5720
|
+
}, new go.Binding('visible', '', (data, panel) => {
|
5721
|
+
return !data?.isOnlyShowParamName;
|
5722
|
+
}), new go.Binding('column', '', (data, panel) => {
|
5723
|
+
return data?.isOnlyShowValue ? 0 : 1;
|
5724
|
+
}), new go.Binding('minSize', '', (data, panel) => {
|
5725
|
+
return data?.minSizeValue ?? new go.Size(90, 14);
|
5726
|
+
// return new go.Size(
|
5727
|
+
// panel.part?.data?.minSizeValue?.width,
|
5728
|
+
// NaN
|
5729
|
+
// );
|
5715
5730
|
}), this.$(go.TextBlock, '', {
|
5716
5731
|
column: 0,
|
5717
5732
|
margin: 0,
|
@@ -5739,7 +5754,8 @@ class AtoDefaultGojsEditor {
|
|
5739
5754
|
}
|
5740
5755
|
return data.color;
|
5741
5756
|
}), new go.Binding('maxSize', '', (data) => {
|
5742
|
-
return
|
5757
|
+
return data?.maxSizeValue;
|
5758
|
+
// new go.Size(data?.maxSizeValue || 190, 14);
|
5743
5759
|
}), new go.Binding('font', '', (data) => {
|
5744
5760
|
return data?.font;
|
5745
5761
|
})), this.$(go.Picture, {
|
@@ -8238,7 +8254,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8238
8254
|
// key: 132,
|
8239
8255
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8240
8256
|
group: 100,
|
8241
|
-
loc: '
|
8257
|
+
loc: '5 340',
|
8242
8258
|
padding: new go.Margin(0, 0, 0, 0),
|
8243
8259
|
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.FEED],
|
8244
8260
|
minSizeValue: new go.Size(100, NaN),
|
@@ -8247,7 +8263,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8247
8263
|
...e,
|
8248
8264
|
value: '',
|
8249
8265
|
isEditable: true,
|
8250
|
-
maxSizeValue:
|
8266
|
+
maxSizeValue: new go.Size(125, 14),
|
8251
8267
|
waterSystem: WATER_SYSTEMS_NAME.FEED,
|
8252
8268
|
})),
|
8253
8269
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -8262,7 +8278,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8262
8278
|
// key: 132,
|
8263
8279
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8264
8280
|
group: 100,
|
8265
|
-
loc: '
|
8281
|
+
loc: '5 10',
|
8266
8282
|
padding: new go.Margin(0, 0, 0, 0),
|
8267
8283
|
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS],
|
8268
8284
|
minSizeValue: new go.Size(100, NaN),
|
@@ -8271,7 +8287,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8271
8287
|
...e,
|
8272
8288
|
value: '',
|
8273
8289
|
isEditable: true,
|
8274
|
-
maxSizeValue:
|
8290
|
+
maxSizeValue: new go.Size(100, 30),
|
8275
8291
|
maxSizeNameParam: new go.Size(140, 30),
|
8276
8292
|
waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
8277
8293
|
})),
|
@@ -8296,7 +8312,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8296
8312
|
...e,
|
8297
8313
|
value: '',
|
8298
8314
|
isEditable: true,
|
8299
|
-
maxSizeValue: 140,
|
8315
|
+
maxSizeValue: new go.Size(140, 14),
|
8300
8316
|
waterSystem: WATER_SYSTEMS_NAME.RO,
|
8301
8317
|
})),
|
8302
8318
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -8320,7 +8336,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8320
8336
|
...e,
|
8321
8337
|
value: '',
|
8322
8338
|
isEditable: true,
|
8323
|
-
maxSizeValue: 140,
|
8339
|
+
maxSizeValue: new go.Size(140, 14),
|
8324
8340
|
waterSystem: WATER_SYSTEMS_NAME.CONCENTRATE,
|
8325
8341
|
})),
|
8326
8342
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -8344,7 +8360,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8344
8360
|
...e,
|
8345
8361
|
value: '',
|
8346
8362
|
isEditable: true,
|
8347
|
-
maxSizeValue: 140,
|
8363
|
+
maxSizeValue: new go.Size(140, 14),
|
8348
8364
|
waterSystem: WATER_SYSTEMS_NAME.PERMEATE,
|
8349
8365
|
})),
|
8350
8366
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -8359,16 +8375,19 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8359
8375
|
// key: 132,
|
8360
8376
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8361
8377
|
group: 100,
|
8362
|
-
loc: '
|
8378
|
+
loc: '280 340',
|
8363
8379
|
padding: new go.Margin(0, 0, 0, 0),
|
8364
8380
|
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.PRE_FILTER],
|
8365
8381
|
minSizeValue: new go.Size(100, NaN),
|
8366
8382
|
selectable: false,
|
8383
|
+
isShowDataLongitudinal: true,
|
8384
|
+
// minSize: new go.Size(200, 27),
|
8367
8385
|
dataTable: ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT[WATER_SYSTEMS_NAME.RO_PRE_FILTER__FLOW].map((e) => ({
|
8368
8386
|
...e,
|
8369
8387
|
value: '',
|
8370
8388
|
isEditable: true,
|
8371
|
-
|
8389
|
+
maxSizeNameParam: new go.Size(170, 15),
|
8390
|
+
maxSizeValue: new go.Size(170, 15),
|
8372
8391
|
waterSystem: WATER_SYSTEMS_NAME.PRE_FILTER,
|
8373
8392
|
})),
|
8374
8393
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -8383,7 +8402,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8383
8402
|
// key: 132,
|
8384
8403
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8385
8404
|
group: 100,
|
8386
|
-
loc: '
|
8405
|
+
loc: '530 130',
|
8387
8406
|
padding: new go.Margin(0, 0, 0, 0),
|
8388
8407
|
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.HP_PUMP],
|
8389
8408
|
minSizeValue: new go.Size(100, NaN),
|
@@ -8392,7 +8411,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8392
8411
|
...e,
|
8393
8412
|
value: '',
|
8394
8413
|
isEditable: true,
|
8395
|
-
maxSizeValue: 140,
|
8414
|
+
maxSizeValue: new go.Size(140, 14),
|
8396
8415
|
waterSystem: WATER_SYSTEMS_NAME.HP_PUMP,
|
8397
8416
|
})),
|
8398
8417
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -8408,7 +8427,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8408
8427
|
// key: 132,
|
8409
8428
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8410
8429
|
group: 100,
|
8411
|
-
loc: '
|
8430
|
+
loc: '5 340',
|
8412
8431
|
padding: new go.Margin(0, 0, 0, 0),
|
8413
8432
|
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.FEED],
|
8414
8433
|
minSizeValue: new go.Size(100, NaN),
|
@@ -8417,7 +8436,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8417
8436
|
...e,
|
8418
8437
|
value: '',
|
8419
8438
|
isEditable: true,
|
8420
|
-
maxSizeValue: 140,
|
8439
|
+
maxSizeValue: new go.Size(140, 14),
|
8421
8440
|
waterSystem: WATER_SYSTEMS_NAME.FEED,
|
8422
8441
|
})),
|
8423
8442
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
@@ -8432,7 +8451,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8432
8451
|
// key: 132,
|
8433
8452
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
|
8434
8453
|
group: 100,
|
8435
|
-
loc: '
|
8454
|
+
loc: '5 40',
|
8436
8455
|
padding: new go.Margin(0, 0, 0, 0),
|
8437
8456
|
...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS],
|
8438
8457
|
minSizeValue: new go.Size(100, NaN),
|
@@ -8441,7 +8460,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8441
8460
|
...e,
|
8442
8461
|
value: '',
|
8443
8462
|
isEditable: true,
|
8444
|
-
maxSizeValue:
|
8463
|
+
maxSizeValue: new go.Size(100, 30),
|
8445
8464
|
maxSizeNameParam: new go.Size(140, 30),
|
8446
8465
|
waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
8447
8466
|
})),
|
@@ -8466,7 +8485,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8466
8485
|
...e,
|
8467
8486
|
value: '',
|
8468
8487
|
isEditable: true,
|
8469
|
-
maxSizeValue: 140,
|
8488
|
+
maxSizeValue: new go.Size(140, 14),
|
8470
8489
|
waterSystem: WATER_SYSTEMS_NAME.RO,
|
8471
8490
|
})),
|
8472
8491
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
@@ -8490,7 +8509,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8490
8509
|
...e,
|
8491
8510
|
value: '',
|
8492
8511
|
isEditable: true,
|
8493
|
-
maxSizeValue: 140,
|
8512
|
+
maxSizeValue: new go.Size(140, 14),
|
8494
8513
|
waterSystem: WATER_SYSTEMS_NAME.CONCENTRATE,
|
8495
8514
|
})),
|
8496
8515
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
@@ -8514,7 +8533,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8514
8533
|
...e,
|
8515
8534
|
value: '',
|
8516
8535
|
isEditable: true,
|
8517
|
-
maxSizeValue: 140,
|
8536
|
+
maxSizeValue: new go.Size(140, 14),
|
8518
8537
|
waterSystem: WATER_SYSTEMS_NAME.PERMEATE,
|
8519
8538
|
})),
|
8520
8539
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
@@ -8579,9 +8598,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8579
8598
|
// key: 97,
|
8580
8599
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8581
8600
|
group: 100,
|
8582
|
-
loc: '
|
8601
|
+
loc: '370 90',
|
8583
8602
|
name: WATER_SYSTEMS_NAME.RO,
|
8584
|
-
color: AtoGojsEditorModel.ENUM_COLORS.
|
8603
|
+
color: AtoGojsEditorModel.ENUM_COLORS.LONDON_HUE,
|
8585
8604
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8586
8605
|
extendedData: {
|
8587
8606
|
visible: false,
|
@@ -8624,7 +8643,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8624
8643
|
// key: 97,
|
8625
8644
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8626
8645
|
group: 100,
|
8627
|
-
loc: '
|
8646
|
+
loc: '195 310',
|
8628
8647
|
name: WATER_SYSTEMS_NAME.PRE_FILTER,
|
8629
8648
|
color: AtoGojsEditorModel.ENUM_COLORS.ICE_COLD,
|
8630
8649
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -8639,7 +8658,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8639
8658
|
// key: 97,
|
8640
8659
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8641
8660
|
group: 100,
|
8642
|
-
loc: '
|
8661
|
+
loc: '540 170',
|
8643
8662
|
name: WATER_SYSTEMS_NAME.HP_PUMP,
|
8644
8663
|
color: AtoGojsEditorModel.ENUM_COLORS.ICE_COLD,
|
8645
8664
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -8650,14 +8669,43 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8650
8669
|
visible: true,
|
8651
8670
|
},
|
8652
8671
|
},
|
8653
|
-
// Label
|
8654
8672
|
{
|
8655
8673
|
// key: 97,
|
8656
8674
|
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8657
8675
|
group: 100,
|
8658
|
-
loc: '
|
8676
|
+
loc: '370 90',
|
8659
8677
|
name: WATER_SYSTEMS_NAME.RO,
|
8660
|
-
color: AtoGojsEditorModel.ENUM_COLORS.
|
8678
|
+
color: AtoGojsEditorModel.ENUM_COLORS.LONDON_HUE,
|
8679
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8680
|
+
extendedData: {
|
8681
|
+
visible: false,
|
8682
|
+
},
|
8683
|
+
extendedDataResponsive: {
|
8684
|
+
visible: true,
|
8685
|
+
},
|
8686
|
+
},
|
8687
|
+
{
|
8688
|
+
// key: 97,
|
8689
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8690
|
+
group: 100,
|
8691
|
+
loc: '195 310',
|
8692
|
+
name: WATER_SYSTEMS_NAME.PRE_FILTER,
|
8693
|
+
color: AtoGojsEditorModel.ENUM_COLORS.ICE_COLD,
|
8694
|
+
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8695
|
+
extendedData: {
|
8696
|
+
visible: false,
|
8697
|
+
},
|
8698
|
+
extendedDataResponsive: {
|
8699
|
+
visible: true,
|
8700
|
+
},
|
8701
|
+
},
|
8702
|
+
{
|
8703
|
+
// key: 97,
|
8704
|
+
type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
|
8705
|
+
group: 100,
|
8706
|
+
loc: '540 170',
|
8707
|
+
name: WATER_SYSTEMS_NAME.HP_PUMP,
|
8708
|
+
color: AtoGojsEditorModel.ENUM_COLORS.ICE_COLD,
|
8661
8709
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
8662
8710
|
extendedData: {
|
8663
8711
|
visible: false,
|
@@ -9211,7 +9259,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9211
9259
|
...e,
|
9212
9260
|
value: '',
|
9213
9261
|
isEditable: true,
|
9214
|
-
maxSizeValue: 140,
|
9262
|
+
maxSizeValue: new go.Size(140, 14),
|
9215
9263
|
})),
|
9216
9264
|
visible: true,
|
9217
9265
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -9235,7 +9283,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9235
9283
|
...e,
|
9236
9284
|
value: '',
|
9237
9285
|
isEditable: true,
|
9238
|
-
maxSizeValue: 120,
|
9286
|
+
maxSizeValue: new go.Size(120, 14),
|
9239
9287
|
})),
|
9240
9288
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9241
9289
|
extendedData: {
|
@@ -9258,7 +9306,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9258
9306
|
...e,
|
9259
9307
|
value: '',
|
9260
9308
|
isEditable: true,
|
9261
|
-
maxSizeValue: 120,
|
9309
|
+
maxSizeValue: new go.Size(120, 14),
|
9262
9310
|
})),
|
9263
9311
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9264
9312
|
extendedData: {
|
@@ -9281,7 +9329,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9281
9329
|
...e,
|
9282
9330
|
value: '',
|
9283
9331
|
isEditable: true,
|
9284
|
-
maxSizeValue: 120,
|
9332
|
+
maxSizeValue: new go.Size(120, 14),
|
9285
9333
|
})),
|
9286
9334
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9287
9335
|
extendedData: {
|
@@ -9304,7 +9352,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9304
9352
|
...e,
|
9305
9353
|
value: '',
|
9306
9354
|
isEditable: true,
|
9307
|
-
maxSizeValue: 120,
|
9355
|
+
maxSizeValue: new go.Size(120, 14),
|
9308
9356
|
})),
|
9309
9357
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
9310
9358
|
extendedData: {
|
@@ -9327,7 +9375,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9327
9375
|
...e,
|
9328
9376
|
value: '',
|
9329
9377
|
isEditable: true,
|
9330
|
-
maxSizeValue: 130,
|
9378
|
+
maxSizeValue: new go.Size(130, 14),
|
9331
9379
|
})),
|
9332
9380
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9333
9381
|
extendedData: {
|
@@ -9350,7 +9398,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9350
9398
|
...e,
|
9351
9399
|
value: '',
|
9352
9400
|
isEditable: true,
|
9353
|
-
maxSizeValue: 130,
|
9401
|
+
maxSizeValue: new go.Size(130, 14),
|
9354
9402
|
})),
|
9355
9403
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
9356
9404
|
extendedData: {
|
@@ -9374,16 +9422,16 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9374
9422
|
...e,
|
9375
9423
|
value: '',
|
9376
9424
|
isEditable: true,
|
9377
|
-
maxSizeValue: 130,
|
9425
|
+
maxSizeValue: new go.Size(130, 14),
|
9378
9426
|
extendedDataIsFromPlugin: {
|
9379
|
-
maxSizeValue: 230,
|
9427
|
+
maxSizeValue: new go.Size(230, 14),
|
9380
9428
|
},
|
9381
9429
|
}))
|
9382
9430
|
.concat(ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => ({
|
9383
9431
|
...e,
|
9384
9432
|
value: `Mapping in "Cooling Water Chemistry" section`,
|
9385
9433
|
isEditable: false,
|
9386
|
-
maxSizeValue: 250,
|
9434
|
+
maxSizeValue: new go.Size(250, 14),
|
9387
9435
|
isReadOnly: true,
|
9388
9436
|
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
9389
9437
|
// font: '10px sans-serif',
|
@@ -9507,7 +9555,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9507
9555
|
...e,
|
9508
9556
|
value: '',
|
9509
9557
|
isEditable: true,
|
9510
|
-
maxSizeValue: 140,
|
9558
|
+
maxSizeValue: new go.Size(140, 14),
|
9511
9559
|
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS,
|
9512
9560
|
})),
|
9513
9561
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
@@ -9533,7 +9581,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9533
9581
|
// ...e,
|
9534
9582
|
// value: '',
|
9535
9583
|
// isEditable: true,
|
9536
|
-
// maxSizeValue: 140,
|
9584
|
+
// maxSizeValue: new go.Size(140, 14),
|
9537
9585
|
// waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_UF,
|
9538
9586
|
// })),
|
9539
9587
|
// assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
@@ -9561,7 +9609,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9561
9609
|
// ...e,
|
9562
9610
|
// value: '',
|
9563
9611
|
// isEditable: true,
|
9564
|
-
// maxSizeValue: 140,
|
9612
|
+
// maxSizeValue: new go.Size(140, 14),
|
9565
9613
|
// waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE,
|
9566
9614
|
// })),
|
9567
9615
|
// assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
@@ -9585,7 +9633,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9585
9633
|
...e,
|
9586
9634
|
value: '',
|
9587
9635
|
isEditable: true,
|
9588
|
-
maxSizeValue: 140,
|
9636
|
+
maxSizeValue: new go.Size(140, 14),
|
9589
9637
|
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE,
|
9590
9638
|
})),
|
9591
9639
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
@@ -9609,7 +9657,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9609
9657
|
...e,
|
9610
9658
|
value: '',
|
9611
9659
|
isEditable: true,
|
9612
|
-
maxSizeValue: 140,
|
9660
|
+
maxSizeValue: new go.Size(140, 14),
|
9613
9661
|
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_FEED,
|
9614
9662
|
})),
|
9615
9663
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
@@ -9723,7 +9771,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9723
9771
|
...e,
|
9724
9772
|
value: '',
|
9725
9773
|
isEditable: true,
|
9726
|
-
maxSizeValue: 140,
|
9774
|
+
maxSizeValue: new go.Size(140, 14),
|
9727
9775
|
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS,
|
9728
9776
|
})),
|
9729
9777
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -9747,7 +9795,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9747
9795
|
...e,
|
9748
9796
|
value: '',
|
9749
9797
|
isEditable: true,
|
9750
|
-
maxSizeValue: 140,
|
9798
|
+
maxSizeValue: new go.Size(140, 14),
|
9751
9799
|
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_UF,
|
9752
9800
|
})),
|
9753
9801
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -9771,7 +9819,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9771
9819
|
...e,
|
9772
9820
|
value: '',
|
9773
9821
|
isEditable: true,
|
9774
|
-
maxSizeValue: 140,
|
9822
|
+
maxSizeValue: new go.Size(140, 14),
|
9775
9823
|
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_BACK_PULSE,
|
9776
9824
|
})),
|
9777
9825
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -9795,7 +9843,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9795
9843
|
...e,
|
9796
9844
|
value: '',
|
9797
9845
|
isEditable: true,
|
9798
|
-
maxSizeValue: 140,
|
9846
|
+
maxSizeValue: new go.Size(140, 14),
|
9799
9847
|
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_PERMEATE,
|
9800
9848
|
})),
|
9801
9849
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -9819,7 +9867,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9819
9867
|
...e,
|
9820
9868
|
value: '',
|
9821
9869
|
isEditable: true,
|
9822
|
-
maxSizeValue: 140,
|
9870
|
+
maxSizeValue: new go.Size(140, 14),
|
9823
9871
|
waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_FEED,
|
9824
9872
|
})),
|
9825
9873
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -9956,7 +10004,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9956
10004
|
...e,
|
9957
10005
|
value: '',
|
9958
10006
|
isEditable: true,
|
9959
|
-
maxSizeValue: 140,
|
10007
|
+
maxSizeValue: new go.Size(140, 14),
|
9960
10008
|
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
9961
10009
|
})),
|
9962
10010
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
@@ -9980,7 +10028,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9980
10028
|
...e,
|
9981
10029
|
value: `Mapping in "Steam" section`,
|
9982
10030
|
isEditable: false,
|
9983
|
-
maxSizeValue: 220,
|
10031
|
+
maxSizeValue: new go.Size(220, 14),
|
9984
10032
|
waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
9985
10033
|
isReadOnly: true,
|
9986
10034
|
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
@@ -9991,7 +10039,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9991
10039
|
...e,
|
9992
10040
|
value: `Mapping in "Boiler Water" section`,
|
9993
10041
|
isEditable: false,
|
9994
|
-
maxSizeValue: 220,
|
10042
|
+
maxSizeValue: new go.Size(220, 14),
|
9995
10043
|
waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
|
9996
10044
|
isReadOnly: true,
|
9997
10045
|
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
@@ -10025,7 +10073,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10025
10073
|
...e,
|
10026
10074
|
value: '',
|
10027
10075
|
isEditable: true,
|
10028
|
-
maxSizeValue: 140,
|
10076
|
+
maxSizeValue: new go.Size(140, 14),
|
10029
10077
|
waterSystem: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
10030
10078
|
})),
|
10031
10079
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
@@ -10048,7 +10096,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10048
10096
|
...e,
|
10049
10097
|
value: '',
|
10050
10098
|
isEditable: true,
|
10051
|
-
maxSizeValue: 140,
|
10099
|
+
maxSizeValue: new go.Size(140, 14),
|
10052
10100
|
waterSystem: WATER_SYSTEMS_NAME.STEAM,
|
10053
10101
|
})),
|
10054
10102
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
@@ -10071,7 +10119,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10071
10119
|
...e,
|
10072
10120
|
value: '',
|
10073
10121
|
isEditable: true,
|
10074
|
-
maxSizeValue: 140,
|
10122
|
+
maxSizeValue: new go.Size(140, 14),
|
10075
10123
|
waterSystem: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
10076
10124
|
})),
|
10077
10125
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
@@ -10094,7 +10142,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10094
10142
|
...e,
|
10095
10143
|
value: '',
|
10096
10144
|
isEditable: true,
|
10097
|
-
maxSizeValue: 140,
|
10145
|
+
maxSizeValue: new go.Size(140, 14),
|
10098
10146
|
waterSystem: WATER_SYSTEMS_NAME.BOILER_WATER,
|
10099
10147
|
})),
|
10100
10148
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
@@ -10201,7 +10249,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10201
10249
|
...e,
|
10202
10250
|
value: '',
|
10203
10251
|
isEditable: true,
|
10204
|
-
maxSizeValue: 140,
|
10252
|
+
maxSizeValue: new go.Size(140, 14),
|
10205
10253
|
waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER,
|
10206
10254
|
})),
|
10207
10255
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -10224,7 +10272,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10224
10272
|
...e,
|
10225
10273
|
value: '',
|
10226
10274
|
isEditable: true,
|
10227
|
-
maxSizeValue: 140,
|
10275
|
+
maxSizeValue: new go.Size(140, 14),
|
10228
10276
|
waterSystem: WATER_SYSTEMS_NAME.CONDENSATE_RETURN,
|
10229
10277
|
})),
|
10230
10278
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -10247,7 +10295,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10247
10295
|
...e,
|
10248
10296
|
value: '',
|
10249
10297
|
isEditable: true,
|
10250
|
-
maxSizeValue: 140,
|
10298
|
+
maxSizeValue: new go.Size(140, 14),
|
10251
10299
|
waterSystem: WATER_SYSTEMS_NAME.STEAM,
|
10252
10300
|
})),
|
10253
10301
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -10270,7 +10318,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10270
10318
|
...e,
|
10271
10319
|
value: '',
|
10272
10320
|
isEditable: true,
|
10273
|
-
maxSizeValue: 140,
|
10321
|
+
maxSizeValue: new go.Size(140, 14),
|
10274
10322
|
waterSystem: WATER_SYSTEMS_NAME.BOILER_FEED_WATER,
|
10275
10323
|
})),
|
10276
10324
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -10293,7 +10341,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10293
10341
|
...e,
|
10294
10342
|
value: '',
|
10295
10343
|
isEditable: true,
|
10296
|
-
maxSizeValue: 140,
|
10344
|
+
maxSizeValue: new go.Size(140, 14),
|
10297
10345
|
waterSystem: WATER_SYSTEMS_NAME.STEAM_LOSS,
|
10298
10346
|
})),
|
10299
10347
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -10316,7 +10364,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10316
10364
|
...e,
|
10317
10365
|
value: '',
|
10318
10366
|
isEditable: true,
|
10319
|
-
maxSizeValue: 140,
|
10367
|
+
maxSizeValue: new go.Size(140, 14),
|
10320
10368
|
waterSystem: WATER_SYSTEMS_NAME.BLOWDOWN,
|
10321
10369
|
})),
|
10322
10370
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -10538,7 +10586,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10538
10586
|
...e,
|
10539
10587
|
value: '',
|
10540
10588
|
isEditable: true,
|
10541
|
-
maxSizeValue: 140,
|
10589
|
+
maxSizeValue: new go.Size(140, 14),
|
10542
10590
|
})),
|
10543
10591
|
visible: true,
|
10544
10592
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
@@ -10562,7 +10610,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10562
10610
|
...e,
|
10563
10611
|
value: '',
|
10564
10612
|
isEditable: true,
|
10565
|
-
maxSizeValue: 120,
|
10613
|
+
maxSizeValue: new go.Size(120, 14),
|
10566
10614
|
})),
|
10567
10615
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10568
10616
|
extendedData: {
|
@@ -10585,7 +10633,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10585
10633
|
...e,
|
10586
10634
|
value: '',
|
10587
10635
|
isEditable: true,
|
10588
|
-
maxSizeValue: 120,
|
10636
|
+
maxSizeValue: new go.Size(120, 14),
|
10589
10637
|
})),
|
10590
10638
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
10591
10639
|
extendedData: {
|
@@ -10608,7 +10656,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10608
10656
|
...e,
|
10609
10657
|
value: '',
|
10610
10658
|
isEditable: true,
|
10611
|
-
maxSizeValue: 120,
|
10659
|
+
maxSizeValue: new go.Size(120, 14),
|
10612
10660
|
})),
|
10613
10661
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10614
10662
|
extendedData: {
|
@@ -10631,7 +10679,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10631
10679
|
...e,
|
10632
10680
|
value: '',
|
10633
10681
|
isEditable: true,
|
10634
|
-
maxSizeValue: 120,
|
10682
|
+
maxSizeValue: new go.Size(120, 14),
|
10635
10683
|
})),
|
10636
10684
|
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
10637
10685
|
extendedData: {
|
@@ -10654,7 +10702,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10654
10702
|
...e,
|
10655
10703
|
value: '',
|
10656
10704
|
isEditable: true,
|
10657
|
-
maxSizeValue: 130,
|
10705
|
+
maxSizeValue: new go.Size(130, 14),
|
10658
10706
|
})),
|
10659
10707
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
10660
10708
|
extendedData: {
|
@@ -10677,7 +10725,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10677
10725
|
...e,
|
10678
10726
|
value: '',
|
10679
10727
|
isEditable: true,
|
10680
|
-
maxSizeValue: 130,
|
10728
|
+
maxSizeValue: new go.Size(130, 14),
|
10681
10729
|
})),
|
10682
10730
|
assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
|
10683
10731
|
extendedData: {
|
@@ -10701,16 +10749,16 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10701
10749
|
...e,
|
10702
10750
|
value: '',
|
10703
10751
|
isEditable: true,
|
10704
|
-
maxSizeValue: 130,
|
10752
|
+
maxSizeValue: new go.Size(130, 14),
|
10705
10753
|
extendedDataIsFromPlugin: {
|
10706
|
-
maxSizeValue: 230,
|
10754
|
+
maxSizeValue: new go.Size(230, 14),
|
10707
10755
|
},
|
10708
10756
|
}))
|
10709
10757
|
.concat(ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => ({
|
10710
10758
|
...e,
|
10711
10759
|
value: `Mapping in "Cooling Water Chemistry" section`,
|
10712
10760
|
isEditable: false,
|
10713
|
-
maxSizeValue: 250,
|
10761
|
+
maxSizeValue: new go.Size(250, 14),
|
10714
10762
|
isReadOnly: true,
|
10715
10763
|
isFrom: ATO_MAPPER_FROM.PLUGIN,
|
10716
10764
|
// font: '10px sans-serif',
|