ato-water-lib 0.0.36 → 0.0.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. package/esm2020/ato-water-lib.mjs +5 -0
  2. package/esm2020/lib/ato-water-lib.component.mjs +19 -0
  3. package/esm2020/lib/ato-water-lib.module.mjs +49 -0
  4. package/esm2020/lib/ato-water-lib.service.mjs +14 -0
  5. package/esm2020/lib/components/asset-flow/asset-flow.component.mjs +123 -0
  6. package/esm2020/lib/components/asset-params-view/asset-params-view.component.mjs +26 -0
  7. package/esm2020/lib/components/flow-diagram-lib/flow-diagram-lib.component.mjs +54 -0
  8. package/esm2020/lib/constants/applicable-prefixes-const.mjs +441 -0
  9. package/esm2020/lib/constants/base64.const.mjs +5 -0
  10. package/esm2020/lib/constants/components-group-const.mjs +1629 -0
  11. package/esm2020/lib/constants/icon-base64.const.mjs +4 -0
  12. package/esm2020/lib/constants/key.const.mjs +4 -0
  13. package/esm2020/lib/constants/plant.constant.mjs +51 -0
  14. package/esm2020/lib/constants/value.const.mjs +782 -0
  15. package/esm2020/lib/directive/ato-loading.directive.mjs +55 -0
  16. package/esm2020/lib/directive/ng-var.directive.mjs +31 -0
  17. package/esm2020/lib/models/ato-asset-flow.model.mjs +2 -0
  18. package/esm2020/lib/models/default-gojs-editor.model.mjs +3227 -0
  19. package/esm2020/lib/models/gojs-data.model.mjs +6 -0
  20. package/esm2020/lib/models/gojs-editor.model.mjs +1754 -0
  21. package/esm2020/lib/services/utils/utils.service.mjs +133 -0
  22. package/esm2020/public-api.mjs +15 -0
  23. package/fesm2015/ato-water-lib.mjs +8208 -0
  24. package/fesm2015/ato-water-lib.mjs.map +1 -0
  25. package/fesm2020/ato-water-lib.mjs +8360 -0
  26. package/fesm2020/ato-water-lib.mjs.map +1 -0
  27. package/index.d.ts +5 -0
  28. package/lib/ato-water-lib.component.d.ts +5 -0
  29. package/lib/ato-water-lib.module.d.ts +13 -0
  30. package/lib/ato-water-lib.service.d.ts +6 -0
  31. package/lib/components/asset-flow/asset-flow.component.d.ts +35 -0
  32. package/lib/components/asset-params-view/asset-params-view.component.d.ts +10 -0
  33. package/lib/components/flow-diagram-lib/flow-diagram-lib.component.d.ts +16 -0
  34. package/lib/constants/applicable-prefixes-const.d.ts +162 -0
  35. package/lib/constants/base64.const.d.ts +3 -0
  36. package/lib/constants/components-group-const.d.ts +1264 -0
  37. package/lib/constants/icon-base64.const.d.ts +3 -0
  38. package/lib/constants/key.const.d.ts +1 -0
  39. package/lib/constants/plant.constant.d.ts +7 -0
  40. package/lib/constants/value.const.d.ts +71 -0
  41. package/lib/directive/ato-loading.directive.d.ts +14 -0
  42. package/lib/directive/ng-var.directive.d.ts +12 -0
  43. package/lib/models/ato-asset-flow.model.d.ts +5 -0
  44. package/lib/models/default-gojs-editor.model.d.ts +197 -0
  45. package/{src/lib/models/gojs-data.model.ts → lib/models/gojs-data.model.d.ts} +3 -3
  46. package/lib/models/gojs-editor.model.d.ts +436 -0
  47. package/lib/services/utils/utils.service.d.ts +24 -0
  48. package/package.json +22 -3
  49. package/{src/public-api.ts → public-api.d.ts} +0 -10
  50. package/ng-package.json +0 -11
  51. package/src/lib/ato-water-lib.component.spec.ts +0 -23
  52. package/src/lib/ato-water-lib.component.ts +0 -15
  53. package/src/lib/ato-water-lib.module.ts +0 -31
  54. package/src/lib/ato-water-lib.service.spec.ts +0 -16
  55. package/src/lib/ato-water-lib.service.ts +0 -9
  56. package/src/lib/components/asset-flow/asset-flow.component.html +0 -21
  57. package/src/lib/components/asset-flow/asset-flow.component.scss +0 -4
  58. package/src/lib/components/asset-flow/asset-flow.component.spec.ts +0 -23
  59. package/src/lib/components/asset-flow/asset-flow.component.ts +0 -137
  60. package/src/lib/components/asset-params-view/asset-params-view.component.html +0 -85
  61. package/src/lib/components/asset-params-view/asset-params-view.component.scss +0 -37
  62. package/src/lib/components/asset-params-view/asset-params-view.component.spec.ts +0 -23
  63. package/src/lib/components/asset-params-view/asset-params-view.component.ts +0 -16
  64. package/src/lib/components/flow-diagram-lib/flow-diagram-lib.component.css +0 -0
  65. package/src/lib/components/flow-diagram-lib/flow-diagram-lib.component.html +0 -25
  66. package/src/lib/components/flow-diagram-lib/flow-diagram-lib.component.ts +0 -69
  67. package/src/lib/constants/applicable-prefixes-const.ts +0 -452
  68. package/src/lib/constants/base64.const.ts +0 -5
  69. package/src/lib/constants/components-group-const.ts +0 -1637
  70. package/src/lib/constants/icon-base64.const.ts +0 -3
  71. package/src/lib/constants/icon-svg.const.ts +0 -8
  72. package/src/lib/constants/key.const.ts +0 -5
  73. package/src/lib/constants/plant.constant.ts +0 -52
  74. package/src/lib/constants/value.const.ts +0 -822
  75. package/src/lib/directive/ato-loading.directive.ts +0 -55
  76. package/src/lib/directive/ng-var.directive.ts +0 -28
  77. package/src/lib/models/default-gojs-editor.model.ts +0 -4906
  78. package/src/lib/models/gojs-editor.model.ts +0 -1901
  79. package/src/lib/services/utils/utils.service.ts +0 -141
  80. package/tsconfig.lib.json +0 -14
  81. package/tsconfig.lib.prod.json +0 -10
  82. package/tsconfig.spec.json +0 -14
