@ubnt/store.core 9.45.0-beta.0 → 9.45.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/lib/assets/attention.svg +5 -5
  3. package/lib/assets/attention2.svg +5 -5
  4. package/lib/assets/efg.png +0 -0
  5. package/lib/assets/envr.png +0 -0
  6. package/lib/assets/ucg-max.png +0 -0
  7. package/lib/assets/ucgMax.jpg +0 -0
  8. package/lib/assets/ucgMax2.jpg +0 -0
  9. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
  10. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
  11. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
  12. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
  13. package/lib/components/ModelCompareV3/data/CloudGateways.js +3 -3
  14. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +2 -2
  15. package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
  16. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
  17. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +800 -147
  18. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
  19. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +797 -147
  20. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
  21. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +5 -2
  22. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +4 -0
  23. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
  24. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +4 -0
  25. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
  26. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +120 -34
  27. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js.map +1 -1
  28. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.mjs +120 -34
  29. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.mjs.map +1 -1
  30. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.d.ts +16 -2
  31. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js +54 -12
  32. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js.map +1 -1
  33. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs +50 -11
  34. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs.map +1 -1
  35. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/assets/ArrowLeftPrimary.svg.js +5 -5
  36. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/assets/ArrowRightPrimary.svg.js +5 -5
  37. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
  38. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  39. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
  40. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
  41. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
  42. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
  43. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
  44. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
  45. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +1 -1
  46. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js.map +1 -1
  47. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs +1 -1
  48. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs.map +1 -1
  49. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js +27 -0
  50. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js.map +1 -0
  51. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs +3 -0
  52. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs.map +1 -0
  53. package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.js +27 -0
  54. package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.js.map +1 -0
  55. package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.mjs +3 -0
  56. package/lib/components/ResourceCalculatorV1/assets/consoles/envr.png.mjs.map +1 -0
  57. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js +27 -0
  58. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js.map +1 -0
  59. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs +3 -0
  60. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs.map +1 -0
  61. package/lib/components/ResourceCalculatorV1/translations/en.json.js +9 -5
  62. package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
  63. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +9 -5
  64. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
  65. package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
  66. package/lib/constants/icons/options/colors/black.svg.js +5 -5
  67. package/lib/constants/icons/options/colors/index.js +3 -3
  68. package/lib/constants/icons/options/styles/black.svg.js +5 -5
  69. package/lib/constants/icons/options/styles/index.js +3 -3
  70. package/lib/constants/optionIcons.js +6 -6
  71. package/lib/constants/optionIcons.mjs +4 -4
  72. package/package.json +1 -1
@@ -1,5 +1,8 @@
1
1
  'use strict';
2
2
 
3
+ require('../assets/consoles/efg.png.js');
4
+ require('../assets/consoles/envr.png.js');
5
+ require('../assets/consoles/ucg-max.png.js');
3
6
  require('../assets/consoles/udm-pro-max.png.js');
4
7
  require('../assets/consoles/udm-pro.png.js');
5
8
  require('../assets/consoles/udr.png.js');
@@ -8,6 +11,8 @@ require('../assets/consoles/unifi-cloudkey-plus.png.js');
8
11
  require('../assets/consoles/unvr-pro.png.js');
9
12
  require('../assets/consoles/unvr.png.js');
10
13
  var ComputeResourceCalculator_types = require('./ComputeResourceCalculator.types.js');
14
+ var efg = require("../../../assets/efg.png");
15
+ var ucgMax = require("../../../assets/ucg-max.png");
11
16
  var udmProMax = require("../../../assets/udm-pro-max.png");
12
17
  var udmPro = require("../../../assets/udm-pro.png");
13
18
  var unvr = require("../../../assets/unvr.png");
@@ -15,11 +20,14 @@ var unvrPro = require("../../../assets/unvr-pro.png");
15
20
  var ckg2 = require("../../../assets/unifi-cloudkey-plus.png");
16
21
  var udw = require("../../../assets/udw.png");
17
22
  var udr = require("../../../assets/udr.png");
23
+ var envr = require("../../../assets/envr.png");
18
24
  function _interopDefault(e) {
19
25
  return e && e.__esModule ? e : {
20
26
  default: e
21
27
  };
22
28
  }
29
+ var efg__default = /*#__PURE__*/_interopDefault(efg);
30
+ var ucgMax__default = /*#__PURE__*/_interopDefault(ucgMax);
23
31
  var udmProMax__default = /*#__PURE__*/_interopDefault(udmProMax);
24
32
  var udmPro__default = /*#__PURE__*/_interopDefault(udmPro);
25
33
  var unvr__default = /*#__PURE__*/_interopDefault(unvr);
@@ -27,90 +35,171 @@ var unvrPro__default = /*#__PURE__*/_interopDefault(unvrPro);
27
35
  var ckg2__default = /*#__PURE__*/_interopDefault(ckg2);
28
36
  var udw__default = /*#__PURE__*/_interopDefault(udw);
29
37
  var udr__default = /*#__PURE__*/_interopDefault(udr);
38
+ var envr__default = /*#__PURE__*/_interopDefault(envr);
30
39
  "use strict";
