ato-water-lib 0.0.33 → 0.0.36
Sign up to get free protection for your applications and to get access to all the features.
- package/ng-package.json +11 -0
- package/package.json +3 -22
- package/src/lib/ato-water-lib.component.spec.ts +23 -0
- package/src/lib/ato-water-lib.component.ts +15 -0
- package/src/lib/ato-water-lib.module.ts +31 -0
- package/src/lib/ato-water-lib.service.spec.ts +16 -0
- package/src/lib/ato-water-lib.service.ts +9 -0
- package/src/lib/components/asset-flow/asset-flow.component.html +21 -0
- package/src/lib/components/asset-flow/asset-flow.component.scss +4 -0
- package/src/lib/components/asset-flow/asset-flow.component.spec.ts +23 -0
- package/src/lib/components/asset-flow/asset-flow.component.ts +137 -0
- package/src/lib/components/asset-params-view/asset-params-view.component.html +85 -0
- package/src/lib/components/asset-params-view/asset-params-view.component.scss +37 -0
- package/src/lib/components/asset-params-view/asset-params-view.component.spec.ts +23 -0
- package/src/lib/components/asset-params-view/asset-params-view.component.ts +16 -0
- package/src/lib/components/flow-diagram-lib/flow-diagram-lib.component.css +0 -0
- package/src/lib/components/flow-diagram-lib/flow-diagram-lib.component.html +25 -0
- package/src/lib/components/flow-diagram-lib/flow-diagram-lib.component.ts +69 -0
- package/src/lib/constants/applicable-prefixes-const.ts +452 -0
- package/src/lib/constants/base64.const.ts +5 -0
- package/src/lib/constants/components-group-const.ts +1637 -0
- package/src/lib/constants/icon-base64.const.ts +3 -0
- package/src/lib/constants/icon-svg.const.ts +8 -0
- package/src/lib/constants/key.const.ts +5 -0
- package/src/lib/constants/plant.constant.ts +52 -0
- package/src/lib/constants/value.const.ts +822 -0
- package/src/lib/directive/ato-loading.directive.ts +55 -0
- package/src/lib/directive/ng-var.directive.ts +28 -0
- package/src/lib/models/default-gojs-editor.model.ts +4906 -0
- package/{lib/models/gojs-data.model.d.ts → src/lib/models/gojs-data.model.ts} +3 -3
- package/src/lib/models/gojs-editor.model.ts +1901 -0
- package/src/lib/services/utils/utils.service.ts +141 -0
- package/{public-api.d.ts → src/public-api.ts} +10 -0
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2020/ato-water-lib.mjs +0 -5
- package/esm2020/lib/ato-water-lib.component.mjs +0 -19
- package/esm2020/lib/ato-water-lib.module.mjs +0 -49
- package/esm2020/lib/ato-water-lib.service.mjs +0 -14
- package/esm2020/lib/components/asset-flow/asset-flow.component.mjs +0 -121
- package/esm2020/lib/components/asset-params-view/asset-params-view.component.mjs +0 -26
- package/esm2020/lib/components/flow-diagram-lib/flow-diagram-lib.component.mjs +0 -54
- package/esm2020/lib/constants/applicable-prefixes-const.mjs +0 -441
- package/esm2020/lib/constants/base64.const.mjs +0 -5
- package/esm2020/lib/constants/components-group-const.mjs +0 -1476
- package/esm2020/lib/constants/icon-base64.const.mjs +0 -4
- package/esm2020/lib/constants/key.const.mjs +0 -4
- package/esm2020/lib/constants/plant.constant.mjs +0 -51
- package/esm2020/lib/constants/value.const.mjs +0 -782
- package/esm2020/lib/directive/ato-loading.directive.mjs +0 -55
- package/esm2020/lib/directive/ng-var.directive.mjs +0 -31
- package/esm2020/lib/models/default-gojs-editor.model.mjs +0 -3227
- package/esm2020/lib/models/gojs-data.model.mjs +0 -6
- package/esm2020/lib/models/gojs-editor.model.mjs +0 -1754
- package/esm2020/lib/services/utils/utils.service.mjs +0 -133
- package/esm2020/public-api.mjs +0 -15
- package/fesm2015/ato-water-lib.mjs +0 -8018
- package/fesm2015/ato-water-lib.mjs.map +0 -1
- package/fesm2020/ato-water-lib.mjs +0 -8205
- package/fesm2020/ato-water-lib.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/ato-water-lib.component.d.ts +0 -5
- package/lib/ato-water-lib.module.d.ts +0 -13
- package/lib/ato-water-lib.service.d.ts +0 -6
- package/lib/components/asset-flow/asset-flow.component.d.ts +0 -1336
- package/lib/components/asset-params-view/asset-params-view.component.d.ts +0 -10
- package/lib/components/flow-diagram-lib/flow-diagram-lib.component.d.ts +0 -16
- package/lib/constants/applicable-prefixes-const.d.ts +0 -162
- package/lib/constants/base64.const.d.ts +0 -3
- package/lib/constants/components-group-const.d.ts +0 -1561
- package/lib/constants/icon-base64.const.d.ts +0 -3
- package/lib/constants/key.const.d.ts +0 -1
- package/lib/constants/plant.constant.d.ts +0 -7
- package/lib/constants/value.const.d.ts +0 -71
- package/lib/directive/ato-loading.directive.d.ts +0 -14
- package/lib/directive/ng-var.directive.d.ts +0 -12
- package/lib/models/default-gojs-editor.model.d.ts +0 -197
- package/lib/models/gojs-editor.model.d.ts +0 -436
- package/lib/services/utils/utils.service.d.ts +0 -24
@@ -1,436 +0,0 @@
|
|
1
|
-
import { ATO_ECOMPONENT_PLANT_TYPE } from '../constants/value.const';
|
2
|
-
export declare class AtoGojsEditorModel {
|
3
|
-
initialOptions: any;
|
4
|
-
data: any;
|
5
|
-
constructor(data: any);
|
6
|
-
}
|
7
|
-
export declare namespace AtoGojsEditorModel {
|
8
|
-
const GRID_SIZE = 20;
|
9
|
-
const BASIC_GRID_INTERVAL_X = 24;
|
10
|
-
const BASIC_GRID_INTERVAL_Y = 10;
|
11
|
-
const BASIC_GRID_SIZE_WIDTH: number;
|
12
|
-
const BASIC_GRID_SIZE_HEIGHT: number;
|
13
|
-
const DISTANCE_LAST_TO_ADD = 50;
|
14
|
-
const PLANT_CELL_HEIGHT = 160;
|
15
|
-
enum ENUM_LAYOUT_EDITOR {
|
16
|
-
AUTO = "AUTO ALIGN",
|
17
|
-
GRID = "GRID SUPPORTED",
|
18
|
-
FREEFORM = "FREE FORM"
|
19
|
-
}
|
20
|
-
const LAYOUT_LIST: {
|
21
|
-
name: string;
|
22
|
-
key: ENUM_LAYOUT_EDITOR;
|
23
|
-
}[];
|
24
|
-
enum ENUM_COLORS {
|
25
|
-
RED = "#EC7C4E",
|
26
|
-
ORANGE = "#EBB868",
|
27
|
-
BLUE = "#81B8FF",
|
28
|
-
LIGHT_BLUE = "#F4F6FB",
|
29
|
-
LIGHT_SKY_BLUE = "#cfe7fd",
|
30
|
-
WHITE = "#FFFFFF",
|
31
|
-
GRAY = "#919CA5",
|
32
|
-
CERULEAN = "#0062A9",
|
33
|
-
VIVID_VIOLET = "#804180",
|
34
|
-
RESOLUTION_BLUE = "#2D3B77",
|
35
|
-
CASHMERE = "#D6AB95",
|
36
|
-
GALLIANO = "#E09F25",
|
37
|
-
FOUNTAIN_BLUE = "#54BBBA",
|
38
|
-
ELF_GREEN = "#199C69",
|
39
|
-
MEDIUM_RED_VIOLET = "#A8438D",
|
40
|
-
GRANDIS = "#FBC96C",
|
41
|
-
SALMON = "#F47769",
|
42
|
-
NIGHT_RIDER = "#2C2C2C",
|
43
|
-
ALIZARIN = "#EC1B24",
|
44
|
-
LINK_WATER = "#CAD3DB",
|
45
|
-
ZIRCON = "#E5EBEB",
|
46
|
-
CERULEAN_ALICE_BLUE = "#E6F0F7",
|
47
|
-
DANUBE = "#7197CA",
|
48
|
-
DANUBE_ALICE_BLUE = "#F1F5FA",
|
49
|
-
AZURE = "#EEF8F8",
|
50
|
-
OLD_LACE = "#FCF6EA",
|
51
|
-
CARROT_ORANGE = "#F69122",
|
52
|
-
FLAMINGO = "#E95F47",
|
53
|
-
SNOW = "#FEF7F6"
|
54
|
-
}
|
55
|
-
enum ENUM_LINK_TYPES {
|
56
|
-
SIMPLE = "simple",
|
57
|
-
PIPE_ANIMATION = "pipe animation",
|
58
|
-
PIPE = "pipe",
|
59
|
-
PIPE_HIDDEN = "pipe hidden"
|
60
|
-
}
|
61
|
-
enum ENUM_TEMPLATES {
|
62
|
-
STORAGE = "Storage",
|
63
|
-
COOLING_TOWER = "Cooling Tower",
|
64
|
-
WATER_TREATMENT = "Water Treatment",
|
65
|
-
DEMIN_WATER_TREATMENT = "Demin Water Treatment",
|
66
|
-
RO_WATER_TREATMENT = "RO Water Treatment",
|
67
|
-
DOMESTIC_USE = "Domestic Use",
|
68
|
-
PROCESS = "Process",
|
69
|
-
BOILER = "Boiler",
|
70
|
-
WASTEWATER_TREATMENT = "Wastewater Treatment",
|
71
|
-
DAF_WASTEWATER_TREATMENT = "DAF Wastewater Treatment",
|
72
|
-
ETP_WASTEWATER_TREATMENT = "ETP Wastewater Treatment",
|
73
|
-
MBR_WASTEWATER_TREATMENT = "MBR Wastewater Treatment",
|
74
|
-
ZLD_WASTEWATER_TREATMENT = "ZLD Wastewater Treatment",
|
75
|
-
OTHER = "Other",
|
76
|
-
LANDSCAPING_IRRIGATION = "Landscaping/Irrigation",
|
77
|
-
TEXT_NODE = "TextNode",
|
78
|
-
VALUE_NODE = "ValueNode",
|
79
|
-
DATA_BOX = "DataBox",
|
80
|
-
VALUE_LABEL = "ValueLabel",
|
81
|
-
EMPTY = "Empty",
|
82
|
-
SPECIAL_PROCESS = "SPECIAL_PROCESS",
|
83
|
-
SPECIAL_STORE = "SPECIAL_STORE",
|
84
|
-
SPECIAL_STORAGE = "STORAGE",
|
85
|
-
SPECIAL_DISCHARGE = "SPECIAL_DISCHARGE",
|
86
|
-
SPECIAL_OTHER = "SPECIAL_OTHER",
|
87
|
-
FRESH_SURFACE_WATER = "Fresh surface water",
|
88
|
-
THIRD_PARTY_SOURCES = "Third party sources",
|
89
|
-
THIRD_PARTY_DESTINATIONS = "Third party destinations",
|
90
|
-
GROUND_WATER_NON_RENEWABLE = "Groundwater - non-renewable",
|
91
|
-
PRODUCED_ENTRAINED = "Produced / entrained water",
|
92
|
-
BRACKISH_SURFACE_WATER = "Brackish surface water/ seawater",
|
93
|
-
UTILITY = "UTILITY",
|
94
|
-
GROUND_WATER_RENEWABLE = "Groundwater - Renewable",
|
95
|
-
ZONE = "EnergyZones",
|
96
|
-
ZONE_ENERGY_ITEM = "SubSystem",
|
97
|
-
GRID = "Grid",
|
98
|
-
DIESEL_GENERATORS = "Diesel Generators",
|
99
|
-
ELECTRIC_METERS = "Electric Meters",
|
100
|
-
BATTERY_ENERGY_STORAGE = "Battery energy storage",
|
101
|
-
TRANSFORMERS = "Transformers",
|
102
|
-
LIGHTING_SYSTEMS = "Lighting systems",
|
103
|
-
LIGHTINGS = "Lightings",
|
104
|
-
ELECTRIC_FLYWHEEL_ENERGY_STORAGE = "Flywheel energy storage",
|
105
|
-
PUMPED_HYDRO_STORAGE = "Pumped hydro storage",
|
106
|
-
THERMAL_ENERGY_STORAGE = "Thermal energy storage",
|
107
|
-
SUPER_CAPACITOR_ENERGY_STORAGE = "Supercapacitor energy storage",
|
108
|
-
SWITCH_GEARS = "Switchgears",
|
109
|
-
MOTOR_CONTROLS = "MotorControls",
|
110
|
-
VARIABLE_FREQUENCY_DRIVERS = "VariableFrequencyDrives",
|
111
|
-
ELECTRIC_HVAC = "Heating, ventilation, and air conditioning (HVAC) systems",
|
112
|
-
COMPRESSED_AIR_SYSTEMS = "Compressed air",
|
113
|
-
REFRIGERATION_COOLING_SYSTEMS = "Refrigeration and cooling",
|
114
|
-
PROCESS_CONTROL_AUTOMATION_SYSTEMS = "Process control and automation",
|
115
|
-
OFFICE_EQUIPMENT = "Office equipment",
|
116
|
-
PROCESS_EQUIPMENT_MACHINES = "Process equipment and machines",
|
117
|
-
MATERIAL_HANDLING_EQUIPMENT = "Material handling equipment",
|
118
|
-
POWER_DISTRIBUTION_CONTROL_SYSTEMS = "Power distribution and control",
|
119
|
-
POWER_DISTRIBUTION_SYSTEMS = "Power distribution systems",
|
120
|
-
WIND_POWER = "Wind Power",
|
121
|
-
NATURAL_GAS_GENERATORS = "Natural gas generators",
|
122
|
-
ELECTRIC_INDUSTRIAL_MOTORS = "Industrial motors",
|
123
|
-
GROUNDING = "Grounding",
|
124
|
-
FUELS = "Fuels",
|
125
|
-
DIESEL_FUELS = "DieselFuels",
|
126
|
-
GASON_LINES = "Gasonlines",
|
127
|
-
BIODIESELS = "Biodiesels",
|
128
|
-
KEROSENSE = "Kerosenes",
|
129
|
-
PROPANES = "Propanes",
|
130
|
-
TANKER_TRUCKS = "Tanker Trucks",
|
131
|
-
PIPELINE = "Pipeline",
|
132
|
-
INDUSTRIAL_BOILERS = "Industrial boilers",
|
133
|
-
GENERATORS = "Generators",
|
134
|
-
INDUSTRIAL_FURNACES = "Industrial furnaces",
|
135
|
-
INDUSTRIAL_OVENS = "Industrial ovens",
|
136
|
-
INDUSTRIAL_VEHICLES_AND_EQUIPMENT = "Industrial vehicles and equipment",
|
137
|
-
FUEL_METERS = "FuelMeters",
|
138
|
-
FUEL_DISPENSERS = "FuelDispensers",
|
139
|
-
FUEL_STRORAGE_TANKS = "FuelStorageTanks",
|
140
|
-
FUEL_FILTRATIONS = "FuelFiltrations",
|
141
|
-
FUEL_MANAGEMENTS = "FuelManagements",
|
142
|
-
NATURAL_GAS_PIPELINES = "Natural gas pipelines",
|
143
|
-
LIQUEFIED_NATURAL_GAS = "Liquefied natural gas",
|
144
|
-
COMPRESSED_NATURAL_GAS_PIPELINE = "Compressed natural gas pipeline",
|
145
|
-
ON_SITE_PRODUCTION = "On-site production",
|
146
|
-
COMPRESSED_NATURAL_GAS_PRODUCTION = "Compressed natural gas production",
|
147
|
-
BOILERS_AND_HEATERS = "Boilers and heaters",
|
148
|
-
FURNACES = "Furnaces",
|
149
|
-
POWER_GENERATION = "Power generation",
|
150
|
-
COGENERATION = "Cogeneration",
|
151
|
-
COMBINED_CYCLE_POWER_PLANTS = "Combined cycle power plants",
|
152
|
-
FUEL_FOR_VEHICLES_AND_EQUIPMENT = "Fuel for vehicles and equipment",
|
153
|
-
GAS_METERS = "Gas meters",
|
154
|
-
BURNERS = "Burners",
|
155
|
-
FLUE_GAS_ANALYZERS = "Flue gas analyzers",
|
156
|
-
COMBUSTION_CONTROL_SYSTEMS = "Combustion control systems",
|
157
|
-
GAS_STORAGE_TANKS = "Gas storage tanks",
|
158
|
-
GAS_PRESSURE_REGULATORS = "Gas pressure regulators",
|
159
|
-
NATURAL_GAS = "Natural Gas",
|
160
|
-
SOLAR_POWER = "Solar Power",
|
161
|
-
POWER_CONDITIONING_UNIT = "Power conditioning unit (PCU)",
|
162
|
-
INVERTERS = "Inverters",
|
163
|
-
BATTERIES = "Batteries",
|
164
|
-
UNCATEGORIZED = "Uncategorized",
|
165
|
-
PLANT_CELL = "Plant Cell",
|
166
|
-
INPUT_PLANT_CELL = "Input Plant Cell",
|
167
|
-
OUTPUT_PLANT_CELL = "Output Plant Cell",
|
168
|
-
PLANT_CELL_INPUT_GROUP = "PC Input Group",
|
169
|
-
PLANT_CELL_OUTPUT_GROUP = "PC Output Group",
|
170
|
-
IMAGE_TEMPLATE = "Image Template",
|
171
|
-
PARAM_TABLE = "Param Table",
|
172
|
-
MASS_BALANCE = "Mass Balance",
|
173
|
-
VALUES = "Valves",
|
174
|
-
STEAM_TRAPS = "Steam Traps",
|
175
|
-
PRESSURE_REGULATORS = "Pressure Regulator",
|
176
|
-
SAFETY_VALUES_AND_EQUIPMENT = "Safety Valves and Equipment",
|
177
|
-
CONDENSATE_RETURN_SYSTEM = "Condensate Return System",
|
178
|
-
DEAERATORS = "Deaerators",
|
179
|
-
FEEDWATER_PUMPS = "Feedwater Pumps",
|
180
|
-
BLOWDOWN_TANKS = "Blowdown Tanks",
|
181
|
-
EXPANSION_TANKS = "Expansion Tanks",
|
182
|
-
HEAT_EXCHANGERS = "Heat Exchangers",
|
183
|
-
TURBINES = "Turbines",
|
184
|
-
GROUP_BASIC_COMPONENT = "Group Basic Component",
|
185
|
-
TEXT_LABEL = "label"
|
186
|
-
}
|
187
|
-
enum ENUM_TYPES {
|
188
|
-
STORAGE = "WaterStorageTanks",
|
189
|
-
WATER_TREATMENT = "WaterTreatmentProcesses",
|
190
|
-
DEMIN_WATER_TREATMENT = "DeminWaterTreatments",
|
191
|
-
RO_WATER_TREATMENT = "ROWaterTreatments",
|
192
|
-
PROCESS = "GenericProcesses",
|
193
|
-
SPECIAL_STORAGE = "STORAGE",
|
194
|
-
WASTEWATER_TREATMENT = "WasteWaterTreatmentProcesses",
|
195
|
-
DAF_WASTEWATER_TREATMENT = "DAFWasteWaterTreatments",
|
196
|
-
ETP_WASTEWATER_TREATMENT = "ETPWasteWaterTreatments",
|
197
|
-
MBR_WASTEWATER_TREATMENT = "MBRWasteWaterTreatments",
|
198
|
-
ZLD_WASTEWATER_TREATMENT = "ZLDWasteWaterTreatments",
|
199
|
-
DOMESTIC_USE = "DomesticUse",
|
200
|
-
COOLING_TOWER = "CoolingTowers",
|
201
|
-
BOILER = "Boilers",
|
202
|
-
OTHER = "OtherWaterUse",
|
203
|
-
LANDSCAPING_IRRIGATION = "IrrigationUse",
|
204
|
-
FRESH_SURFACE_WATER = "Fresh surface water",
|
205
|
-
THIRD_PARTY_SOURCES = "Third party sources",
|
206
|
-
THIRD_PARTY_DESTINATIONS = "Third party destinations",
|
207
|
-
GROUND_WATER_NON_RENEWABLE = "Groundwater - non-renewable",
|
208
|
-
PRODUCED_ENTRAINED = "Produced / entrained water",
|
209
|
-
BRACKISH_SURFACE_WATER = "Brackish surface water/ seawater",
|
210
|
-
GROUND_WATER_RENEWABLE = "Groundwater - Renewable",
|
211
|
-
TANKER_WATER = "Tanker Water",
|
212
|
-
ZONE = "EnergyZones",
|
213
|
-
ELECTRIC_SOURCES = "ElectricSources",
|
214
|
-
GRID = "Grid Power",
|
215
|
-
DIESEL_GENERATORS = "Diesel Generators",
|
216
|
-
ELECTRIC_METERS = "ElectricMeters",
|
217
|
-
TRANSFORMERS = "Transformers",
|
218
|
-
BATTERY_ENERGY_STORAGE = "Battery energy storage",
|
219
|
-
ELECTRIC_PRODUCTIONS = "ElectricProductions",
|
220
|
-
ELECTRIC_COMSUMINGS = "ElectricConsumings",
|
221
|
-
ELECTRIC_STORAGES = "ElectricityStorages",
|
222
|
-
ELECTRIC_FLYWHEEL_ENERGY_STORAGE = "Flywheel energy storage",
|
223
|
-
PUMPED_HYDRO_STORAGE = "Pumped hydro storage",
|
224
|
-
THERMAL_ENERGY_STORAGE = "Thermal energy storage",
|
225
|
-
SUPER_CAPACITOR_ENERGY_STORAGE = "Supercapacitor energy storage",
|
226
|
-
SWITCH_GEARS = "Switchgears",
|
227
|
-
MOTOR_CONTROLS = "MotorControls",
|
228
|
-
VARIABLE_FREQUENCY_DRIVERS = "VariableFrequencyDrives",
|
229
|
-
LIGHTING_SYSTEMS = "Lighting systems",
|
230
|
-
LIGHTINGS = "Lightings",
|
231
|
-
ELECTRIC_HVAC = "Heating, ventilation, and air conditioning (HVAC) systems",
|
232
|
-
COMPRESSED_AIR_SYSTEMS = "Compressed air",
|
233
|
-
REFRIGERATION_COOLING_SYSTEMS = "Refrigeration and cooling",
|
234
|
-
PROCESS_CONTROL_AUTOMATION_SYSTEMS = "Process control and automation",
|
235
|
-
PROCESS_EQUIPMENT_MACHINES = "Process equipment and machines",
|
236
|
-
OFFICE_EQUIPMENT = "Office equipment",
|
237
|
-
MATERIAL_HANDLING_EQUIPMENT = "Material handling equipment",
|
238
|
-
POWER_DISTRIBUTION_CONTROL_SYSTEMS = "Power distribution and control",
|
239
|
-
POWER_DISTRIBUTION_SYSTEMS = "PowerDistributions",
|
240
|
-
WIND_POWER = "Wind Power",
|
241
|
-
NATURAL_GAS_GENERATORS = "Natural gas generators",
|
242
|
-
ELECTRIC_INDUSTRIAL_MOTORS = "Industrial motors",
|
243
|
-
GROUNDING = "Groundings",
|
244
|
-
Electricals = "Electricals",
|
245
|
-
NATURAL_GAS_PIPELINES = "Natural gas pipelines",
|
246
|
-
LIQUEFIED_NATURAL_GAS = "Liquefied natural gas (LNG) shipments",
|
247
|
-
COMPRESSED_NATURAL_GAS_PIPELINE = "Compressed natural gas pipeline (CNG)",
|
248
|
-
ON_SITE_PRODUCTION = "On-site production",
|
249
|
-
COMPRESSED_NATURAL_GAS_PRODUCTION = "Compressed natural gas production (CNG)",
|
250
|
-
BOILERS_AND_HEATERS = "Boilers and heaters",
|
251
|
-
FURNACES = "Furnaces",
|
252
|
-
POWER_GENERATION = "Power generation",
|
253
|
-
COGENERATION = "Cogeneration",
|
254
|
-
COMBINED_CYCLE_POWER_PLANTS = "Combined cycle power plants",
|
255
|
-
FUEL_FOR_VEHICLES_AND_EQUIPMENT = "Fuel for vehicles and equipment",
|
256
|
-
GAS_METERS = "GasMeters",
|
257
|
-
BURNERS = "Burners",
|
258
|
-
FLUE_GAS_ANALYZERS = "FlueGasAnalyzers",
|
259
|
-
COMBUSTION_CONTROL_SYSTEMS = "ConbustionControls",
|
260
|
-
GAS_STORAGE_TANKS = "GasStorageTanks",
|
261
|
-
GAS_PRESSURE_REGULATORS = "GasPressureRegulators",
|
262
|
-
NATURAL_GAS = "Natural Gas",
|
263
|
-
GAS_SOURCE = "GasSources",
|
264
|
-
GAS_PRODUCTION = "GasProductions",
|
265
|
-
GAS_CONSUMINGS = "GasConsumings",
|
266
|
-
NATURAL_GAS_SPECIAL = "NaturalGases",
|
267
|
-
FUELS = "Fuels",
|
268
|
-
DIESEL_FUELS = "DieselFuels",
|
269
|
-
GASON_LINES = "Gasonlines",
|
270
|
-
BIODIESELS = "Biodiesels",
|
271
|
-
KEROSENSE = "Kerosenes",
|
272
|
-
PROPANES = "Propanes",
|
273
|
-
FUEL_SOURCES = "FuelSources",
|
274
|
-
TANKER_TRUCKS = "Tanker Trucks",
|
275
|
-
PIPELINE = "Pipeline",
|
276
|
-
FUEL_CONSUMINGS = "FuelConsumings",
|
277
|
-
INDUSTRIAL_BOILERS = "Industrial boilers",
|
278
|
-
GENERATORS = "Generators",
|
279
|
-
INDUSTRIAL_FURNACES = "Industrial furnaces",
|
280
|
-
INDUSTRIAL_OVENS = "Industrial ovens",
|
281
|
-
INDUSTRIAL_VEHICLES_AND_EQUIPMENT = "Industrial vehicles and equipment",
|
282
|
-
FUEL_METERS = "FuelMeters",
|
283
|
-
FUEL_DISPENSERS = "FuelDispensers",
|
284
|
-
FUEL_STRORAGE_TANKS = "FuelStorageTanks",
|
285
|
-
FUEL_FILTRATIONS = "FuelFiltrations",
|
286
|
-
FUEL_MANAGEMENTS = "FuelManagements",
|
287
|
-
SOLAR_POWER = "Solar Power",
|
288
|
-
POWER_CONDITIONING_UNIT = "Power conditioning unit (PCU)",
|
289
|
-
INVERTERS = "Inverters",
|
290
|
-
BATTERIES = "Batteries",
|
291
|
-
PLANT_CELL = "PlantCells",
|
292
|
-
PLANT_CELL_INPUT_GROUP = "PC Input Group",
|
293
|
-
PLANT_CELL_OUTPUT_GROUP = "PC Output Group",
|
294
|
-
VALUES = "Valves",
|
295
|
-
STEAM_TRAPS = "Steam Traps",
|
296
|
-
PRESSURE_REGULATORS = "Pressure Regulator",
|
297
|
-
SAFETY_VALUES_AND_EQUIPMENT = "Safety Valves and Equipment",
|
298
|
-
CONDENSATE_RETURN_SYSTEM = "Condensate Return System",
|
299
|
-
DEAERATORS = "Deaerators",
|
300
|
-
FEEDWATER_PUMPS = "Feedwater Pumps",
|
301
|
-
BLOWDOWN_TANKS = "Blowdown Tanks",
|
302
|
-
EXPANSION_TANKS = "Expansion Tanks",
|
303
|
-
HEAT_EXCHANGERS = "SteamConsumings",
|
304
|
-
TURBINES = "EnergyConverters",
|
305
|
-
STEAM_COMPONENT = "SteamComponents",
|
306
|
-
STEAM_CONSUMING_SYSTEM = "SteamConsumings",
|
307
|
-
ENERGY_CONVERTER = "EnergyConverters"
|
308
|
-
}
|
309
|
-
enum ENUM_CATEGORY {
|
310
|
-
}
|
311
|
-
enum DATA_COLLECTION_METHOD {
|
312
|
-
MEASURED = "Measured",
|
313
|
-
MANUAL = "Manual",
|
314
|
-
COMPUTED = "Computed",
|
315
|
-
ESTIMATED = "Estimated",
|
316
|
-
WATER_CAPACITY = "Water Capacity",
|
317
|
-
KEY_MODEL_COMPUTED = "M"
|
318
|
-
}
|
319
|
-
const COLOR_COLLECTION_METHOD: {
|
320
|
-
[key in AtoGojsEditorModel.DATA_COLLECTION_METHOD]: any;
|
321
|
-
};
|
322
|
-
enum WITH_DRAW_SYSTEM_TYPES {
|
323
|
-
WATER_SOURCE = "WaterSource"
|
324
|
-
}
|
325
|
-
enum DISCHARGE_TYPES_SYSTEM_TYPES {
|
326
|
-
GROUND_WATER_RANEWABLE = "GroundWaterRenewable"
|
327
|
-
}
|
328
|
-
const WaterWithdrawSources = "WaterWithdrawSources";
|
329
|
-
const WaterWithdrawSourcesPath = "GetFlowTopology.Plant.WaterWithdrawSources.ComponentWaterFlow.InFlows.InflowWaterRecord.QuantityParams";
|
330
|
-
const WaterDischargeDestinations = "WaterDischargeDestinations";
|
331
|
-
const WaterDischargeDestinationsPath = "GetFlowTopology.Plant.WaterDischargeDestinations.ComponentWaterFlow.InFlows.InflowWaterRecord.QuantityParams";
|
332
|
-
const SOURCES_COMPONENTS: string[];
|
333
|
-
const SOURCES_WITHDRAW: string[];
|
334
|
-
const SOURCES_DISCHARGE: string[];
|
335
|
-
const COMPONENTS_HAVE_SPECIAL_CATEGORY: string[];
|
336
|
-
const WITH_DRAW_TYPE_LIST: string[];
|
337
|
-
const DISCHARGE_TYPE_LIST: string[];
|
338
|
-
const WITH_DRAW_SYSTEM_TYPE_LIST: WITH_DRAW_SYSTEM_TYPES[];
|
339
|
-
const DISCHARGE_SYSTEM_TYPE_LIST: DISCHARGE_TYPES_SYSTEM_TYPES[];
|
340
|
-
const TYPE_COMPONENT: string[];
|
341
|
-
const ICON_ASSET_PATH: string;
|
342
|
-
const ICON_ASSET_WITHDRAW_DISCHARGE_ICON: string;
|
343
|
-
const IMAGE_RO_WATER_TREATMENT_PATH = "/assets/images/ro-water-treatment/RO_WATER_TREATMENT_BG.png";
|
344
|
-
const IMAGE_BOILER_PATH = "assets/images/boiler/cms_boiler.png";
|
345
|
-
const IMAGE_COOLING_TOWER_PATH = "assets/images/process-water/cooling-tower-4.png";
|
346
|
-
const SPECIAL_ICON_ASSET_PATH: string;
|
347
|
-
const ENERGY_ICON_ASSET_PATH = "assets/images/editor/energy";
|
348
|
-
const GAS_ICON_ASSET_PATH = "assets/images/editor/gas";
|
349
|
-
const FUEL_ICON_ASSET_PATH = "assets/images/editor/fuel";
|
350
|
-
const STEAM_ICON_ASSET_PATH = "assets/images/editor/steam";
|
351
|
-
const PLANT_CELL_PATH = "assets/images/editor/plant-cell";
|
352
|
-
const DATA_BOX = "assets/images/editor/data-box";
|
353
|
-
const LINK_TEMPLATES: {
|
354
|
-
[key in AtoGojsEditorModel.ENUM_LINK_TYPES]: any;
|
355
|
-
};
|
356
|
-
interface I_TEMPLATE_ITEM {
|
357
|
-
name: AtoGojsEditorModel.ENUM_TEMPLATES;
|
358
|
-
icon?: string;
|
359
|
-
size?: {
|
360
|
-
w: number;
|
361
|
-
h: number;
|
362
|
-
};
|
363
|
-
systemType?: string;
|
364
|
-
}
|
365
|
-
const ATTRNAME_COMPONENT: any[];
|
366
|
-
const NODE_TEMPLATES: {
|
367
|
-
[key in AtoGojsEditorModel.ENUM_TEMPLATES]: I_TEMPLATE_ITEM;
|
368
|
-
};
|
369
|
-
const WITHDRAW_DISCHARGE_ICON: {
|
370
|
-
[key in string]: any;
|
371
|
-
};
|
372
|
-
const WITHDRAW_DISCHARGE_DIAGRAM_HOME: {
|
373
|
-
withdrawSourcesChildren: ENUM_TYPES[];
|
374
|
-
dischargeDestinationsChildren: ENUM_TYPES[];
|
375
|
-
};
|
376
|
-
enum ACTION_RIGHT_MENU_GROUP {
|
377
|
-
PLANT_TEMPLATES = "Plant Templates",
|
378
|
-
PLANT_CELLS = "Plant Cell",
|
379
|
-
DATA_BOX = "Measurement",
|
380
|
-
SYSTEM_TEMPLATES = "System Templates",
|
381
|
-
WATER_COMPONENT = "Water Components"
|
382
|
-
}
|
383
|
-
enum DATA_BOX_NAME_OF_COMPONENT {
|
384
|
-
INFLOW = "Inflow Of",
|
385
|
-
OUTFLOW = "Outflow From"
|
386
|
-
}
|
387
|
-
enum ACTION_RIGHT_MENU {
|
388
|
-
APPLY_TEMPLATE = "ApplyTemplate",
|
389
|
-
NEW_PLANT_CELL = "NewPlantCell",
|
390
|
-
NAME_PLANT_CELL = "NamePlantCell",
|
391
|
-
ADD_COMPONENT = "AddComponent"
|
392
|
-
}
|
393
|
-
const DATA_MENU: {
|
394
|
-
name: string;
|
395
|
-
componentType: ATO_ECOMPONENT_PLANT_TYPE;
|
396
|
-
isFilterType: boolean;
|
397
|
-
groupType: ACTION_RIGHT_MENU_GROUP;
|
398
|
-
children: {
|
399
|
-
name: string;
|
400
|
-
children: never[];
|
401
|
-
actionType: ACTION_RIGHT_MENU;
|
402
|
-
isDrag: boolean;
|
403
|
-
}[];
|
404
|
-
}[];
|
405
|
-
const WATER_USING_SYSTEM: ENUM_TYPES[];
|
406
|
-
const PARAM_TABLE_STYLE: {
|
407
|
-
"#0062A9": {
|
408
|
-
borderTable: ENUM_COLORS;
|
409
|
-
bgColor: ENUM_COLORS;
|
410
|
-
};
|
411
|
-
"#7197CA": {
|
412
|
-
borderTable: ENUM_COLORS;
|
413
|
-
bgColor: ENUM_COLORS;
|
414
|
-
};
|
415
|
-
"#54BBBA": {
|
416
|
-
borderTable: ENUM_COLORS;
|
417
|
-
bgColor: ENUM_COLORS;
|
418
|
-
};
|
419
|
-
"#E09F25": {
|
420
|
-
borderTable: ENUM_COLORS;
|
421
|
-
bgColor: ENUM_COLORS;
|
422
|
-
};
|
423
|
-
"#FFFFFF": {
|
424
|
-
borderTable: ENUM_COLORS;
|
425
|
-
bgColor: ENUM_COLORS;
|
426
|
-
};
|
427
|
-
};
|
428
|
-
const TYPE_COMPONENT_WATER: string[];
|
429
|
-
const TYPE_TEMPLATE_WATER_NORMAL: string[];
|
430
|
-
const TYPE_TEMPLATE_WATER_WITHDRAW_OR_DISCHARGE: string[];
|
431
|
-
const TYPE_TEMPLATE_ELECTRICITY: string[];
|
432
|
-
const TYPE_TEMPLATE_NATURAL_GAS: string[];
|
433
|
-
const TYPE_TEMPLATE_FUEL: string[];
|
434
|
-
const TYPE_TEMPLATE_STEAM: string[];
|
435
|
-
const TYPE_TEMPLATE_SPECIAL: string[];
|
436
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
export declare class UtilsService {
|
3
|
-
static convertPrefixesData(data: {
|
4
|
-
value: number | string | any;
|
5
|
-
unit: string | any;
|
6
|
-
isChangeUnitKwh?: boolean;
|
7
|
-
}): {
|
8
|
-
shortenedNumber: number | string | null;
|
9
|
-
unitPrefixes: number | null | string;
|
10
|
-
};
|
11
|
-
static getDataFormatSpecialKwh(value: any, isChangeUnitKwh: any): {
|
12
|
-
shortenedNumber: string | null;
|
13
|
-
unitPrefixes: any;
|
14
|
-
};
|
15
|
-
static getDataFormatUnit(value: any, unit: string): {
|
16
|
-
shortenedNumber: string | null;
|
17
|
-
unitPrefixes: any;
|
18
|
-
};
|
19
|
-
static convertSpecialUnit(unit: string, unitPrefixes?: any): string;
|
20
|
-
static generateUUID(): string;
|
21
|
-
static replaceAll(text: any, find: any, replace: any): string;
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
|
23
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
|
24
|
-
}
|