@@ -1,1637 +0,0 @@
1
- import * as go from 'gojs';
2
- import { AtoGojsEditorModel } from '../models/gojs-editor.model';
3
-
4
- export enum ENUM_ASSET_PARAMETERS {
5
- FEED_FLOW_RATE = 'Feed Flow Rate',
6
- FEED_CONDUCTIVITY = 'Feed Conductivity',
7
- FEED_TEMPERATURE = 'Feed Temperature',
8
- PRIMARY_PRESSURE = 'Primary Pressure',
9
- REJECTION_RATE_SALT_PASSAGE = 'Rejection Rate/Salt Passage',
10
- PRESSURE_DROP = 'Pressure Drop',
11
- SYSTEM_RECOVERY_RATE = 'System Recovery Rate',
12
- PERMEATE_FLOW_RATE = 'Permeate Flow Rate',
13
- PERMEATE_CONDUCTIVITY = 'Permeate Conductivity',
14
- PERMEATE_PRESSURE = 'Permeate Pressure',
15
- CONCENTRATE_FLOW_RATE = 'Concentrate Flow Rate',
16
- CONCENTRATE_PRESSURE = 'Stage2 Concentrate Pressure',
17
- CONCENTRATE_CONDUCTIVITY = 'Concentrate Conductivity',
18
- // Makeup Water
19
- MAKEUP_WATER_FLOW_RATE = 'MakeupWaterFlowRate',
20
- MAKEUP_WATER_FLOW = 'MakeupWaterFlow',
21
- MAKEUP_WATER_CONDUCTIVITY = 'MakeupWaterConductivity',
22
- MAKEUP_WATER_PH = 'MakeupWaterpH',
23
- MAKEUP_WATER_CALCIUM = 'MakeupWaterCalcium',
24
- MAKEUP_WATER_TOTAL_IRON = 'MakeupWaterTotalIron',
25
- // Evaporation Loss
26
- EVAPORATION_LOSS_FLOW_RATE = 'EvaporationLossFlowRate',
27
- EVAPORATION_LOSS_FLOW = 'EvaporationLossFlow',
28
- // Blowndown Water
29
- BLOWDOWN_WATER_FLOW_RATE = 'BlowdownWaterFlowRate',
30
- BLOWDOWN_WATER_FLOW = 'BlowdownWaterFlow',
31
- // Warmer Water
32
- WARMER_WATER_FLOW_RATE = 'WarmerWaterFlowRate',
33
- WARMER_WATER_FLOW = 'WarmerWaterFlow',
34
- // Cooling Tower Analysis
35
- ANALYSIS_CONDUCTIVITY = 'AnalysisConductivity',
36
- ANALYSIS_PH = 'AnalysispH',
37
- ANALYSIS_CALCIUM = 'AnalysisCalcium',
38
- ANALYSIS_TOTAL_IRON = 'AnalysisTotalIron',
39
- // Cooling Tower Chemistry
40
- CHEMISTRY_PHOSPHATE = 'ChemistryPhosphate',
41
- CHEMISTRY_CHLORINE = 'ChemistryChlorine',
42
- CHEMISTRY_STP_RESIDUAL = 'ChemistrySTPResidual',
43
- CHEMISTRY_CS_CORROSION = 'ChemistryCSCorrosion',
44
- // Cooling Tower KPI
45
- KPI_CYCLES = 'KpiCycles',
46
- KPI_ATP = 'KpiATP'
47
- }
48
-
49
- export enum WATER_SYSTEMS_NAME {
50
- EVAPORATION_LOSS = 'Evaporation Loss',
51
- MAKEUP_WATER__FLOW = 'Makeup Water',
52
- MAKEUP_WATER__CHEMISTRY = 'Makeup Water',
53
- WARMER_WATER = 'Warmer Water (Recirculation)',
54
- BLOWDOWN_WATER = 'Blowdown Water',
55
- COOLING_TOWER_ANALYSIS = 'Cooling Water Analysis',
56
- COOLING_WATER_CHEMISTRY = 'Cooling Water Chemistry',
57
- SYSTEM_KPIS = `System KPI's`
58
- }
59
-
60
- export const DATA_ASSET_PARAMETER_FIELDS = {
61
- [ENUM_ASSET_PARAMETERS.FEED_FLOW_RATE]: {
62
- name: ENUM_ASSET_PARAMETERS.FEED_FLOW_RATE,
63
- key: ENUM_ASSET_PARAMETERS.FEED_FLOW_RATE,
64
- },
65
- [ENUM_ASSET_PARAMETERS.FEED_CONDUCTIVITY]: {
66
- name: ENUM_ASSET_PARAMETERS.FEED_CONDUCTIVITY,
67
- key: ENUM_ASSET_PARAMETERS.FEED_CONDUCTIVITY,
68
- },
69
- [ENUM_ASSET_PARAMETERS.FEED_TEMPERATURE]: {
70
- name: ENUM_ASSET_PARAMETERS.FEED_TEMPERATURE,
71
- key: ENUM_ASSET_PARAMETERS.FEED_TEMPERATURE,
72
- },
73
- [ENUM_ASSET_PARAMETERS.PRIMARY_PRESSURE]: {
74
- name: ENUM_ASSET_PARAMETERS.PRIMARY_PRESSURE,
75
- key: ENUM_ASSET_PARAMETERS.PRIMARY_PRESSURE,
76
- },
77
- [ENUM_ASSET_PARAMETERS.REJECTION_RATE_SALT_PASSAGE]: {
78
- name: ENUM_ASSET_PARAMETERS.REJECTION_RATE_SALT_PASSAGE,
79
- key: ENUM_ASSET_PARAMETERS.REJECTION_RATE_SALT_PASSAGE,
80
- },
81
- [ENUM_ASSET_PARAMETERS.PRESSURE_DROP]: {
82
- name: ENUM_ASSET_PARAMETERS.PRESSURE_DROP,
83
- key: ENUM_ASSET_PARAMETERS.PRESSURE_DROP,
84
- },
85
- [ENUM_ASSET_PARAMETERS.SYSTEM_RECOVERY_RATE]: {
86
- name: ENUM_ASSET_PARAMETERS.SYSTEM_RECOVERY_RATE,
87
- key: ENUM_ASSET_PARAMETERS.SYSTEM_RECOVERY_RATE,
88
- },
89
- [ENUM_ASSET_PARAMETERS.PERMEATE_FLOW_RATE]: {
90
- name: ENUM_ASSET_PARAMETERS.PERMEATE_FLOW_RATE,
91
- key: ENUM_ASSET_PARAMETERS.PERMEATE_FLOW_RATE,
92
- },
93
- [ENUM_ASSET_PARAMETERS.PERMEATE_CONDUCTIVITY]: {
94
- name: ENUM_ASSET_PARAMETERS.PERMEATE_CONDUCTIVITY,
95
- key: ENUM_ASSET_PARAMETERS.PERMEATE_CONDUCTIVITY,
96
- },
97
- [ENUM_ASSET_PARAMETERS.PERMEATE_PRESSURE]: {
98
- name: ENUM_ASSET_PARAMETERS.PERMEATE_PRESSURE,
99
- key: ENUM_ASSET_PARAMETERS.PERMEATE_PRESSURE,
100
- },
101
- [ENUM_ASSET_PARAMETERS.CONCENTRATE_FLOW_RATE]: {
102
- name: ENUM_ASSET_PARAMETERS.CONCENTRATE_FLOW_RATE,
103
- key: ENUM_ASSET_PARAMETERS.CONCENTRATE_FLOW_RATE,
104
- },
105
- [ENUM_ASSET_PARAMETERS.CONCENTRATE_PRESSURE]: {
106
- name: ENUM_ASSET_PARAMETERS.CONCENTRATE_PRESSURE,
107
- key: ENUM_ASSET_PARAMETERS.CONCENTRATE_PRESSURE,
108
- },
109
- [ENUM_ASSET_PARAMETERS.CONCENTRATE_CONDUCTIVITY]: {
110
- name: ENUM_ASSET_PARAMETERS.CONCENTRATE_CONDUCTIVITY,
111
- key: ENUM_ASSET_PARAMETERS.CONCENTRATE_CONDUCTIVITY,
112
- },
113
- // Makeup Water
114
- [ENUM_ASSET_PARAMETERS.MAKEUP_WATER_FLOW_RATE]: {
115
- name: 'Flow Rate',
116
- key: ENUM_ASSET_PARAMETERS.MAKEUP_WATER_FLOW_RATE,
117
- waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW,
118
- },
119
- [ENUM_ASSET_PARAMETERS.MAKEUP_WATER_FLOW]: {
120
- name: 'Flow',
121
- key: ENUM_ASSET_PARAMETERS.MAKEUP_WATER_FLOW,
122
- waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW,
123
- },
124
- [ENUM_ASSET_PARAMETERS.MAKEUP_WATER_CONDUCTIVITY]: {
125
- name: 'Conductivity',
126
- key: ENUM_ASSET_PARAMETERS.MAKEUP_WATER_CONDUCTIVITY,
127
- waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY,
128
- },
129
- [ENUM_ASSET_PARAMETERS.MAKEUP_WATER_PH]: {
130
- name: 'pH',
131
- key: ENUM_ASSET_PARAMETERS.MAKEUP_WATER_PH,
132
- waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY,
133
- },
134
- [ENUM_ASSET_PARAMETERS.MAKEUP_WATER_CALCIUM]: {
135
- name: 'Calcium',
136
- key: ENUM_ASSET_PARAMETERS.MAKEUP_WATER_CALCIUM,
137
- waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY,
138
- },
139
- [ENUM_ASSET_PARAMETERS.MAKEUP_WATER_TOTAL_IRON]: {
140
- name: 'Total Iron',
141
- key: ENUM_ASSET_PARAMETERS.MAKEUP_WATER_TOTAL_IRON,
142
- waterSystem: WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY,
143
- },
144
- // Evaporation Loss
145
- [ENUM_ASSET_PARAMETERS.EVAPORATION_LOSS_FLOW_RATE]: {
146
- name: 'Flow Rate',
147
- key: ENUM_ASSET_PARAMETERS.EVAPORATION_LOSS_FLOW_RATE,
148
- waterSystem: WATER_SYSTEMS_NAME.EVAPORATION_LOSS,
149
- },
150
- [ENUM_ASSET_PARAMETERS.EVAPORATION_LOSS_FLOW]: {
151
- name: 'Flow',
152
- key: ENUM_ASSET_PARAMETERS.EVAPORATION_LOSS_FLOW,
153
- waterSystem: WATER_SYSTEMS_NAME.EVAPORATION_LOSS,
154
- },
155
- // Blowndown Water
156
- [ENUM_ASSET_PARAMETERS.BLOWDOWN_WATER_FLOW_RATE]: {
157
- name: 'Flow Rate',
158
- key: ENUM_ASSET_PARAMETERS.BLOWDOWN_WATER_FLOW_RATE,
159
- waterSystem: WATER_SYSTEMS_NAME.BLOWDOWN_WATER,
160
- },
161
- [ENUM_ASSET_PARAMETERS.BLOWDOWN_WATER_FLOW]: {
162
- name: 'Flow',
163
- key: ENUM_ASSET_PARAMETERS.BLOWDOWN_WATER_FLOW,
164
- waterSystem: WATER_SYSTEMS_NAME.BLOWDOWN_WATER,
165
- },
166
- // Warmer Water
167
- [ENUM_ASSET_PARAMETERS.WARMER_WATER_FLOW_RATE]: {
168
- name: 'Flow Rate',
169
- key: ENUM_ASSET_PARAMETERS.WARMER_WATER_FLOW_RATE,
170
- waterSystem: WATER_SYSTEMS_NAME.WARMER_WATER,
171
- },
172
- [ENUM_ASSET_PARAMETERS.WARMER_WATER_FLOW]: {
173
- name: 'Flow',
174
- key: ENUM_ASSET_PARAMETERS.WARMER_WATER_FLOW,
175
- waterSystem: WATER_SYSTEMS_NAME.WARMER_WATER,
176
- },
177
- // Cooling Tower Analysis
178
- [ENUM_ASSET_PARAMETERS.ANALYSIS_CONDUCTIVITY]: {
179
- name: 'Conductivity',
180
- key: ENUM_ASSET_PARAMETERS.ANALYSIS_CONDUCTIVITY,
181
- waterSystem: WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS,
182
- },
183
- [ENUM_ASSET_PARAMETERS.ANALYSIS_PH]: {
184
- name: 'pH',
185
- key: ENUM_ASSET_PARAMETERS.ANALYSIS_PH,
186
- waterSystem: WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS,
187
- },
188
- [ENUM_ASSET_PARAMETERS.ANALYSIS_CALCIUM]: {
189
- name: 'Calcium',
190
- key: ENUM_ASSET_PARAMETERS.ANALYSIS_CALCIUM,
191
- waterSystem: WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS,
192
- },
193
- [ENUM_ASSET_PARAMETERS.ANALYSIS_TOTAL_IRON]: {
194
- name: 'Iron',
195
- key: ENUM_ASSET_PARAMETERS.ANALYSIS_TOTAL_IRON,
196
- waterSystem: WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS,
197
- },
198
- // Cooling Tower Chemistry
199
- [ENUM_ASSET_PARAMETERS.CHEMISTRY_PHOSPHATE]: {
200
- name: 'Phosphate',
201
- key: ENUM_ASSET_PARAMETERS.CHEMISTRY_PHOSPHATE,
202
- waterSystem: WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY,
203
- },
204
- [ENUM_ASSET_PARAMETERS.CHEMISTRY_CHLORINE]: {
205
- name: 'Chlorine',
206
- key: ENUM_ASSET_PARAMETERS.CHEMISTRY_CHLORINE,
207
- waterSystem: WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY,
208
- },
209
- [ENUM_ASSET_PARAMETERS.CHEMISTRY_STP_RESIDUAL]: {
210
- name: 'STP Residual',
211
- key: ENUM_ASSET_PARAMETERS.CHEMISTRY_STP_RESIDUAL,
212
- waterSystem: WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY,
213
- },
214
- [ENUM_ASSET_PARAMETERS.CHEMISTRY_CS_CORROSION]: {
215
- name: 'CS Corrosion',
216
- key: ENUM_ASSET_PARAMETERS.CHEMISTRY_CS_CORROSION,
217
- waterSystem: WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY,
218
- },
219
- // Cooling Tower KPI
220
- [ENUM_ASSET_PARAMETERS.KPI_CYCLES]: {
221
- name: 'Cycles',
222
- key: ENUM_ASSET_PARAMETERS.KPI_CYCLES,
223
- waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
224
- },
225
- [ENUM_ASSET_PARAMETERS.KPI_ATP]: {
226
- name: 'APT',
227
- key: ENUM_ASSET_PARAMETERS.KPI_ATP,
228
- waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
229
- },
230
- };
231
-
232
- export const DATA_WATER_SYSTEMS = {
233
- [WATER_SYSTEMS_NAME.EVAPORATION_LOSS]: {
234
- title: WATER_SYSTEMS_NAME.EVAPORATION_LOSS,
235
- color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
236
- borderTable: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
237
- bgColor: AtoGojsEditorModel.ENUM_COLORS.SNOW,
238
- },
239
- [WATER_SYSTEMS_NAME.WARMER_WATER]: {
240
- title: WATER_SYSTEMS_NAME.WARMER_WATER,
241
- color: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
242
- borderTable: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
243
- bgColor: AtoGojsEditorModel.ENUM_COLORS.OLD_LACE,
244
- },
245
- [WATER_SYSTEMS_NAME.BLOWDOWN_WATER]: {
246
- title: WATER_SYSTEMS_NAME.BLOWDOWN_WATER,
247
- color: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
248
- borderTable: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
249
- bgColor: AtoGojsEditorModel.ENUM_COLORS.OLD_LACE,
250
- },
251
-
252
- [WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW]: {
253
- title: WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW,
254
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
255
- borderTable: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
256
- bgColor: AtoGojsEditorModel.ENUM_COLORS.CERULEAN_ALICE_BLUE,
257
- },
258
- [WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY]: {
259
- title: WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY,
260
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
261
- borderTable: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
262
- bgColor: AtoGojsEditorModel.ENUM_COLORS.CERULEAN_ALICE_BLUE,
263
- },
264
-
265
- [WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS]: {
266
- title: WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS,
267
- color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
268
- borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
269
- bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
270
- },
271
- [WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY]: {
272
- title: WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY,
273
- color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
274
- borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
275
- bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
276
- },
277
- [WATER_SYSTEMS_NAME.SYSTEM_KPIS]: {
278
- title: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
279
- color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
280
- borderTable: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
281
- bgColor: AtoGojsEditorModel.ENUM_COLORS.AZURE,
282
- },
283
- };
284
-
285
- export const ASSET_CATEGORY_PARAMS = {
286
- [WATER_SYSTEMS_NAME.EVAPORATION_LOSS]: [
287
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.EVAPORATION_LOSS_FLOW_RATE],
288
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.EVAPORATION_LOSS_FLOW],
289
- ],
290
- [WATER_SYSTEMS_NAME.WARMER_WATER]: [
291
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.WARMER_WATER_FLOW_RATE],
292
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.WARMER_WATER_FLOW],
293
- ],
294
- [WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW]: [
295
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.MAKEUP_WATER_FLOW_RATE],
296
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.MAKEUP_WATER_FLOW],
297
- ],
298
- [WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY]: [
299
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.MAKEUP_WATER_CONDUCTIVITY],
300
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.MAKEUP_WATER_PH],
301
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.MAKEUP_WATER_CALCIUM],
302
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.MAKEUP_WATER_TOTAL_IRON],
303
- ],
304
- [WATER_SYSTEMS_NAME.BLOWDOWN_WATER]: [
305
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.BLOWDOWN_WATER_FLOW_RATE],
306
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.BLOWDOWN_WATER_FLOW],
307
- ],
308
- [WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS]: [
309
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.ANALYSIS_CONDUCTIVITY],
310
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.ANALYSIS_PH],
311
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.ANALYSIS_CALCIUM],
312
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.ANALYSIS_TOTAL_IRON],
313
- ],
314
- [WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY]: [
315
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_PHOSPHATE],
316
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_CHLORINE],
317
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_STP_RESIDUAL],
318
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.CHEMISTRY_CS_CORROSION],
319
- ],
320
- [WATER_SYSTEMS_NAME.SYSTEM_KPIS]: [
321
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.KPI_CYCLES],
322
- DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.KPI_ATP],
323
- ],
324
- };
325
-
326
- export enum COMPONENTS_GROUP_TYPE {
327
- INFLOW = 'Inflow',
328
- LOSS = 'Loss',
329
- OUTFLOW = 'Outflow',
330
- RECIRCULATED = 'Recirculated',
331
- EMBODIED = 'Embodied',
332
- INFLOW_VALUE = 'InFlowValue',
333
- OUTFLOW_VALUE = 'OutFlowValue',
334
- LOSS_VALUE = 'LossValue',
335
- RECIRCULATED_VALUE = 'RecirculatedValue',
336
- }
337
-
338
- export enum ATO_ASSET_LAYERS {
339
- FLOW = 'Flow',
340
- CHEMISTRY = 'Chemistry',
341
- ANALYTICS = 'Analytics'
342
- }
343
-
344
- export const ATO_COMPONENTS_GROUP_DATA = {
345
- [AtoGojsEditorModel.ENUM_TYPES.STORAGE]: {
346
- nodeDataArray: [
347
- {
348
- key: 90,
349
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
350
- name: 'Inflow',
351
- value: '0 kl',
352
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
353
- group: 100,
354
- loc: '0 130.5',
355
- },
356
- {
357
- key: 91,
358
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
359
- name: 'Outflow',
360
- value: '0 kl',
361
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
362
- group: 100,
363
- loc: '300 130.5',
364
- },
365
- {
366
- key: 92,
367
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
368
- name: 'Loss',
369
- value: 'M',
370
- color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
371
- group: 100,
372
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
373
- loc: '152.5 0',
374
- },
375
- {
376
- key: 99,
377
- type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_STORE,
378
- group: 100,
379
- loc: '92.5 95',
380
- },
381
- { key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.STORAGE, isGroup: true, name: 'Group' },
382
- ],
383
- linkDataArray: [
384
- { from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
385
- { from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
386
- { from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
387
- ],
388
- },
389
- [AtoGojsEditorModel.ENUM_TYPES.WATER_TREATMENT]: {
390
- nodeDataArray: [
391
- {
392
- key: 90,
393
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
394
- name: 'Inflow',
395
- value: '0 kl',
396
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
397
- group: 100,
398
- loc: '0 134.5',
399
- },
400
- {
401
- key: 91,
402
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
403
- name: 'Outflow',
404
- value: '0 kl',
405
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
406
- group: 100,
407
- loc: '333 170',
408
- },
409
- {
410
- key: 92,
411
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
412
- name: 'Loss',
413
- value: 'M',
414
- color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
415
- group: 100,
416
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
417
- loc: '160.5 297',
418
- },
419
- {
420
- key: 93,
421
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
422
- name: 'Recirculated',
423
- value: 'M',
424
- color: AtoGojsEditorModel.ENUM_COLORS.VIVID_VIOLET,
425
- group: 100,
426
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
427
- loc: '266 32',
428
- },
429
- {
430
- key: 99,
431
- type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_PROCESS,
432
- group: 100,
433
- loc: '92.5 95',
434
- },
435
- { key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.WATER_TREATMENT, isGroup: true, name: 'Group' },
436
- ],
437
- linkDataArray: [
438
- { from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
439
- { from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
440
- { from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
441
- { from: 99, to: 93, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'T', toPort: 'T' },
442
- { from: 93, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'B', toPort: 'R' },
443
- ],
444
- },
445
- [AtoGojsEditorModel.ENUM_TYPES.DEMIN_WATER_TREATMENT]: {
446
- nodeDataArray: [
447
- {
448
- key: 90,
449
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
450
- name: 'Inflow',
451
- value: '0 kl',
452
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
453
- group: 100,
454
- loc: '0 134.5',
455
- },
456
- {
457
- key: 91,
458
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
459
- name: 'Outflow',
460
- value: '0 kl',
461
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
462
- group: 100,
463
- loc: '333 170',
464
- },
465
- {
466
- key: 92,
467
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
468
- name: 'Loss',
469
- value: 'M',
470
- color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
471
- group: 100,
472
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
473
- loc: '160.5 297',
474
- },
475
- {
476
- key: 93,
477
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
478
- name: 'Recirculated',
479
- value: 'M',
480
- color: AtoGojsEditorModel.ENUM_COLORS.VIVID_VIOLET,
481
- group: 100,
482
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
483
- loc: '266 32',
484
- },
485
- {
486
- key: 99,
487
- type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_PROCESS,
488
- group: 100,
489
- loc: '125 110',
490
- },
491
- { key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.WATER_TREATMENT, isGroup: true, name: 'Group' },
492
- ],
493
- linkDataArray: [
494
- { from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
495
- { from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
496
- { from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
497
- { from: 99, to: 93, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'T', toPort: 'L' },
498
- { from: 93, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'B', toPort: 'R' },
499
- ],
500
- },
501
- [AtoGojsEditorModel.ENUM_TYPES.RO_WATER_TREATMENT]: {
502
- nodeDataArray: [
503
- {
504
- key: 93,
505
- type: AtoGojsEditorModel.ENUM_TEMPLATES.MASS_BALANCE,
506
- group: 100,
507
- loc: '830 10',
508
- selectable: false,
509
- value: 'NA',
510
- font: 'bold 15px Arial',
511
- colorValue: '',
512
- tooltip: '',
513
- },
514
- {
515
- key: 94,
516
- type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
517
- group: 100,
518
- loc: '20 10',
519
- padding: new go.Margin(0, 0, 0, 20),
520
- ...AtoGojsEditorModel.PARAM_TABLE_STYLE[AtoGojsEditorModel.ENUM_COLORS.CERULEAN],
521
- minSizeValue: new go.Size(100, NaN),
522
- selectable: false,
523
-
524
- dataTable: [
525
- {
526
- key: '',
527
- name: ENUM_ASSET_PARAMETERS.FEED_FLOW_RATE,
528
- value: '',
529
- isEditable: true,
530
- },
531
- {
532
- key: '',
533
- name: ENUM_ASSET_PARAMETERS.FEED_CONDUCTIVITY,
534
- value: '',
535
- isEditable: true,
536
- },
537
- {
538
- key: '',
539
- name: ENUM_ASSET_PARAMETERS.FEED_TEMPERATURE,
540
- value: '',
541
- isEditable: true,
542
- },
543
- {
544
- key: '',
545
- name: ENUM_ASSET_PARAMETERS.PRIMARY_PRESSURE,
546
- value: '',
547
- isEditable: true,
548
- },
549
- ],
550
- },
551
- {
552
- key: 95,
553
- type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
554
- group: 100,
555
- loc: '420 40',
556
- ...AtoGojsEditorModel.PARAM_TABLE_STYLE[AtoGojsEditorModel.ENUM_COLORS.DANUBE],
557
- minSizeValue: new go.Size(100, NaN),
558
- selectable: false,
559
- dataTable: [
560
- {
561
- key: '',
562
- name: ENUM_ASSET_PARAMETERS.REJECTION_RATE_SALT_PASSAGE,
563
- value: '',
564
- isEditable: true,
565
- },
566
- {
567
- key: '',
568
- name: ENUM_ASSET_PARAMETERS.PRESSURE_DROP,
569
- value: '',
570
- isEditable: true,
571
- },
572
- {
573
- key: '',
574
- name: ENUM_ASSET_PARAMETERS.SYSTEM_RECOVERY_RATE,
575
- value: '',
576
- isEditable: true,
577
- },
578
- ],
579
- },
580
- {
581
- key: 96,
582
- type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
583
- group: 100,
584
- loc: '590 150',
585
- ...AtoGojsEditorModel.PARAM_TABLE_STYLE[AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE],
586
- minSizeValue: new go.Size(100, NaN),
587
- selectable: false,
588
- dataTable: [
589
- {
590
- key: '',
591
- name: ENUM_ASSET_PARAMETERS.PERMEATE_FLOW_RATE,
592
- value: '',
593
- isEditable: true,
594
- },
595
- {
596
- key: '',
597
- name: ENUM_ASSET_PARAMETERS.PERMEATE_CONDUCTIVITY,
598
- value: '',
599
- isEditable: true,
600
- },
601
- {
602
- key: '',
603
- name: ENUM_ASSET_PARAMETERS.PERMEATE_PRESSURE,
604
- value: '',
605
- isEditable: true,
606
- },
607
- ],
608
- },
609
- {
610
- key: 97,
611
- type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
612
- group: 100,
613
- loc: '30 370',
614
- ...AtoGojsEditorModel.PARAM_TABLE_STYLE[AtoGojsEditorModel.ENUM_COLORS.GALLIANO],
615
- minSizeValue: new go.Size(100, NaN),
616
- selectable: false,
617
- dataTable: [
618
- {
619
- key: '',
620
- name: ENUM_ASSET_PARAMETERS.CONCENTRATE_FLOW_RATE,
621
- value: '',
622
- isEditable: true,
623
- },
624
- {
625
- key: '',
626
- name: ENUM_ASSET_PARAMETERS.CONCENTRATE_PRESSURE,
627
- value: '',
628
- isEditable: true,
629
- },
630
- {
631
- key: '',
632
- name: ENUM_ASSET_PARAMETERS.CONCENTRATE_CONDUCTIVITY,
633
- value: '',
634
- isEditable: true,
635
- },
636
- ],
637
- },
638
- {
639
- key: 99,
640
- type: AtoGojsEditorModel.ENUM_TEMPLATES.IMAGE_TEMPLATE,
641
- source: AtoGojsEditorModel.IMAGE_RO_WATER_TREATMENT_PATH,
642
- group: 100,
643
- loc: '0 0',
644
- margin: new go.Margin(130, 0, 0, 0),
645
- selectable: false,
646
- },
647
- {
648
- key: 100,
649
- type: AtoGojsEditorModel.ENUM_TEMPLATES.RO_WATER_TREATMENT,
650
- isGroup: true,
651
- name: 'Grid',
652
- loc: '0 0',
653
- selectable: false,
654
- // isViewGeneral: true,
655
- },
656
- ],
657
- linkDataArray: [],
658
- },
659
- [AtoGojsEditorModel.ENUM_TYPES.PROCESS]: {
660
- nodeDataArray: [
661
- {
662
- key: 90,
663
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
664
- name: 'Inflow',
665
- value: '0 kl',
666
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
667
- group: 100,
668
- loc: '0 134.5',
669
- },
670
- {
671
- key: 91,
672
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
673
- name: 'Outflow',
674
- value: '0 kl',
675
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
676
- group: 100,
677
- loc: '333 190',
678
- },
679
- {
680
- key: 92,
681
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
682
- name: 'Loss',
683
- value: 'M',
684
- color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
685
- group: 100,
686
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
687
- loc: '104 -20',
688
- },
689
- {
690
- key: 93,
691
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
692
- name: 'Recirculated',
693
- value: 'M',
694
- color: AtoGojsEditorModel.ENUM_COLORS.VIVID_VIOLET,
695
- group: 100,
696
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
697
- loc: '266 32',
698
- },
699
- {
700
- key: 94,
701
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
702
- name: 'Embodied',
703
- value: 'M',
704
- color: AtoGojsEditorModel.ENUM_COLORS.FOUNTAIN_BLUE,
705
- group: 100,
706
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
707
- loc: '144.5 297',
708
- },
709
- {
710
- key: 99,
711
- type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_PROCESS,
712
- group: 100,
713
- loc: '90 80',
714
- },
715
- { key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.PROCESS, isGroup: true, name: 'Group' },
716
- ],
717
- linkDataArray: [
718
- { from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
719
- { from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
720
- { from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
721
- { from: 99, to: 94, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
722
- { from: 99, to: 93, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'T', toPort: 'L' },
723
- { from: 93, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'B', toPort: 'R' },
724
- ],
725
- },
726
- [AtoGojsEditorModel.ENUM_TYPES.WASTEWATER_TREATMENT]: {
727
- nodeDataArray: [
728
- {
729
- key: 90,
730
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
731
- name: 'Inflow',
732
- value: '0 kl',
733
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
734
- group: 100,
735
- loc: '0 134.5',
736
- },
737
- {
738
- key: 91,
739
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
740
- name: 'Outflow',
741
- value: '126 kl',
742
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
743
- group: 100,
744
- loc: '333 170',
745
- },
746
- {
747
- key: 92,
748
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
749
- name: 'Loss',
750
- value: 'M',
751
- color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
752
- group: 100,
753
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
754
- loc: '160.5 297',
755
- },
756
- {
757
- key: 93,
758
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
759
- name: 'Recirculated',
760
- value: 'M',
761
- color: AtoGojsEditorModel.ENUM_COLORS.VIVID_VIOLET,
762
- group: 100,
763
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
764
- loc: '266 32',
765
- },
766
- {
767
- key: 99,
768
- type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_PROCESS,
769
- group: 100,
770
- loc: '125 110',
771
- },
772
- { key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.WASTEWATER_TREATMENT, isGroup: true, name: 'Group' },
773
- ],
774
- linkDataArray: [
775
- { from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
776
- { from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
777
- { from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
778
- { from: 99, to: 93, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'T', toPort: 'L' },
779
- { from: 93, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'B', toPort: 'R' },
780
- ],
781
- },
782
- [AtoGojsEditorModel.ENUM_TYPES.DAF_WASTEWATER_TREATMENT]: {
783
- nodeDataArray: [
784
- {
785
- key: 90,
786
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
787
- name: 'Inflow',
788
- value: '0 kl',
789
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
790
- group: 100,
791
- loc: '0 134.5',
792
- },
793
- {
794
- key: 91,
795
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
796
- name: 'Outflow',
797
- value: '126 kl',
798
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
799
- group: 100,
800
- loc: '333 170',
801
- },
802
- {
803
- key: 92,
804
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
805
- name: 'Loss',
806
- value: 'M',
807
- color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
808
- group: 100,
809
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
810
- loc: '160.5 297',
811
- },
812
- {
813
- key: 93,
814
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
815
- name: 'Recirculated',
816
- value: 'M',
817
- color: AtoGojsEditorModel.ENUM_COLORS.VIVID_VIOLET,
818
- group: 100,
819
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
820
- loc: '266 32',
821
- },
822
- {
823
- key: 99,
824
- type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_PROCESS,
825
- group: 100,
826
- loc: '125 110',
827
- },
828
- { key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.WASTEWATER_TREATMENT, isGroup: true, name: 'Group' },
829
- ],
830
- linkDataArray: [
831
- { from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
832
- { from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
833
- { from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
834
- { from: 99, to: 93, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'T', toPort: 'L' },
835
- { from: 93, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'B', toPort: 'R' },
836
- ],
837
- },
838
- [AtoGojsEditorModel.ENUM_TYPES.ETP_WASTEWATER_TREATMENT]: {
839
- nodeDataArray: [
840
- {
841
- key: 90,
842
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
843
- name: 'Inflow',
844
- value: '0 kl',
845
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
846
- group: 100,
847
- loc: '0 134.5',
848
- },
849
- {
850
- key: 91,
851
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
852
- name: 'Outflow',
853
- value: '126 kl',
854
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
855
- group: 100,
856
- loc: '333 170',
857
- },
858
- {
859
- key: 92,
860
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
861
- name: 'Loss',
862
- value: 'M',
863
- color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
864
- group: 100,
865
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
866
- loc: '160.5 297',
867
- },
868
- {
869
- key: 93,
870
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
871
- name: 'Recirculated',
872
- value: 'M',
873
- color: AtoGojsEditorModel.ENUM_COLORS.VIVID_VIOLET,
874
- group: 100,
875
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
876
- loc: '266 32',
877
- },
878
- {
879
- key: 99,
880
- type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_PROCESS,
881
- group: 100,
882
- loc: '125 110',
883
- },
884
- { key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.WASTEWATER_TREATMENT, isGroup: true, name: 'Group' },
885
- ],
886
- linkDataArray: [
887
- { from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
888
- { from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
889
- { from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
890
- { from: 99, to: 93, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'T', toPort: 'L' },
891
- { from: 93, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'B', toPort: 'R' },
892
- ],
893
- },
894
- [AtoGojsEditorModel.ENUM_TYPES.MBR_WASTEWATER_TREATMENT]: {
895
- nodeDataArray: [
896
- {
897
- key: 90,
898
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
899
- name: 'Inflow',
900
- value: '0 kl',
901
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
902
- group: 100,
903
- loc: '0 134.5',
904
- },
905
- {
906
- key: 91,
907
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
908
- name: 'Outflow',
909
- value: '126 kl',
910
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
911
- group: 100,
912
- loc: '333 170',
913
- },
914
- {
915
- key: 92,
916
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
917
- name: 'Loss',
918
- value: 'M',
919
- color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
920
- group: 100,
921
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
922
- loc: '160.5 297',
923
- },
924
- {
925
- key: 93,
926
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
927
- name: 'Recirculated',
928
- value: 'M',
929
- color: AtoGojsEditorModel.ENUM_COLORS.VIVID_VIOLET,
930
- group: 100,
931
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
932
- loc: '266 32',
933
- },
934
- {
935
- key: 99,
936
- type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_PROCESS,
937
- group: 100,
938
- loc: '125 110',
939
- },
940
- { key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.WASTEWATER_TREATMENT, isGroup: true, name: 'Group' },
941
- ],
942
- linkDataArray: [
943
- { from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
944
- { from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
945
- { from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
946
- { from: 99, to: 93, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'T', toPort: 'L' },
947
- { from: 93, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'B', toPort: 'R' },
948
- ],
949
- },
950
- [AtoGojsEditorModel.ENUM_TYPES.ZLD_WASTEWATER_TREATMENT]: {
951
- nodeDataArray: [
952
- {
953
- key: 90,
954
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
955
- name: 'Inflow',
956
- value: '0 kl',
957
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
958
- group: 100,
959
- loc: '0 134.5',
960
- },
961
- {
962
- key: 91,
963
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
964
- name: 'Outflow',
965
- value: '126 kl',
966
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
967
- group: 100,
968
- loc: '333 170',
969
- },
970
- {
971
- key: 92,
972
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
973
- name: 'Loss',
974
- value: 'M',
975
- color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
976
- group: 100,
977
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
978
- loc: '160.5 297',
979
- },
980
- {
981
- key: 93,
982
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
983
- name: 'Recirculated',
984
- value: 'M',
985
- color: AtoGojsEditorModel.ENUM_COLORS.VIVID_VIOLET,
986
- group: 100,
987
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
988
- loc: '266 32',
989
- },
990
- {
991
- key: 99,
992
- type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_PROCESS,
993
- group: 100,
994
- loc: '125 110',
995
- },
996
- { key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.WASTEWATER_TREATMENT, isGroup: true, name: 'Group' },
997
- ],
998
- linkDataArray: [
999
- { from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
1000
- { from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
1001
- { from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
1002
- { from: 99, to: 93, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'T', toPort: 'L' },
1003
- { from: 93, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE, fromPort: 'B', toPort: 'R' },
1004
- ],
1005
- },
1006
- [AtoGojsEditorModel.ENUM_TYPES.DOMESTIC_USE]: {
1007
- nodeDataArray: [
1008
- {
1009
- key: 90,
1010
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
1011
- name: 'Inflow',
1012
- value: '0 kl',
1013
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
1014
- group: 100,
1015
- loc: '-20 134.5',
1016
- },
1017
- {
1018
- key: 91,
1019
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
1020
- name: 'Outflow',
1021
- value: '0 kl',
1022
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
1023
- group: 100,
1024
- loc: '320 134.5',
1025
- },
1026
- {
1027
- key: 92,
1028
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
1029
- name: 'Loss',
1030
- value: 'M',
1031
- color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
1032
- group: 100,
1033
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
1034
- loc: '150.5 0',
1035
- },
1036
- {
1037
- key: 99,
1038
- type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_PROCESS,
1039
- group: 100,
1040
- loc: '82.5 95',
1041
- },
1042
- { key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.DOMESTIC_USE, isGroup: true, name: 'Group' },
1043
- ],
1044
- linkDataArray: [
1045
- { from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
1046
- { from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
1047
- { from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
1048
- ],
1049
- },
1050
- [AtoGojsEditorModel.ENUM_TYPES.COOLING_TOWER]: {
1051
- nodeDataArray: [
1052
- {
1053
- key: 88,
1054
- type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
1055
- group: 100,
1056
- loc: '0 0',
1057
- data: {
1058
- quantity: 2222,
1059
- unit: 'm³',
1060
- },
1061
- name: 'top-left-marker',
1062
- color: '#a8438d',
1063
- },
1064
- {
1065
- key: 89,
1066
- type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
1067
- group: 100,
1068
- data: {
1069
- quantity: 3333,
1070
- unit: 'm³',
1071
- },
1072
- name: 'bottom-right-marker',
1073
- color: '#a8438d',
1074
- extendedData: {
1075
- loc: '1000 700',
1076
- },
1077
- extendedDataResponsive: {
1078
- loc: '700 300',
1079
- }
1080
- },
1081
- {
1082
- key: 90,
1083
- type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
1084
- group: 100,
1085
- loc: '320 60',
1086
- padding: new go.Margin(0, 0, 0, 0),
1087
- ...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.EVAPORATION_LOSS],
1088
- minSizeValue: new go.Size(100, NaN),
1089
- selectable: false,
1090
- dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.EVAPORATION_LOSS].map((e) => ({
1091
- ...e,
1092
- value: '',
1093
- isEditable: true,
1094
- maxSizeValue: 140,
1095
- })),
1096
- visible: true,
1097
- assetLayers: ATO_ASSET_LAYERS.FLOW,
1098
- extendedData: {
1099
- visible: true,
1100
- },
1101
- extendedDataResponsive: {
1102
- visible: false,
1103
- }
1104
- },
1105
- {
1106
- key: 91,
1107
- type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
1108
- group: 100,
1109
- padding: new go.Margin(0, 0, 0, 0),
1110
- loc: '30 270',
1111
- ...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW],
1112
- minSizeValue: new go.Size(100, NaN),
1113
- selectable: false,
1114
- dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__FLOW].map((e) => ({
1115
- ...e,
1116
- value: '',
1117
- isEditable: true,
1118
- maxSizeValue: 120,
1119
- })),
1120
- assetLayers: ATO_ASSET_LAYERS.FLOW,
1121
- extendedData: {
1122
- visible: true,
1123
- },
1124
- extendedDataResponsive: {
1125
- visible: false,
1126
- }
1127
- },
1128
- {
1129
- key: 92,
1130
- type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
1131
- group: 100,
1132
- padding: new go.Margin(0, 0, 0, 0),
1133
- loc: '30 270',
1134
- ...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY],
1135
- minSizeValue: new go.Size(100, NaN),
1136
- selectable: false,
1137
- dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.MAKEUP_WATER__CHEMISTRY].map((e) => ({
1138
- ...e,
1139
- value: '',
1140
- isEditable: true,
1141
- maxSizeValue: 120,
1142
- })),
1143
- assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
1144
- extendedData: {
1145
- visible: true,
1146
- },
1147
- extendedDataResponsive: {
1148
- visible: false,
1149
- }
1150
- },
1151
- {
1152
- key: 93,
1153
- type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
1154
- group: 100,
1155
- padding: new go.Margin(0, 0, 0, 0),
1156
- loc: '580 250',
1157
- ...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.WARMER_WATER],
1158
- minSizeValue: new go.Size(100, NaN),
1159
- selectable: false,
1160
- dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.WARMER_WATER].map((e) => ({
1161
- ...e,
1162
- value: '',
1163
- isEditable: true,
1164
- maxSizeValue: 120,
1165
- })),
1166
- assetLayers: ATO_ASSET_LAYERS.FLOW,
1167
- extendedData: {
1168
- visible: true,
1169
- },
1170
- extendedDataResponsive: {
1171
- visible: false,
1172
- }
1173
- },
1174
- {
1175
- key: 93,
1176
- type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
1177
- group: 100,
1178
- padding: new go.Margin(0, 0, 0, 0),
1179
- loc: '580 560',
1180
- ...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER],
1181
- minSizeValue: new go.Size(100, NaN),
1182
- selectable: false,
1183
- dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER].map((e) => ({
1184
- ...e,
1185
- value: '',
1186
- isEditable: true,
1187
- maxSizeValue: 120,
1188
- })),
1189
- assetLayers: ATO_ASSET_LAYERS.FLOW,
1190
- extendedData: {
1191
- visible: true,
1192
- },
1193
- extendedDataResponsive: {
1194
- visible: false,
1195
- }
1196
- },
1197
- {
1198
- key: 94,
1199
- type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
1200
- group: 100,
1201
- padding: new go.Margin(0, 0, 0, 0),
1202
- loc: '450 20',
1203
- ...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS],
1204
- minSizeValue: new go.Size(100, NaN),
1205
- selectable: false,
1206
- dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS].map((e) => ({
1207
- ...e,
1208
- value: '',
1209
- isEditable: true,
1210
- maxSizeValue: 130,
1211
- })),
1212
- assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
1213
- extendedData: {
1214
- visible: true,
1215
- },
1216
- extendedDataResponsive: {
1217
- visible: false,
1218
- }
1219
- },
1220
- {
1221
- key: 95,
1222
- type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
1223
- group: 100,
1224
- padding: new go.Margin(0, 0, 0, 0),
1225
- loc: '730 20',
1226
- ...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY],
1227
- minSizeValue: new go.Size(100, NaN),
1228
- selectable: false,
1229
- dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => ({
1230
- ...e,
1231
- value: '',
1232
- isEditable: true,
1233
- maxSizeValue: 130,
1234
- })),
1235
- assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
1236
- extendedData: {
1237
- visible: true,
1238
- },
1239
- extendedDataResponsive: {
1240
- visible: false,
1241
- }
1242
- },
1243
- {
1244
- key: 96,
1245
- type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
1246
- group: 100,
1247
- padding: new go.Margin(0, 0, 0, 0),
1248
- loc: '30 50',
1249
- ...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS],
1250
- minSizeValue: new go.Size(100, NaN),
1251
- selectable: false,
1252
- dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS].map((e) => ({
1253
- ...e,
1254
- value: '',
1255
- isEditable: true,
1256
- maxSizeValue: 130,
1257
- })),
1258
- assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
1259
- extendedData: {
1260
- visible: true,
1261
- },
1262
- extendedDataResponsive: {
1263
- visible: false,
1264
- }
1265
- },
1266
- {
1267
- key: 97,
1268
- type: AtoGojsEditorModel.ENUM_TEMPLATES.IMAGE_TEMPLATE,
1269
- source: AtoGojsEditorModel.IMAGE_COOLING_TOWER_PATH,
1270
- group: 100,
1271
- loc: '0 0',
1272
- selectable: false,
1273
- extendedData: {
1274
- margin: new go.Margin(195, 20, 0, 0),
1275
- },
1276
- extendedDataResponsive: {
1277
- margin: new go.Margin(20, 20, 0, 0),
1278
- }
1279
- },
1280
- {
1281
- key: 98,
1282
- type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
1283
- group: 100,
1284
- loc: '250 25',
1285
- name: 'Evaporation Loss',
1286
- color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
1287
- extendedData: {
1288
- visible: false,
1289
- },
1290
- extendedDataResponsive: {
1291
- visible: true,
1292
- }
1293
- },
1294
- {
1295
- key: 98,
1296
- type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
1297
- group: 100,
1298
- loc: '110 290',
1299
- name: 'Makeup Water',
1300
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
1301
- extendedData: {
1302
- visible: false,
1303
- },
1304
- extendedDataResponsive: {
1305
- visible: true,
1306
- }
1307
- },
1308
- {
1309
- key: 99,
1310
- type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
1311
- group: 100,
1312
- loc: '580 435',
1313
- name: 'Blowdown Water',
1314
- color: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
1315
- extendedData: {
1316
- visible: false,
1317
- },
1318
- extendedDataResponsive: {
1319
- visible: true,
1320
- }
1321
- },
1322
- { key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.COOLING_TOWER, isGroup: true, name: 'Group' },
1323
- ],
1324
- linkDataArray: [],
1325
- },
1326
- // [AtoGojsEditorModel.ENUM_TYPES.COOLING_TOWER + '_RESPONSIVE']: {
1327
- // nodeDataArray: [
1328
- // {
1329
- // key: 88,
1330
- // type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
1331
- // group: 100,
1332
- // loc: '0 0',
1333
- // data: {
1334
- // quantity: 2222,
1335
- // unit: 'm³',
1336
- // },
1337
- // name: 'top-left-marker',
1338
- // color: '#a8438d',
1339
- // },
1340
- // {
1341
- // key: 89,
1342
- // type: AtoGojsEditorModel.ENUM_TEMPLATES.EMPTY,
1343
- // group: 100,
1344
- // loc: '700 300',
1345
- // data: {
1346
- // quantity: 3333,
1347
- // unit: 'm³',
1348
- // },
1349
- // name: 'bottom-right-marker',
1350
- // color: '#a8438d',
1351
- // },
1352
- // {
1353
- // key: 90,
1354
- // type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
1355
- // group: 100,
1356
- // padding: new go.Margin(0, 0, 0, 0),
1357
- // ...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS],
1358
- // minSizeValue: new go.Size(100, NaN),
1359
- // selectable: false,
1360
- // dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_TOWER_ANALYSIS].map((e) => ({
1361
- // ...e,
1362
- // value: '',
1363
- // isEditable: true,
1364
- // maxSizeValue: 130,
1365
- // })),
1366
- // visible: false,
1367
- // },
1368
- // {
1369
- // key: 91,
1370
- // type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
1371
- // group: 100,
1372
- // padding: new go.Margin(0, 0, 0, 0),
1373
- // ...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY],
1374
- // minSizeValue: new go.Size(100, NaN),
1375
- // selectable: false,
1376
- // dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => ({
1377
- // ...e,
1378
- // value: '',
1379
- // isEditable: true,
1380
- // maxSizeValue: 130,
1381
- // })),
1382
- // visible: false,
1383
- // },
1384
- // {
1385
- // key: 92,
1386
- // type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
1387
- // group: 100,
1388
- // padding: new go.Margin(0, 0, 0, 0),
1389
- // ...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.EVAPORATION_LOSS],
1390
- // minSizeValue: new go.Size(100, NaN),
1391
- // selectable: false,
1392
- // dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.EVAPORATION_LOSS].map((e) => ({
1393
- // ...e,
1394
- // value: '',
1395
- // isEditable: true,
1396
- // maxSizeValue: 140,
1397
- // })),
1398
- // visible: false,
1399
- // },
1400
- // {
1401
- // key: 93,
1402
- // type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
1403
- // group: 100,
1404
- // padding: new go.Margin(0, 0, 0, 0),
1405
- // ...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.MAKEUP_WATER],
1406
- // minSizeValue: new go.Size(100, NaN),
1407
- // selectable: false,
1408
- // dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.MAKEUP_WATER].map((e) => ({
1409
- // ...e,
1410
- // value: '',
1411
- // isEditable: true,
1412
- // maxSizeValue: 120,
1413
- // })),
1414
- // visible: false,
1415
- // },
1416
- // {
1417
- // key: 94,
1418
- // type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
1419
- // group: 100,
1420
- // padding: new go.Margin(0, 0, 0, 0),
1421
- // ...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.WARMER_WATER],
1422
- // minSizeValue: new go.Size(100, NaN),
1423
- // selectable: false,
1424
- // dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.WARMER_WATER].map((e) => ({
1425
- // ...e,
1426
- // value: '',
1427
- // isEditable: true,
1428
- // maxSizeValue: 120,
1429
- // })),
1430
- // visible: false,
1431
- // },
1432
-
1433
- // {
1434
- // key: 95,
1435
- // type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE,
1436
- // group: 100,
1437
- // padding: new go.Margin(0, 0, 0, 0),
1438
- // ...DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER],
1439
- // minSizeValue: new go.Size(100, NaN),
1440
- // selectable: false,
1441
- // dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.BLOWDOWN_WATER].map((e) => ({
1442
- // ...e,
1443
- // value: '',
1444
- // isEditable: true,
1445
- // maxSizeValue: 120,
1446
- // })),
1447
- // visible: false,
1448
- // },
1449
-
1450
- // {
1451
- // key: 96,
1452
- // type: AtoGojsEditorModel.ENUM_TEMPLATES.IMAGE_TEMPLATE,
1453
- // source: AtoGojsEditorModel.IMAGE_COOLING_TOWER_PATH,
1454
- // group: 100,
1455
- // loc: '0 0',
1456
- // margin: new go.Margin(20, 20, 0, 0),
1457
- // selectable: false,
1458
- // },
1459
- // {
1460
- // key: 97,
1461
- // type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
1462
- // group: 100,
1463
- // loc: '250 25',
1464
- // name: 'Evaporation Loss',
1465
- // color: AtoGojsEditorModel.ENUM_COLORS.FLAMINGO,
1466
- // },
1467
- // {
1468
- // key: 98,
1469
- // type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
1470
- // group: 100,
1471
- // loc: '110 290',
1472
- // name: 'Makeup Water',
1473
- // color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
1474
- // },
1475
- // {
1476
- // key: 99,
1477
- // type: AtoGojsEditorModel.ENUM_TEMPLATES.TEXT_LABEL,
1478
- // group: 100,
1479
- // loc: '580 435',
1480
- // name: 'Blowdown Water',
1481
- // color: AtoGojsEditorModel.ENUM_COLORS.CARROT_ORANGE,
1482
- // },
1483
- // { key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.COOLING_TOWER, isGroup: true, name: 'Group' },
1484
- // ],
1485
- // linkDataArray: [],
1486
- // },
1487
- [AtoGojsEditorModel.ENUM_TYPES.BOILER]: {
1488
- nodeDataArray: [
1489
- {
1490
- key: 99,
1491
- type: AtoGojsEditorModel.ENUM_TEMPLATES.IMAGE_TEMPLATE,
1492
- source: AtoGojsEditorModel.IMAGE_BOILER_PATH,
1493
- group: 100,
1494
- loc: '0 0',
1495
- margin: new go.Margin(0, 0, 0, 0),
1496
- selectable: false,
1497
- width: 1038,
1498
- height: 516,
1499
- },
1500
- {
1501
- key: 95,
1502
- type: AtoGojsEditorModel.ENUM_TEMPLATES.VALUE_LABEL,
1503
- group: 100,
1504
- loc: '0 380',
1505
- data: {
1506
- quantity: 2222,
1507
- unit: 'm3',
1508
- },
1509
- name: COMPONENTS_GROUP_TYPE.INFLOW_VALUE,
1510
- color: '#a8438d',
1511
- },
1512
- {
1513
- key: 96,
1514
- type: AtoGojsEditorModel.ENUM_TEMPLATES.VALUE_LABEL,
1515
- group: 100,
1516
- loc: '670 430',
1517
- data: {
1518
- quantity: 3333,
1519
- unit: 'm3',
1520
- },
1521
- name: COMPONENTS_GROUP_TYPE.OUTFLOW_VALUE,
1522
- color: '#a8438d',
1523
- },
1524
- {
1525
- key: 97,
1526
- type: AtoGojsEditorModel.ENUM_TEMPLATES.VALUE_LABEL,
1527
- group: 100,
1528
- loc: '612 0',
1529
- data: {
1530
- quantity: 4444,
1531
- unit: 'm3',
1532
- },
1533
- name: COMPONENTS_GROUP_TYPE.LOSS_VALUE,
1534
- color: '#a8438d',
1535
- },
1536
- {
1537
- key: 98,
1538
- type: AtoGojsEditorModel.ENUM_TEMPLATES.VALUE_LABEL,
1539
- group: 100,
1540
- loc: '310 0',
1541
- data: {
1542
- quantity: 5555,
1543
- unit: 'm3',
1544
- },
1545
- name: COMPONENTS_GROUP_TYPE.RECIRCULATED_VALUE,
1546
- color: '#a8438d',
1547
- },
1548
- {
1549
- key: 100,
1550
- type: AtoGojsEditorModel.ENUM_TEMPLATES.BOILER,
1551
- isGroup: true,
1552
- name: 'Group',
1553
- loc: '0 0',
1554
- selectable: false,
1555
- },
1556
- ],
1557
- linkDataArray: [],
1558
- },
1559
- [AtoGojsEditorModel.ENUM_TYPES.OTHER]: {
1560
- nodeDataArray: [
1561
- {
1562
- key: 90,
1563
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
1564
- name: 'Inflow',
1565
- value: '0 kl',
1566
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
1567
- group: 100,
1568
- loc: '0 140.5',
1569
- },
1570
- {
1571
- key: 91,
1572
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
1573
- name: 'Outflow',
1574
- value: '0 kl',
1575
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
1576
- group: 100,
1577
- loc: '300 134.5',
1578
- },
1579
- {
1580
- key: 92,
1581
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
1582
- name: 'Loss',
1583
- value: 'M',
1584
- color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
1585
- group: 100,
1586
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
1587
- loc: '160.5 0',
1588
- },
1589
- {
1590
- key: 99,
1591
- type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_OTHER,
1592
- group: 100,
1593
- loc: '92.5 95',
1594
- },
1595
- { key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.OTHER, isGroup: true, name: 'Group' },
1596
- ],
1597
- linkDataArray: [
1598
- { from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
1599
- { from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
1600
- { from: 99, to: 92, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
1601
- ],
1602
- },
1603
- [AtoGojsEditorModel.ENUM_TYPES.LANDSCAPING_IRRIGATION]: {
1604
- nodeDataArray: [
1605
- {
1606
- key: 90,
1607
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
1608
- name: 'Inflow',
1609
- value: '0 kl',
1610
- color: AtoGojsEditorModel.ENUM_COLORS.CERULEAN,
1611
- group: 100,
1612
- loc: '0 140.5',
1613
- },
1614
- {
1615
- key: 91,
1616
- type: AtoGojsEditorModel.ENUM_TEMPLATES.DATA_BOX,
1617
- name: 'Loss',
1618
- value: 'M',
1619
- color: AtoGojsEditorModel.ENUM_COLORS.BLUE,
1620
- group: 100,
1621
- colorValue: AtoGojsEditorModel.ENUM_COLORS.GRAY,
1622
- loc: '300 140.5',
1623
- },
1624
- {
1625
- key: 99,
1626
- type: AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_DISCHARGE,
1627
- group: 100,
1628
- loc: '92.5 95',
1629
- },
1630
- { key: 100, type: AtoGojsEditorModel.ENUM_TEMPLATES.LANDSCAPING_IRRIGATION, isGroup: true, name: 'Group' },
1631
- ],
1632
- linkDataArray: [
1633
- { from: 90, to: 99, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
1634
- { from: 99, to: 91, color: AtoGojsEditorModel.ENUM_COLORS.BLUE },
1635
- ],
1636
- },
1637
- };