31
- const DEVICES = [{
32
- id: ComputeResourceCalculator_types.DeviceId.UDMProMax,
33
- sku: ["udm-pro-max"],
34
- title: "device.UDM Pro Max",
40
+ const DEVICES = [
41
+ // EFG
42
+ {
43
+ id: ComputeResourceCalculator_types.DeviceId.EFG,
44
+ sku: ["efg"],
45
+ title: "device.EFG",
35
46
  img: {
36
- src: udmProMax__default["default"],
47
+ src: efg__default["default"],
48
+ width: 68,
49
+ height: 68
50
+ },
51
+ settings: {
52
+ defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Network]
53
+ },
54
+ loadData: {
55
+ Network: {
56
+ enableFeature: {
57
+ cpu: {
58
+ value: 0.015,
59
+ weight: 0.9
60
+ },
61
+ memory: {
62
+ value: 0.49,
63
+ weight: 0.1
64
+ }
65
+ },
66
+ accessPoint: {
67
+ max: 500,
68
+ data: {
69
+ cpu: {
70
+ value: 12e-4,
71
+ weight: 0.9
72
+ },
73
+ memory: {
74
+ value: 0,
75
+ weight: 0.1
76
+ }
77
+ }
78
+ },
79
+ vpn: {
80
+ cpu: {
81
+ value: 3e-4,
82
+ weight: 0.9
83
+ },
84
+ memory: {
85
+ value: 5e-4,
86
+ weight: 0.1
87
+ }
88
+ },
89
+ securityDetection: {
90
+ cpu: {
91
+ value: 0.0315,
92
+ weight: 0.9
93
+ },
94
+ memory: {
95
+ value: 0.044,
96
+ weight: 0.1
97
+ }
98
+ },
99
+ adBlocking: {
100
+ cpu: {
101
+ value: 9e-4,
102
+ weight: 0.9
103
+ },
104
+ memory: {
105
+ value: 35e-4,
106
+ weight: 0.1
107
+ }
108
+ },
109
+ qos: {
110
+ cpu: {
111
+ value: 14e-4,
112
+ weight: 0.9
113
+ },
114
+ memory: {
115
+ value: 0,
116
+ weight: 0.1
117
+ }
118
+ }
119
+ }
120
+ }
121
+ },
122
+ // UCG Max
123
+ {
124
+ id: ComputeResourceCalculator_types.DeviceId.UcgMax,
125
+ sku: ["ucg-max"],
126
+ title: "device.UCG Max",
127
+ img: {
128
+ src: ucgMax__default["default"],
37
129
  width: 68,
38
130
  height: 68
39
131
  },
40
132
  settings: {
41
- defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Network],
42
133
  forcedFeatures: [ComputeResourceCalculator_types.FeatureId.Network],
134
+ defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Network],
43
135
  hdd: {
44
136
  max: 1,
45
- parityDisks: 0
137
+ parityDisks: 0,
138
+ gigabyteOptions: [512, 1e3, 2e3]
46
139
  }
47
140
  },
48
141
  loadData: {
49
142
  Network: {
50
143
  enableFeature: {
51
144
  cpu: {
52
- value: 0.0512,
145
+ value: 0.015,
53
146
  weight: 0.9
54
147
  },
55
148
  memory: {
56
- value: 0.0478,
149
+ value: 0.49,
57
150
  weight: 0.1
58
151
  }
59
152
  },
60
153
  accessPoint: {
61
- max: 150,
154
+ max: 30,
62
155
  data: {
63
156
  cpu: {
64
- // Real value is -> 0.0061
65
- // As per discussion https://ui.slack.com/archives/C02JG0GKYC8/p1713773517562779 we made cpu value smaller for now,
66
- // so that max devices (200) will not show overload.
67
- value: 47e-4,
157
+ value: 61e-4,
68
158
  weight: 0.9
69
159
  },
70
160
  memory: {
71
- value: 0,
161
+ value: 0.016,
72
162
  weight: 0.1
73
163
  }
74
164
  }
75
165
  },
76
166
  vpn: {
77
167
  cpu: {
78
- value: 12e-4,
168
+ value: 0,
79
169
  weight: 0.9
80
170
  },
81
171
  memory: {
82
- value: 5e-4,
172
+ value: 1e-3,
83
173
  weight: 0.1
84
174
  }
85
175
  },
86
- threatManagementLoad: 0.1375,
87
176
  securityDetection: {
88
177
  cpu: {
89
- value: 17e-4,
178
+ value: 0.4008,
90
179
  weight: 0.9
91
180
  },
92
181
  memory: {
93
- value: 0,
182
+ value: 0.1515,
94
183
  weight: 0.1
95
184
  }
96
185
  },
97
186
  adBlocking: {
98
187
  cpu: {
99
- value: 22e-4,
188
+ value: 0.0132,
100
189
  weight: 0.9
101
190
  },
102
191
  memory: {
103
- value: 4e-3,
192
+ value: 0,
104
193
  weight: 0.1
105
194
  }
106
195
  },
107
196
  qos: {
108
197
  cpu: {
109
- value: 5e-3,
198
+ value: 0.0173,
110
199
  weight: 0.9
111
200
  },
112
201
  memory: {
113
- value: 0,
202
+ value: 0.0255,
114
203
  weight: 0.1
115
204
  }
116
205
  }
@@ -118,17 +207,17 @@ const DEVICES = [{
118
207
  Protect: {
119
208
  enableFeature: {
120
209
  cpu: {
121
- value: 0.0752,
210
+ value: 0.1,
122
211
  weight: 0.9
123
212
  },
124
213
  memory: {
125
- value: 0.1244,
214
+ value: 0.2809,
126
215
  weight: 0.1
127
216
  }
128
217
  },
129
218
  playback: {
130
219
  cpu: {
131
- value: 0.2278,
220
+ value: 0,
132
221
  weight: 0.9
133
222
  },
134
223
  memory: {
@@ -147,40 +236,40 @@ const DEVICES = [{
147
236
  }
148
237
  },
149
238
  cameraHd: {
150
- max: 50,
239
+ max: 15,
151
240
  data: {
152
241
  cpu: {
153
- value: 8e-3,
154
- weight: 0.73
242
+ value: 0.0106,
243
+ weight: 0.9
155
244
  },
156
245
  memory: {
157
- value: 5e-4,
246
+ value: 3e-4,
158
247
  weight: 0.1
159
248
  }
160
249
  }
161
250
  },
162
251
  camera2k: {
163
- max: 25,
252
+ max: 8,
164
253
  data: {
165
254
  cpu: {
166
- value: 0.02,
167
- weight: 0.73
255
+ value: 0.0211,
256
+ weight: 0.9
168
257
  },
169
258
  memory: {
170
- value: 7e-4,
259
+ value: 6e-4,
171
260
  weight: 0.1
172
261
  }
173
262
  }
174
263
  },
175
264
  camera4k: {
176
- max: 15,
265
+ max: 5,
177
266
  data: {
178
267
  cpu: {
179
- value: 0.026,
180
- weight: 0.73
268
+ value: 0.03,
269
+ weight: 0.9
181
270
  },
182
271
  memory: {
183
- value: 4e-4,
272
+ value: 14e-4,
184
273
  weight: 0.1
185
274
  }
186
275
  }
@@ -189,11 +278,11 @@ const DEVICES = [{
189
278
  Access: {
190
279
  enableFeature: {
191
280
  cpu: {
192
- value: 0.0118,
281
+ value: 75e-4,
193
282
  weight: 0.5
194
283
  },
195
284
  memory: {
196
- value: 0.021,
285
+ value: 63e-4,
197
286
  weight: 0.5
198
287
  }
199
288
  },
@@ -201,11 +290,11 @@ const DEVICES = [{
201
290
  max: 100,
202
291
  data: {
203
292
  cpu: {
204
- value: 5e-4,
293
+ value: 5e-3,
205
294
  weight: 0.5
206
295
  },
207
296
  memory: {
208
- value: 14e-4,
297
+ value: 0.0189,
209
298
  weight: 0.5
210
299
  }
211
300
  }
@@ -226,9 +315,7 @@ const DEVICES = [{
226
315
  max: 100,
227
316
  data: {
228
317
  cpu: {
229
- // Value in data table is -> 0.013, but we changed to 0.006 as it is on UDM Pro
230
- // https://ui.slack.com/archives/C02JG0GKYC8/p1713877753539639?thread_ts=1713854371.003389&cid=C02JG0GKYC8
231
- value: 6e-3,
318
+ value: 0.013,
232
319
  weight: 0.5
233
320
  },
234
321
  memory: {
@@ -249,12 +336,14 @@ const DEVICES = [{
249
336
  }
250
337
  }
251
338
  }
252
- }, {
253
- id: ComputeResourceCalculator_types.DeviceId.UdmProUdmSe,
254
- sku: ["udm-pro", "udm-se"],
255
- title: "device.UDM Pro / SE",
339
+ },
340
+ // UDM Pro Max
341
+ {
342
+ id: ComputeResourceCalculator_types.DeviceId.UDMProMax,
343
+ sku: ["udm-pro-max"],
344
+ title: "device.UDM Pro Max",
256
345
  img: {
257
- src: udmPro__default["default"],
346
+ src: udmProMax__default["default"],
258
347
  width: 68,
259
348
  height: 68
260
349
  },
@@ -270,106 +359,108 @@ const DEVICES = [{
270
359
  Network: {
271
360
  enableFeature: {
272
361
  cpu: {
273
- value: 0.04,
274
- weight: 0.7
362
+ value: 0.0512,
363
+ weight: 0.9
275
364
  },
276
365
  memory: {
277
- value: 0.2364,
278
- weight: 0.3
366
+ value: 0.0478,
367
+ weight: 0.1
279
368
  }
280
369
  },
281
370
  accessPoint: {
282
- max: 75,
371
+ max: 150,
283
372
  data: {
284
373
  cpu: {
285
- value: 65e-4,
286
- weight: 0.7
374
+ // Real value is -> 0.0061
375
+ // As per discussion https://ui.slack.com/archives/C02JG0GKYC8/p1713773517562779 we made cpu value smaller for now,
376
+ // so that max devices (200) will not show overload.
377
+ value: 47e-4,
378
+ weight: 0.9
287
379
  },
288
380
  memory: {
289
381
  value: 0,
290
- weight: 0.3
382
+ weight: 0.1
291
383
  }
292
384
  }
293
385
  },
294
386
  vpn: {
295
387
  cpu: {
296
- value: 15e-4,
297
- weight: 0.7
388
+ value: 12e-4,
389
+ weight: 0.9
298
390
  },
299
391
  memory: {
300
392
  value: 5e-4,
301
- weight: 0.3
393
+ weight: 0.1
302
394
  }
303
395
  },
304
- threatManagementLoad: 0.1161,
305
396
  securityDetection: {
306
397
  cpu: {
307
- value: 7e-4,
308
- weight: 0.7
398
+ value: 0.1204,
399
+ weight: 0.9
309
400
  },
310
401
  memory: {
311
- value: 0,
312
- weight: 0.3
402
+ value: 0.0861,
403
+ weight: 0.1
313
404
  }
314
405
  },
315
406
  adBlocking: {
316
407
  cpu: {
317
- value: 5e-3,
318
- weight: 0.7
408
+ value: 22e-4,
409
+ weight: 0.9
319
410
  },
320
411
  memory: {
321
- value: 0.01,
322
- weight: 0.3
412
+ value: 4e-3,
413
+ weight: 0.1
323
414
  }
324
415
  },
325
416
  qos: {
326
417
  cpu: {
327
- value: 75e-4,
328
- weight: 0.7
418
+ value: 5e-3,
419
+ weight: 0.9
329
420
  },
330
421
  memory: {
331
422
  value: 0,
332
- weight: 0.3
423
+ weight: 0.1
333
424
  }
334
425
  }
335
426
  },
336
427
  Protect: {
337
428
  enableFeature: {
338
429
  cpu: {
339
- value: 0.18,
340
- weight: 0.7
430
+ value: 0.0752,
431
+ weight: 0.9
341
432
  },
342
433
  memory: {
343
- value: 0.317,
344
- weight: 0.3
434
+ value: 0.1244,
435
+ weight: 0.1
345
436
  }
346
437
  },
347
438
  playback: {
348
439
  cpu: {
349
- value: 0.2,
350
- weight: 0.7
440
+ value: 0.2278,
441
+ weight: 0.9
351
442
  },
352
443
  memory: {
353
444
  value: 0,
354
- weight: 0.3
445
+ weight: 0.1
355
446
  }
356
447
  },
357
448
  liveView: {
358
449
  cpu: {
359
- value: 0.24,
360
- weight: 0.7
450
+ value: 0,
451
+ weight: 0.9
361
452
  },
362
453
  memory: {
363
- value: 0.044,
364
- weight: 0.3
454
+ value: 0,
455
+ weight: 0.1
365
456
  }
366
457
  },
367
458
  cameraHd: {
368
- max: 24,
459
+ max: 50,
369
460
  data: {
370
461
  cpu: {
371
462
  value: 8e-3,
372
- weight: 0.73
463
+ weight: 0.9
373
464
  },
374
465
  memory: {
375
466
  value: 5e-4,
@@ -378,27 +469,27 @@ const DEVICES = [{
378
469
  }
379
470
  },
380
471
  camera2k: {
381
- max: 14,
472
+ max: 25,
382
473
  data: {
383
474
  cpu: {
384
475
  value: 0.02,
385
- weight: 0.73
476
+ weight: 0.9
386
477
  },
387
478
  memory: {
388
- value: 5e-4,
479
+ value: 7e-4,
389
480
  weight: 0.1
390
481
  }
391
482
  }
392
483
  },
393
484
  camera4k: {
394
- max: 8,
485
+ max: 15,
395
486
  data: {
396
487
  cpu: {
397
488
  value: 0.026,
398
- weight: 0.73
489
+ weight: 0.9
399
490
  },
400
491
  memory: {
401
- value: 1e-3,
492
+ value: 4e-4,
402
493
  weight: 0.1
403
494
  }
404
495
  }
@@ -407,11 +498,11 @@ const DEVICES = [{
407
498
  Access: {
408
499
  enableFeature: {
409
500
  cpu: {
410
- value: 5e-3,
501
+ value: 0.0118,
411
502
  weight: 0.5
412
503
  },
413
504
  memory: {
414
- value: 0.0475,
505
+ value: 0.021,
415
506
  weight: 0.5
416
507
  }
417
508
  },
@@ -423,7 +514,7 @@ const DEVICES = [{
423
514
  weight: 0.5
424
515
  },
425
516
  memory: {
426
- value: 31e-4,
517
+ value: 14e-4,
427
518
  weight: 0.5
428
519
  }
429
520
  }
@@ -432,11 +523,11 @@ const DEVICES = [{
432
523
  Talk: {
433
524
  enableFeature: {
434
525
  cpu: {
435
- value: 0.01,
526
+ value: 8e-3,
436
527
  weight: 0.5
437
528
  },
438
529
  memory: {
439
- value: 0.058,
530
+ value: 0.0254,
440
531
  weight: 0.5
441
532
  }
442
533
  },
@@ -444,18 +535,20 @@ const DEVICES = [{
444
535
  max: 100,
445
536
  data: {
446
537
  cpu: {
538
+ // Value in data table is -> 0.013, but we changed to 0.006 as it is on UDM Pro
539
+ // https://ui.slack.com/archives/C02JG0GKYC8/p1713877753539639?thread_ts=1713854371.003389&cid=C02JG0GKYC8
447
540
  value: 6e-3,
448
541
  weight: 0.5
449
542
  },
450
543
  memory: {
451
- value: 1e-3,
544
+ value: 6e-4,
452
545
  weight: 0.5
453
546
  }
454
547
  }
455
548
  },
456
549
  record: {
457
550
  cpu: {
458
- value: 3e-3,
551
+ value: 2e-4,
459
552
  weight: 0.5
460
553
  },
461
554
  memory: {
@@ -465,38 +558,257 @@ const DEVICES = [{
465
558
  }
466
559
  }
467
560
  }
468
- }, {
469
- id: ComputeResourceCalculator_types.DeviceId.Unvr,
470
- sku: ["unvr"],
471
- title: "device.UNVR",
561
+ },
562
+ // UDM Pro SE
563
+ {
564
+ id: ComputeResourceCalculator_types.DeviceId.UdmProUdmSe,
565
+ sku: ["udm-pro", "udm-se"],
566
+ title: "device.UDM Pro / SE",
472
567
  img: {
473
- src: unvr__default["default"],
568
+ src: udmPro__default["default"],
474
569
  width: 68,
475
570
  height: 68
476
571
  },
477
572
  settings: {
478
- defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Protect],
479
- forcedFeatures: [ComputeResourceCalculator_types.FeatureId.Protect],
573
+ defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Network],
574
+ forcedFeatures: [ComputeResourceCalculator_types.FeatureId.Network],
480
575
  hdd: {
481
- max: 4,
482
- parityDisks: 1
576
+ max: 1,
577
+ parityDisks: 0
483
578
  }
484
579
  },
485
580
  loadData: {
486
- Protect: {
581
+ Network: {
487
582
  enableFeature: {
488
583
  cpu: {
489
- value: 0.0558,
490
- weight: 0.8
584
+ value: 0.04,
585
+ weight: 0.7
491
586
  },
492
587
  memory: {
493
- value: 0.117,
494
- weight: 0.2
588
+ value: 0.2364,
589
+ weight: 0.3
495
590
  }
496
591
  },
497
- playback: {
498
- cpu: {
499
- value: 0.15,
592
+ accessPoint: {
593
+ max: 75,
594
+ data: {
595
+ cpu: {
596
+ value: 65e-4,
597
+ weight: 0.7
598
+ },
599
+ memory: {
600
+ value: 0,
601
+ weight: 0.3
602
+ }
603
+ }
604
+ },
605
+ vpn: {
606
+ cpu: {
607
+ value: 15e-4,
608
+ weight: 0.7
609
+ },
610
+ memory: {
611
+ value: 5e-4,
612
+ weight: 0.3
613
+ }
614
+ },
615
+ securityDetection: {
616
+ cpu: {
617
+ value: 0.1668,
618
+ weight: 0.7
619
+ },
620
+ memory: {
621
+ value: 0.118,
622
+ weight: 0.3
623
+ }
624
+ },
625
+ adBlocking: {
626
+ cpu: {
627
+ value: 5e-3,
628
+ weight: 0.7
629
+ },
630
+ memory: {
631
+ value: 0.01,
632
+ weight: 0.3
633
+ }
634
+ },
635
+ qos: {
636
+ cpu: {
637
+ value: 75e-4,
638
+ weight: 0.7
639
+ },
640
+ memory: {
641
+ value: 0,
642
+ weight: 0.3
643
+ }
644
+ }
645
+ },
646
+ Protect: {
647
+ enableFeature: {
648
+ cpu: {
649
+ value: 0.18,
650
+ weight: 0.7
651
+ },
652
+ memory: {
653
+ value: 0.317,
654
+ weight: 0.3
655
+ }
656
+ },
657
+ playback: {
658
+ cpu: {
659
+ value: 0.2,
660
+ weight: 0.7
661
+ },
662
+ memory: {
663
+ value: 0,
664
+ weight: 0.3
665
+ }
666
+ },
667
+ liveView: {
668
+ cpu: {
669
+ value: 0.24,
670
+ weight: 0.7
671
+ },
672
+ memory: {
673
+ value: 0.044,
674
+ weight: 0.3
675
+ }
676
+ },
677
+ cameraHd: {
678
+ max: 24,
679
+ data: {
680
+ cpu: {
681
+ value: 8e-3,
682
+ weight: 0.9
683
+ },
684
+ memory: {
685
+ value: 5e-4,
686
+ weight: 0.1
687
+ }
688
+ }
689
+ },
690
+ camera2k: {
691
+ max: 14,
692
+ data: {
693
+ cpu: {
694
+ value: 0.02,
695
+ weight: 0.9
696
+ },
697
+ memory: {
698
+ value: 5e-4,
699
+ weight: 0.1
700
+ }
701
+ }
702
+ },
703
+ camera4k: {
704
+ max: 8,
705
+ data: {
706
+ cpu: {
707
+ value: 0.026,
708
+ weight: 0.9
709
+ },
710
+ memory: {
711
+ value: 1e-3,
712
+ weight: 0.1
713
+ }
714
+ }
715
+ }
716
+ },
717
+ Access: {
718
+ enableFeature: {
719
+ cpu: {
720
+ value: 5e-3,
721
+ weight: 0.5
722
+ },
723
+ memory: {
724
+ value: 0.0475,
725
+ weight: 0.5
726
+ }
727
+ },
728
+ door: {
729
+ max: 100,
730
+ data: {
731
+ cpu: {
732
+ value: 5e-4,
733
+ weight: 0.5
734
+ },
735
+ memory: {
736
+ value: 31e-4,
737
+ weight: 0.5
738
+ }
739
+ }
740
+ }
741
+ },
742
+ Talk: {
743
+ enableFeature: {
744
+ cpu: {
745
+ value: 0.01,
746
+ weight: 0.5
747
+ },
748
+ memory: {
749
+ value: 0.058,
750
+ weight: 0.5
751
+ }
752
+ },
753
+ phone: {
754
+ max: 100,
755
+ data: {
756
+ cpu: {
757
+ value: 6e-3,
758
+ weight: 0.5
759
+ },
760
+ memory: {
761
+ value: 1e-3,
762
+ weight: 0.5
763
+ }
764
+ }
765
+ },
766
+ record: {
767
+ cpu: {
768
+ value: 3e-3,
769
+ weight: 0.5
770
+ },
771
+ memory: {
772
+ value: 5e-4,
773
+ weight: 0.5
774
+ }
775
+ }
776
+ }
777
+ }
778
+ },
779
+ // UNVR
780
+ {
781
+ id: ComputeResourceCalculator_types.DeviceId.Unvr,
782
+ sku: ["unvr"],
783
+ title: "device.UNVR",
784
+ img: {
785
+ src: unvr__default["default"],
786
+ width: 68,
787
+ height: 68
788
+ },
789
+ settings: {
790
+ defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Protect],
791
+ forcedFeatures: [ComputeResourceCalculator_types.FeatureId.Protect],
792
+ hdd: {
793
+ max: 4,
794
+ parityDisks: 1
795
+ }
796
+ },
797
+ loadData: {
798
+ Protect: {
799
+ enableFeature: {
800
+ cpu: {
801
+ value: 0.0558,
802
+ weight: 0.8
803
+ },
804
+ memory: {
805
+ value: 0.117,
806
+ weight: 0.2
807
+ }
808
+ },
809
+ playback: {
810
+ cpu: {
811
+ value: 0.15,
500
812
  weight: 0.8
501
813
  },
502
814
  memory: {
@@ -519,7 +831,7 @@ const DEVICES = [{
519
831
  data: {
520
832
  cpu: {
521
833
  value: 76e-4,
522
- weight: 0.73
834
+ weight: 0.9
523
835
  },
524
836
  memory: {
525
837
  value: 3e-4,
@@ -532,7 +844,7 @@ const DEVICES = [{
532
844
  data: {
533
845
  cpu: {
534
846
  value: 0.0183,
535
- weight: 0.73
847
+ weight: 0.9
536
848
  },
537
849
  memory: {
538
850
  value: 5e-4,
@@ -545,7 +857,7 @@ const DEVICES = [{
545
857
  data: {
546
858
  cpu: {
547
859
  value: 0.0239,
548
- weight: 0.73
860
+ weight: 0.9
549
861
  },
550
862
  memory: {
551
863
  value: 6e-4,
@@ -580,7 +892,9 @@ const DEVICES = [{
580
892
  }
581
893
  }
582
894
  }
583
- }, {
895
+ },
896
+ // UNVR Pro
897
+ {
584
898
  id: ComputeResourceCalculator_types.DeviceId.UnvrPro,
585
899
  sku: ["unvr-pro"],
586
900
  title: "device.UNVR Pro",
@@ -634,7 +948,7 @@ const DEVICES = [{
634
948
  data: {
635
949
  cpu: {
636
950
  value: 76e-4,
637
- weight: 0.73
951
+ weight: 0.9
638
952
  },
639
953
  memory: {
640
954
  value: 2e-4,
@@ -647,7 +961,7 @@ const DEVICES = [{
647
961
  data: {
648
962
  cpu: {
649
963
  value: 0.0186,
650
- weight: 0.73
964
+ weight: 0.9
651
965
  },
652
966
  memory: {
653
967
  value: 4e-4,
@@ -660,7 +974,7 @@ const DEVICES = [{
660
974
  data: {
661
975
  cpu: {
662
976
  value: 0.0238,
663
- weight: 0.73
977
+ weight: 0.9
664
978
  },
665
979
  memory: {
666
980
  value: 4e-4,
@@ -695,7 +1009,9 @@ const DEVICES = [{
695
1009
  }
696
1010
  }
697
1011
  }
698
- }, {
1012
+ },
1013
+ // Cloud Key G2 Plus
1014
+ {
699
1015
  id: ComputeResourceCalculator_types.DeviceId.CkG2Plus,
700
1016
  sku: ["uck-g2-plus"],
701
1017
  title: "device.CloudKey+",
@@ -708,8 +1024,8 @@ const DEVICES = [{
708
1024
  defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Network],
709
1025
  hdd: {
710
1026
  max: 1,
711
- parityDisks: 0,
712
- gigabyteOptions: [1e3]
1027
+ gigabyteOptions: [1e3],
1028
+ parityDisks: 0
713
1029
  },
714
1030
  maxReducer: {
715
1031
  enabledFeaturesTrigger: 2,
@@ -757,14 +1073,13 @@ const DEVICES = [{
757
1073
  weight: 0.4
758
1074
  }
759
1075
  },
760
- threatManagementLoad: 0.032,
761
1076
  securityDetection: {
762
1077
  cpu: {
763
- value: 3e-3,
1078
+ value: 51e-4,
764
1079
  weight: 0.6
765
1080
  },
766
1081
  memory: {
767
- value: 0,
1082
+ value: 51e-4,
768
1083
  weight: 0.4
769
1084
  }
770
1085
  },
@@ -825,7 +1140,7 @@ const DEVICES = [{
825
1140
  data: {
826
1141
  cpu: {
827
1142
  value: 0.019,
828
- weight: 0.73
1143
+ weight: 0.9
829
1144
  },
830
1145
  memory: {
831
1146
  value: 3e-4,
@@ -838,7 +1153,7 @@ const DEVICES = [{
838
1153
  data: {
839
1154
  cpu: {
840
1155
  value: 0.025,
841
- weight: 0.73
1156
+ weight: 0.9
842
1157
  },
843
1158
  memory: {
844
1159
  value: 7e-4,
@@ -851,7 +1166,7 @@ const DEVICES = [{
851
1166
  data: {
852
1167
  cpu: {
853
1168
  value: 0.031,
854
- weight: 0.73
1169
+ weight: 0.9
855
1170
  },
856
1171
  memory: {
857
1172
  value: 1e-3,
@@ -921,7 +1236,9 @@ const DEVICES = [{
921
1236
  }
922
1237
  }
923
1238
  }
924
- }, {
1239
+ },
1240
+ // UDW
1241
+ {
925
1242
  id: ComputeResourceCalculator_types.DeviceId.DreamWall,
926
1243
  sku: ["udw"],
927
1244
  title: "device.UDW",
@@ -969,14 +1286,13 @@ const DEVICES = [{
969
1286
  weight: 0.3
970
1287
  }
971
1288
  },
972
- threatManagementLoad: 0.1215,
973
1289
  securityDetection: {
974
1290
  cpu: {
975
- value: 1e-3,
1291
+ value: 0.1507,
976
1292
  weight: 0.7
977
1293
  },
978
1294
  memory: {
979
- value: 0,
1295
+ value: 0.1347,
980
1296
  weight: 0.3
981
1297
  }
982
1298
  },
@@ -1037,7 +1353,7 @@ const DEVICES = [{
1037
1353
  data: {
1038
1354
  cpu: {
1039
1355
  value: 8e-3,
1040
- weight: 0.73
1356
+ weight: 0.9
1041
1357
  },
1042
1358
  memory: {
1043
1359
  value: 4e-4,
@@ -1050,7 +1366,7 @@ const DEVICES = [{
1050
1366
  data: {
1051
1367
  cpu: {
1052
1368
  value: 0.02,
1053
- weight: 0.73
1369
+ weight: 0.9
1054
1370
  },
1055
1371
  memory: {
1056
1372
  value: 5e-4,
@@ -1063,7 +1379,7 @@ const DEVICES = [{
1063
1379
  data: {
1064
1380
  cpu: {
1065
1381
  value: 0.026,
1066
- weight: 0.73
1382
+ weight: 0.9
1067
1383
  },
1068
1384
  memory: {
1069
1385
  value: 6e-4,
@@ -1133,7 +1449,9 @@ const DEVICES = [{
1133
1449
  }
1134
1450
  }
1135
1451
  }
1136
- }, {
1452
+ },
1453
+ // UDR
1454
+ {
1137
1455
  id: ComputeResourceCalculator_types.DeviceId.Udr,
1138
1456
  sku: ["udr"],
1139
1457
  title: "device.UDR",
@@ -1182,14 +1500,13 @@ const DEVICES = [{
1182
1500
  weight: 0.5
1183
1501
  }
1184
1502
  },
1185
- threatManagementLoad: 0.1682,
1186
1503
  securityDetection: {
1187
1504
  cpu: {
1188
- value: 0.0254,
1505
+ value: 0.2754,
1189
1506
  weight: 0.5
1190
1507
  },
1191
1508
  memory: {
1192
- value: 0,
1509
+ value: 0.1583,
1193
1510
  weight: 0.5
1194
1511
  }
1195
1512
  },
@@ -1250,7 +1567,7 @@ const DEVICES = [{
1250
1567
  data: {
1251
1568
  cpu: {
1252
1569
  value: 0.071,
1253
- weight: 0.73
1570
+ weight: 0.9
1254
1571
  },
1255
1572
  memory: {
1256
1573
  value: 3e-4,
@@ -1263,7 +1580,7 @@ const DEVICES = [{
1263
1580
  data: {
1264
1581
  cpu: {
1265
1582
  value: 0.093,
1266
- weight: 0.73
1583
+ weight: 0.9
1267
1584
  },
1268
1585
  memory: {
1269
1586
  value: 7e-4,
@@ -1276,7 +1593,7 @@ const DEVICES = [{
1276
1593
  data: {
1277
1594
  cpu: {
1278
1595
  value: 0.114,
1279
- weight: 0.73
1596
+ weight: 0.9
1280
1597
  },
1281
1598
  memory: {
1282
1599
  value: 1e-3,
@@ -1346,6 +1663,342 @@ const DEVICES = [{
1346
1663
  }
1347
1664
  }
1348
1665
  }
1666
+ },
1667
+ // UDR7 // TODO -- missing sku, title, image, max values for doors & APs
1668
+ {
1669
+ id: ComputeResourceCalculator_types.DeviceId.Udr7,
1670
+ sku: ["udr7"],
1671
+ title: "device.UDR7",
1672
+ img: {
1673
+ src: udr__default["default"],
1674
+ width: 68,
1675
+ height: 68
1676
+ },
1677
+ settings: {
1678
+ defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Network],
1679
+ forcedFeatures: [ComputeResourceCalculator_types.FeatureId.Network],
1680
+ maxFeatures: 3
1681
+ },
1682
+ loadData: {
1683
+ Network: {
1684
+ enableFeature: {
1685
+ cpu: {
1686
+ value: 0.0827,
1687
+ weight: 0.5
1688
+ },
1689
+ memory: {
1690
+ value: 0.2369,
1691
+ weight: 0.5
1692
+ }
1693
+ },
1694
+ accessPoint: {
1695
+ max: 15,
1696
+ data: {
1697
+ cpu: {
1698
+ value: 0.1114,
1699
+ weight: 0.5
1700
+ },
1701
+ memory: {
1702
+ value: 0.0326,
1703
+ weight: 0.5
1704
+ }
1705
+ }
1706
+ },
1707
+ vpn: {
1708
+ cpu: {
1709
+ value: 0.0414,
1710
+ weight: 0.5
1711
+ },
1712
+ memory: {
1713
+ value: 0,
1714
+ weight: 0.5
1715
+ }
1716
+ },
1717
+ securityDetection: {
1718
+ cpu: {
1719
+ value: 0.1512,
1720
+ weight: 0.5
1721
+ },
1722
+ memory: {
1723
+ value: 0.1831,
1724
+ weight: 0.5
1725
+ }
1726
+ },
1727
+ adBlocking: {
1728
+ cpu: {
1729
+ value: 69e-4,
1730
+ weight: 0.5
1731
+ },
1732
+ memory: {
1733
+ value: 0,
1734
+ weight: 0.5
1735
+ }
1736
+ },
1737
+ qos: {
1738
+ cpu: {
1739
+ value: 0.0452,
1740
+ weight: 0.5
1741
+ },
1742
+ memory: {
1743
+ value: 0.031,
1744
+ weight: 0.5
1745
+ }
1746
+ }
1747
+ },
1748
+ Protect: {
1749
+ enableFeature: {
1750
+ cpu: {
1751
+ value: 0.0331,
1752
+ weight: 0.5
1753
+ },
1754
+ memory: {
1755
+ value: 0.1062,
1756
+ weight: 0.5
1757
+ }
1758
+ },
1759
+ playback: {
1760
+ cpu: {
1761
+ value: 0.13,
1762
+ weight: 0.5
1763
+ },
1764
+ memory: {
1765
+ value: 0.0413,
1766
+ weight: 0.5
1767
+ }
1768
+ },
1769
+ liveView: {
1770
+ cpu: {
1771
+ value: 0.1227,
1772
+ weight: 0.5
1773
+ },
1774
+ memory: {
1775
+ value: 0.0391,
1776
+ weight: 0.5
1777
+ }
1778
+ },
1779
+ cameraHd: {
1780
+ max: 5,
1781
+ data: {
1782
+ cpu: {
1783
+ value: 0.0234,
1784
+ weight: 0.9
1785
+ },
1786
+ memory: {
1787
+ value: 0.022,
1788
+ weight: 0.1
1789
+ }
1790
+ }
1791
+ },
1792
+ camera2k: {
1793
+ max: 2,
1794
+ data: {
1795
+ cpu: {
1796
+ value: 0.0397,
1797
+ weight: 0.9
1798
+ },
1799
+ memory: {
1800
+ value: 0.0401,
1801
+ weight: 0.1
1802
+ }
1803
+ }
1804
+ },
1805
+ camera4k: {
1806
+ max: 1,
1807
+ data: {
1808
+ cpu: {
1809
+ value: 0.0476,
1810
+ weight: 0.9
1811
+ },
1812
+ memory: {
1813
+ value: 0.017,
1814
+ weight: 0.1
1815
+ }
1816
+ }
1817
+ }
1818
+ },
1819
+ Access: {
1820
+ enableFeature: {
1821
+ cpu: {
1822
+ value: 0.0114,
1823
+ weight: 0.5
1824
+ },
1825
+ memory: {
1826
+ value: 0.0198,
1827
+ weight: 0.5
1828
+ }
1829
+ },
1830
+ door: {
1831
+ max: 100,
1832
+ data: {
1833
+ cpu: {
1834
+ value: 0,
1835
+ weight: 0.5
1836
+ },
1837
+ memory: {
1838
+ value: 0.018,
1839
+ weight: 0.5
1840
+ }
1841
+ }
1842
+ }
1843
+ },
1844
+ Talk: {
1845
+ enableFeature: {
1846
+ cpu: {
1847
+ value: 0,
1848
+ weight: 0.5
1849
+ },
1850
+ memory: {
1851
+ value: 0.124,
1852
+ weight: 0.5
1853
+ }
1854
+ },
1855
+ phone: {
1856
+ max: 25,
1857
+ data: {
1858
+ cpu: {
1859
+ value: 0.02,
1860
+ weight: 0.5
1861
+ },
1862
+ memory: {
1863
+ value: 35e-4,
1864
+ weight: 0.5
1865
+ }
1866
+ }
1867
+ },
1868
+ record: {
1869
+ cpu: {
1870
+ value: 1e-3,
1871
+ weight: 0.5
1872
+ },
1873
+ memory: {
1874
+ value: 1e-3,
1875
+ weight: 0.5
1876
+ }
1877
+ }
1878
+ }
1879
+ }
1880
+ },
1881
+ // ENVR
1882
+ /**
1883
+ * As a quick solution, values are copied from UNVR except for cameras(hd,2k,4k)
1884
+ * Discussion: https://ui.slack.com/archives/C02JG0GKYC8/p1731328689092089?thread_ts=1730294242.638029&cid=C02JG0GKYC8
1885
+ * ENVR camera values: https://docs.google.com/spreadsheets/d/1byx7AfC_AB3Bbdt0hkdDK7yU_Si38pcZ2mMaLckIm2U/edit?gid=790615152#gid=790615152
1886
+ */
1887
+ {
1888
+ id: ComputeResourceCalculator_types.DeviceId.Envr,
1889
+ sku: ["envr"],
1890
+ title: "device.ENVR",
1891
+ img: {
1892
+ src: envr__default["default"],
1893
+ width: 68,
1894
+ height: 68
1895
+ },
1896
+ settings: {
1897
+ defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Protect],
1898
+ forcedFeatures: [ComputeResourceCalculator_types.FeatureId.Protect],
1899
+ hdd: {
1900
+ max: 4,
1901
+ parityDisks: 1
1902
+ }
1903
+ },
1904
+ loadData: {
1905
+ Protect: {
1906
+ enableFeature: {
1907
+ cpu: {
1908
+ value: 0.0558,
1909
+ weight: 0.8
1910
+ },
1911
+ memory: {
1912
+ value: 0.117,
1913
+ weight: 0.2
1914
+ }
1915
+ },
1916
+ playback: {
1917
+ cpu: {
1918
+ value: 0.15,
1919
+ weight: 0.8
1920
+ },
1921
+ memory: {
1922
+ value: 0,
1923
+ weight: 0.2
1924
+ }
1925
+ },
1926
+ liveView: {
1927
+ cpu: {
1928
+ value: 0.225,
1929
+ weight: 0.8
1930
+ },
1931
+ memory: {
1932
+ value: 0.045,
1933
+ weight: 0.2
1934
+ }
1935
+ },
1936
+ cameraHd: {
1937
+ max: 210,
1938
+ data: {
1939
+ cpu: {
1940
+ value: 95e-4,
1941
+ weight: 0.9
1942
+ },
1943
+ memory: {
1944
+ value: 0.1039,
1945
+ weight: 0.1
1946
+ }
1947
+ }
1948
+ },
1949
+ camera2k: {
1950
+ max: 140,
1951
+ data: {
1952
+ cpu: {
1953
+ value: 88e-4,
1954
+ weight: 0.9
1955
+ },
1956
+ memory: {
1957
+ value: 0.1049,
1958
+ weight: 0.1
1959
+ }
1960
+ }
1961
+ },
1962
+ camera4k: {
1963
+ max: 70,
1964
+ data: {
1965
+ cpu: {
1966
+ value: 85e-4,
1967
+ weight: 0.9
1968
+ },
1969
+ memory: {
1970
+ value: 0.1074,
1971
+ weight: 0.1
1972
+ }
1973
+ }
1974
+ }
1975
+ },
1976
+ Access: {
1977
+ enableFeature: {
1978
+ cpu: {
1979
+ value: 0.01,
1980
+ weight: 0.8
1981
+ },
1982
+ memory: {
1983
+ value: 0.043,
1984
+ weight: 0.2
1985
+ }
1986
+ },
1987
+ door: {
1988
+ max: 100,
1989
+ data: {
1990
+ cpu: {
1991
+ value: 1e-4,
1992
+ weight: 0.8
1993
+ },
1994
+ memory: {
1995
+ value: 1e-4,
1996
+ weight: 0.2
1997
+ }
1998
+ }
1999
+ }
2000
+ }
2001
+ }
1349
2002
  }];
1350
2003
  exports.DEVICES = DEVICES;
1351
2004
  //# sourceMappingURL=ComputeResourceCalculator.constants.js.map