@uns-kit/cli 2.0.25 → 2.0.26

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 (60) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +175 -175
  3. package/dist/index.js +0 -37
  4. package/package.json +6 -6
  5. package/templates/api/src/examples/api-example.ts +91 -91
  6. package/templates/azure-pipelines.yml +21 -21
  7. package/templates/codegen/codegen.ts +15 -15
  8. package/templates/codegen/src/uns/uns-tags.ts +1 -1
  9. package/templates/codegen/src/uns/uns-topics.ts +1 -1
  10. package/templates/config-files/config-docker.json +26 -26
  11. package/templates/config-files/config-localhost.json +26 -26
  12. package/templates/cron/AGENTS.md +24 -24
  13. package/templates/cron/src/examples/cron-example.ts +71 -71
  14. package/templates/default/.prettierignore +1 -1
  15. package/templates/default/.prettierrc +7 -7
  16. package/templates/default/AGENTS.md +24 -24
  17. package/templates/default/README.md +43 -43
  18. package/templates/default/config.json +27 -27
  19. package/templates/default/eslint.config.js +30 -30
  20. package/templates/default/gitignore +51 -51
  21. package/templates/default/package.json +49 -49
  22. package/templates/default/src/config/project.config.extension.example +23 -23
  23. package/templates/default/src/config/project.config.extension.ts +6 -6
  24. package/templates/default/src/examples/data-example.ts +86 -86
  25. package/templates/default/src/examples/load-test-data.ts +110 -110
  26. package/templates/default/src/examples/table-example.ts +97 -97
  27. package/templates/default/src/examples/table-window-load-test.ts +446 -446
  28. package/templates/default/src/examples/uns-gateway-cli.ts +10 -10
  29. package/templates/default/src/index.ts +15 -15
  30. package/templates/default/src/uns/uns-assets.ts +12 -12
  31. package/templates/default/src/uns/uns-dictionary.generated.ts +758 -758
  32. package/templates/default/src/uns/uns-measurements.generated.ts +366 -366
  33. package/templates/default/src/uns/uns-tags.ts +2 -2
  34. package/templates/default/src/uns/uns-topics.ts +2 -2
  35. package/templates/default/tsconfig.json +29 -29
  36. package/templates/python/app/README.md +8 -8
  37. package/templates/python/examples/README.md +134 -134
  38. package/templates/python/examples/api_handler.py +28 -28
  39. package/templates/python/examples/data_publish.py +11 -11
  40. package/templates/python/examples/data_subscribe.py +8 -8
  41. package/templates/python/examples/data_transformer.py +17 -17
  42. package/templates/python/examples/table_transformer.py +15 -15
  43. package/templates/python/gateway/cli.py +75 -75
  44. package/templates/python/gateway/client.py +155 -155
  45. package/templates/python/gateway/manager.py +97 -97
  46. package/templates/python/gen/__init__.py +1 -0
  47. package/templates/python/gen/uns_gateway_pb2.py +70 -0
  48. package/templates/python/gen/uns_gateway_pb2_grpc.py +312 -0
  49. package/templates/python/gitignore +47 -47
  50. package/templates/python/proto/uns-gateway.proto +102 -102
  51. package/templates/python/pyproject.toml +4 -4
  52. package/templates/python/runtime.json +4 -4
  53. package/templates/python/scripts/setup.sh +87 -87
  54. package/templates/temporal/src/examples/temporal-example.ts +37 -37
  55. package/templates/uns-dictionary/uns-dictionary.json +650 -650
  56. package/templates/uns-measurements/uns-measurements.json +360 -360
  57. package/templates/vscode/.vscode/launch.json +164 -164
  58. package/templates/vscode/.vscode/settings.json +9 -9
  59. package/templates/vscode/.vscode/tasks.json +27 -27
  60. package/templates/vscode/uns-kit.code-workspace +13 -13
@@ -1,650 +1,650 @@
1
- {
2
- "objectTypes": {
3
- "equipment": {
4
- "description": "Fizična oprema (stroji, peči, senzorji). Uporablja se za spremljanje stanja, meritev in dogodkov.",
5
- "descriptions": {
6
- "sl": "Fizična oprema (stroji, peči, senzorji). Uporablja se za spremljanje stanja, meritev in dogodkov.",
7
- "en": "Physical equipment (machines, furnaces, sensors). Used to monitor status, measurements, and events."
8
- },
9
- "attributes": [
10
- "status",
11
- "temperature",
12
- "vibration",
13
- "operating-hours",
14
- "fault-code",
15
- "speed",
16
- "energy-consumption"
17
- ]
18
- },
19
- "material": {
20
- "description": "Materialne enote (loti, serije, surovine, polizdelki). Za sledljivost, količine in premike.",
21
- "descriptions": {
22
- "sl": "Materialne enote (loti, serije, surovine, polizdelki). Za sledljivost, količine in premike.",
23
- "en": "Material lots/batches/raw materials for traceability, quantities, and movements."
24
- },
25
- "attributes": [
26
- "lot-id",
27
- "batch-number",
28
- "material-type",
29
- "quantity",
30
- "location",
31
- "status"
32
- ]
33
- },
34
- "personnel": {
35
- "description": "Osebje (operaterji, nadzorniki, tehnologi). Za prisotnost, naloge in status.",
36
- "descriptions": {
37
- "sl": "Osebje (operaterji, nadzorniki, tehnologi). Za prisotnost, naloge in status.",
38
- "en": "Personnel (operators/supervisors/technologists). Track presence, tasks, and status."
39
- },
40
- "attributes": [
41
- "presence",
42
- "task-id",
43
- "role",
44
- "status"
45
- ]
46
- },
47
- "process-segment": {
48
- "description": "Posamezen korak v procesu (npr. valjanje, hlajenje, analiza). Za faze ali aktivnosti procesa.",
49
- "descriptions": {
50
- "sl": "Posamezen korak v procesu (npr. valjanje, hlajenje, analiza). Za faze ali aktivnosti procesa.",
51
- "en": "Process step or activity (e.g., rolling, cooling, analysis)."
52
- },
53
- "attributes": [
54
- "start-time",
55
- "end-time",
56
- "duration",
57
- "status",
58
- "output-quantity"
59
- ]
60
- },
61
- "product-definition": {
62
- "description": "Definicija izdelka, recepture, tehnični opisi. Za metapodatke izdelka in revizije.",
63
- "descriptions": {
64
- "sl": "Definicija izdelka, recepture, tehnični opisi. Za metapodatke izdelka in revizije.",
65
- "en": "Product definitions/recipes/specifications and revisions."
66
- },
67
- "attributes": [
68
- "product-code",
69
- "revision",
70
- "specification",
71
- "target-parameters",
72
- "material-composition",
73
- "version-history"
74
- ]
75
- },
76
- "product-quality": {
77
- "description": "Kazalniki kakovosti izdelka (odstopanja, ocene, rezultati meritev).",
78
- "descriptions": {
79
- "sl": "Kazalniki kakovosti izdelka (odstopanja, ocene, rezultati meritev).",
80
- "en": "Product quality indicators/results and deviations."
81
- },
82
- "attributes": [
83
- "inspection-result",
84
- "deviation",
85
- "pass-fail",
86
- "surface-defect",
87
- "hardness",
88
- "tensile-strength"
89
- ]
90
- },
91
- "work-definition": {
92
- "description": "Definicija nalog ali delovnih tokov. Za planirane operacije in navodila.",
93
- "descriptions": {
94
- "sl": "Definicija nalog ali delovnih tokov. Za planirane operacije in navodila.",
95
- "en": "Work/task definitions or workflows with plans and instructions."
96
- },
97
- "attributes": [
98
- "work-order-id",
99
- "task-list",
100
- "planned-start",
101
- "planned-end",
102
- "assigned-to",
103
- "instruction-url"
104
- ]
105
- },
106
- "resource-status": {
107
- "description": "Status kateregakoli vira (material, osebje, oprema). Za razpoložljivost, okvare, izrabo.",
108
- "descriptions": {
109
- "sl": "Status kateregakoli vira (material, osebje, oprema). Za razpoložljivost, okvare, izrabo.",
110
- "en": "Status of any resource (material/personnel/equipment)."
111
- },
112
- "attributes": [
113
- "availability",
114
- "utilization",
115
- "downtime",
116
- "status",
117
- "maintenance-status"
118
- ]
119
- },
120
- "energy-resource": {
121
- "description": "Energija (elektrika, para, plin).",
122
- "descriptions": {
123
- "sl": "Energija (elektrika, para, plin).",
124
- "en": "Energy carriers (electricity/steam/gas)."
125
- },
126
- "attributes": [
127
- "power",
128
- "energy",
129
- "active-energy-delivered",
130
- "active-energy-received",
131
- "reactive-energy-delivered",
132
- "reactive-energy-received",
133
- "voltage",
134
- "current",
135
- "frequency",
136
- "cost"
137
- ]
138
- },
139
- "energy-meter": {
140
- "description": "Merilno mesto za aktivno/jalovo energijo in moč.",
141
- "descriptions": {
142
- "sl": "Merilno mesto za aktivno/jalovo energijo in moč.",
143
- "en": "Energy meter / measurement point for active/reactive energy and power."
144
- },
145
- "attributes": [
146
- "power",
147
- "active-energy-delivered",
148
- "active-energy-received",
149
- "reactive-energy-delivered",
150
- "reactive-energy-received",
151
- "voltage",
152
- "current",
153
- "frequency"
154
- ]
155
- },
156
- "utility-resource": {
157
- "description": "Utility viri (voda, zrak, dušik, stisnjeni plini).",
158
- "descriptions": {
159
- "sl": "Utility viri (voda, zrak, dušik, stisnjeni plini).",
160
- "en": "Utilities (water/air/nitrogen/etc.)."
161
- },
162
- "attributes": [
163
- "pressure",
164
- "flow",
165
- "consumption",
166
- "status",
167
- "alarm"
168
- ]
169
- },
170
- "fluid-resource": {
171
- "description": "Tekočine in plini, ki niso energenti.",
172
- "descriptions": {
173
- "sl": "Tekočine in plini, ki niso energenti.",
174
- "en": "Fluids/gases (non-energy) used in process."
175
- },
176
- "attributes": [
177
- "flow",
178
- "pressure",
179
- "temperature",
180
- "total-flow",
181
- "conductivity",
182
- "ph"
183
- ]
184
- },
185
- "consumable-resource": {
186
- "description": "Maziva, olja, čistila, ki se porabijo in niso del izdelka.",
187
- "descriptions": {
188
- "sl": "Maziva, olja, čistila, ki se porabijo in niso del izdelka.",
189
- "en": "Consumables (lubricants/cleaners)."
190
- },
191
- "attributes": [
192
- "level",
193
- "consumption-rate",
194
- "refill-required",
195
- "last-refill",
196
- "status"
197
- ]
198
- }
199
- },
200
- "attributes": {
201
- "status": {
202
- "description": "Trenutno stanje vira ali opreme.",
203
- "descriptions": {
204
- "sl": "Trenutno stanje vira ali opreme.",
205
- "en": "Current status of the resource."
206
- }
207
- },
208
- "temperature": {
209
- "description": "Temperatura vira/opreme.",
210
- "descriptions": {
211
- "sl": "Temperatura vira/opreme.",
212
- "en": "Temperature of the resource."
213
- }
214
- },
215
- "vibration": {
216
- "description": "Merjena vibracija.",
217
- "descriptions": {
218
- "sl": "Merjena vibracija.",
219
- "en": "Measured vibration."
220
- }
221
- },
222
- "operating-hours": {
223
- "description": "Število obratovalnih ur.",
224
- "descriptions": {
225
- "sl": "Število obratovalnih ur.",
226
- "en": "Operating hours."
227
- }
228
- },
229
- "fault-code": {
230
- "description": "Koda napake.",
231
- "descriptions": {
232
- "sl": "Koda napake.",
233
- "en": "Fault code."
234
- }
235
- },
236
- "speed": {
237
- "description": "Hitrost delovanja.",
238
- "descriptions": {
239
- "sl": "Hitrost delovanja.",
240
- "en": "Operating speed."
241
- }
242
- },
243
- "energy-consumption": {
244
- "description": "Poraba energije.",
245
- "descriptions": {
246
- "sl": "Poraba energije.",
247
- "en": "Energy consumption."
248
- }
249
- },
250
- "lot-id": {
251
- "description": "Identifikator lota.",
252
- "descriptions": {
253
- "sl": "Identifikator lota.",
254
- "en": "Lot identifier."
255
- }
256
- },
257
- "batch-number": {
258
- "description": "Številka serije (batch).",
259
- "descriptions": {
260
- "sl": "Številka serije (batch).",
261
- "en": "Batch number."
262
- }
263
- },
264
- "material-type": {
265
- "description": "Tip materiala.",
266
- "descriptions": {
267
- "sl": "Tip materiala.",
268
- "en": "Material type."
269
- }
270
- },
271
- "quantity": {
272
- "description": "Količina materiala.",
273
- "descriptions": {
274
- "sl": "Količina materiala.",
275
- "en": "Material quantity."
276
- }
277
- },
278
- "location": {
279
- "description": "Lokacija materiala ali opreme.",
280
- "descriptions": {
281
- "sl": "Lokacija materiala ali opreme.",
282
- "en": "Location of the resource."
283
- }
284
- },
285
- "presence": {
286
- "description": "Prisotnost osebja.",
287
- "descriptions": {
288
- "sl": "Prisotnost osebja.",
289
- "en": "Personnel presence."
290
- }
291
- },
292
- "task-id": {
293
- "description": "Identifikator naloge.",
294
- "descriptions": {
295
- "sl": "Identifikator naloge.",
296
- "en": "Task identifier."
297
- }
298
- },
299
- "role": {
300
- "description": "Vloga osebja.",
301
- "descriptions": {
302
- "sl": "Vloga osebja.",
303
- "en": "Personnel role."
304
- }
305
- },
306
- "authorization-level": {
307
- "description": "Nivo pooblastil.",
308
- "descriptions": {
309
- "sl": "Nivo pooblastil.",
310
- "en": "Authorization level."
311
- }
312
- },
313
- "start-time": {
314
- "description": "Čas začetka.",
315
- "descriptions": {
316
- "sl": "Čas začetka.",
317
- "en": "Start time."
318
- }
319
- },
320
- "end-time": {
321
- "description": "Čas zaključka.",
322
- "descriptions": {
323
- "sl": "Čas zaključka.",
324
- "en": "End time."
325
- }
326
- },
327
- "duration": {
328
- "description": "Trajanje faze ali naloge.",
329
- "descriptions": {
330
- "sl": "Trajanje faze ali naloge.",
331
- "en": "Duration of phase/task."
332
- }
333
- },
334
- "output-quantity": {
335
- "description": "Izhodna količina.",
336
- "descriptions": {
337
- "sl": "Izhodna količina.",
338
- "en": "Output quantity."
339
- }
340
- },
341
- "operator-id": {
342
- "description": "Identifikator operaterja.",
343
- "descriptions": {
344
- "sl": "Identifikator operaterja.",
345
- "en": "Operator identifier."
346
- }
347
- },
348
- "product-code": {
349
- "description": "Koda izdelka.",
350
- "descriptions": {
351
- "sl": "Koda izdelka.",
352
- "en": "Product code."
353
- }
354
- },
355
- "revision": {
356
- "description": "Revizija izdelka.",
357
- "descriptions": {
358
- "sl": "Revizija izdelka.",
359
- "en": "Product revision."
360
- }
361
- },
362
- "specification": {
363
- "description": "Tehnične specifikacije.",
364
- "descriptions": {
365
- "sl": "Tehnične specifikacije.",
366
- "en": "Technical specifications."
367
- }
368
- },
369
- "target-parameters": {
370
- "description": "Ciljni parametri izdelka ali procesa.",
371
- "descriptions": {
372
- "sl": "Ciljni parametri izdelka ali procesa.",
373
- "en": "Target parameters."
374
- }
375
- },
376
- "material-composition": {
377
- "description": "Sestava materiala.",
378
- "descriptions": {
379
- "sl": "Sestava materiala.",
380
- "en": "Material composition."
381
- }
382
- },
383
- "version-history": {
384
- "description": "Zgodovina verzij.",
385
- "descriptions": {
386
- "sl": "Zgodovina verzij.",
387
- "en": "Version history."
388
- }
389
- },
390
- "inspection-result": {
391
- "description": "Rezultat pregleda.",
392
- "descriptions": {
393
- "sl": "Rezultat pregleda.",
394
- "en": "Inspection result."
395
- }
396
- },
397
- "deviation": {
398
- "description": "Odstopanje od specifikacije.",
399
- "descriptions": {
400
- "sl": "Odstopanje od specifikacije.",
401
- "en": "Deviation from specification."
402
- }
403
- },
404
- "pass-fail": {
405
- "description": "Uspešno/neuspešno (pass/fail).",
406
- "descriptions": {
407
- "sl": "Uspešno/neuspešno (pass/fail).",
408
- "en": "Pass/fail result."
409
- }
410
- },
411
- "surface-defect": {
412
- "description": "Površinska napaka.",
413
- "descriptions": {
414
- "sl": "Površinska napaka.",
415
- "en": "Surface defect."
416
- }
417
- },
418
- "hardness": {
419
- "description": "Trdota materiala.",
420
- "descriptions": {
421
- "sl": "Trdota materiala.",
422
- "en": "Material hardness."
423
- }
424
- },
425
- "tensile-strength": {
426
- "description": "Natezna trdnost.",
427
- "descriptions": {
428
- "sl": "Natezna trdnost.",
429
- "en": "Tensile strength."
430
- }
431
- },
432
- "work-order-id": {
433
- "description": "Identifikator delovnega naloga.",
434
- "descriptions": {
435
- "sl": "Identifikator delovnega naloga.",
436
- "en": "Work order ID."
437
- }
438
- },
439
- "task-list": {
440
- "description": "Seznam nalog.",
441
- "descriptions": {
442
- "sl": "Seznam nalog.",
443
- "en": "Task list."
444
- }
445
- },
446
- "planned-start": {
447
- "description": "Planirani začetek.",
448
- "descriptions": {
449
- "sl": "Planirani začetek.",
450
- "en": "Planned start."
451
- }
452
- },
453
- "planned-end": {
454
- "description": "Planirani zaključek.",
455
- "descriptions": {
456
- "sl": "Planirani zaključek.",
457
- "en": "Planned end."
458
- }
459
- },
460
- "assigned-to": {
461
- "description": "Dodeljeno osebi ali ekipi.",
462
- "descriptions": {
463
- "sl": "Dodeljeno osebi ali ekipi.",
464
- "en": "Assigned to person/team."
465
- }
466
- },
467
- "instruction-url": {
468
- "description": "Povezava do navodil.",
469
- "descriptions": {
470
- "sl": "Povezava do navodil.",
471
- "en": "Instruction URL."
472
- }
473
- },
474
- "availability": {
475
- "description": "Razpoložljivost vira.",
476
- "descriptions": {
477
- "sl": "Razpoložljivost vira.",
478
- "en": "Resource availability."
479
- }
480
- },
481
- "utilization": {
482
- "description": "Izraba vira.",
483
- "descriptions": {
484
- "sl": "Izraba vira.",
485
- "en": "Resource utilization."
486
- }
487
- },
488
- "downtime": {
489
- "description": "Zastoj/izpad.",
490
- "descriptions": {
491
- "sl": "Zastoj/izpad.",
492
- "en": "Downtime."
493
- }
494
- },
495
- "maintenance-status": {
496
- "description": "Stanje vzdrževanja.",
497
- "descriptions": {
498
- "sl": "Stanje vzdrževanja.",
499
- "en": "Maintenance status."
500
- }
501
- },
502
- "power": {
503
- "description": "Moč.",
504
- "descriptions": {
505
- "sl": "Moč.",
506
- "en": "Power."
507
- }
508
- },
509
- "energy": {
510
- "description": "Energija.",
511
- "descriptions": {
512
- "sl": "Energija.",
513
- "en": "Energy."
514
- }
515
- },
516
- "active-energy-delivered": {
517
- "description": "Oddana delovna energija (izvoz).",
518
- "descriptions": {
519
- "sl": "Oddana delovna energija (izvoz).",
520
- "en": "Active energy delivered (exported)."
521
- }
522
- },
523
- "active-energy-received": {
524
- "description": "Prejeta delovna energija (uvoz).",
525
- "descriptions": {
526
- "sl": "Prejeta delovna energija (uvoz).",
527
- "en": "Active energy received (imported)."
528
- }
529
- },
530
- "reactive-energy-delivered": {
531
- "description": "Oddana jalova energija (izvoz).",
532
- "descriptions": {
533
- "sl": "Oddana jalova energija (izvoz).",
534
- "en": "Reactive energy delivered (exported)."
535
- }
536
- },
537
- "reactive-energy-received": {
538
- "description": "Prejeta jalova energija (uvoz).",
539
- "descriptions": {
540
- "sl": "Prejeta jalova energija (uvoz).",
541
- "en": "Reactive energy received (imported)."
542
- }
543
- },
544
- "voltage": {
545
- "description": "Napetost.",
546
- "descriptions": {
547
- "sl": "Napetost.",
548
- "en": "Voltage."
549
- }
550
- },
551
- "current": {
552
- "description": "Tok.",
553
- "descriptions": {
554
- "sl": "Tok.",
555
- "en": "Current."
556
- }
557
- },
558
- "frequency": {
559
- "description": "Frekvenca.",
560
- "descriptions": {
561
- "sl": "Frekvenca.",
562
- "en": "Frequency."
563
- }
564
- },
565
- "cost": {
566
- "description": "Strošek.",
567
- "descriptions": {
568
- "sl": "Strošek.",
569
- "en": "Cost."
570
- }
571
- },
572
- "pressure": {
573
- "description": "Tlak.",
574
- "descriptions": {
575
- "sl": "Tlak.",
576
- "en": "Pressure."
577
- }
578
- },
579
- "flow": {
580
- "description": "Pretok.",
581
- "descriptions": {
582
- "sl": "Pretok.",
583
- "en": "Flow."
584
- }
585
- },
586
- "consumption": {
587
- "description": "Poraba.",
588
- "descriptions": {
589
- "sl": "Poraba.",
590
- "en": "Consumption."
591
- }
592
- },
593
- "alarm": {
594
- "description": "Alarmni signal.",
595
- "descriptions": {
596
- "sl": "Alarmni signal.",
597
- "en": "Alarm."
598
- }
599
- },
600
- "total-flow": {
601
- "description": "Skupni pretok.",
602
- "descriptions": {
603
- "sl": "Skupni pretok.",
604
- "en": "Total flow."
605
- }
606
- },
607
- "conductivity": {
608
- "description": "Prevodnost.",
609
- "descriptions": {
610
- "sl": "Prevodnost.",
611
- "en": "Conductivity."
612
- }
613
- },
614
- "ph": {
615
- "description": "pH vrednost.",
616
- "descriptions": {
617
- "sl": "pH vrednost.",
618
- "en": "pH value."
619
- }
620
- },
621
- "level": {
622
- "description": "Nivo zaloge ali rezervoarja.",
623
- "descriptions": {
624
- "sl": "Nivo zaloge ali rezervoarja.",
625
- "en": "Level in stock/tank."
626
- }
627
- },
628
- "consumption-rate": {
629
- "description": "Hitrost porabe.",
630
- "descriptions": {
631
- "sl": "Hitrost porabe.",
632
- "en": "Consumption rate."
633
- }
634
- },
635
- "refill-required": {
636
- "description": "Potrebno dolivanje/dopolnitev.",
637
- "descriptions": {
638
- "sl": "Potrebno dolivanje/dopolnitev.",
639
- "en": "Refill required."
640
- }
641
- },
642
- "last-refill": {
643
- "description": "Zadnje polnjenje.",
644
- "descriptions": {
645
- "sl": "Zadnje polnjenje.",
646
- "en": "Last refill."
647
- }
648
- }
649
- }
650
- }
1
+ {
2
+ "objectTypes": {
3
+ "equipment": {
4
+ "description": "Fizična oprema (stroji, peči, senzorji). Uporablja se za spremljanje stanja, meritev in dogodkov.",
5
+ "descriptions": {
6
+ "sl": "Fizična oprema (stroji, peči, senzorji). Uporablja se za spremljanje stanja, meritev in dogodkov.",
7
+ "en": "Physical equipment (machines, furnaces, sensors). Used to monitor status, measurements, and events."
8
+ },
9
+ "attributes": [
10
+ "status",
11
+ "temperature",
12
+ "vibration",
13
+ "operating-hours",
14
+ "fault-code",
15
+ "speed",
16
+ "energy-consumption"
17
+ ]
18
+ },
19
+ "material": {
20
+ "description": "Materialne enote (loti, serije, surovine, polizdelki). Za sledljivost, količine in premike.",
21
+ "descriptions": {
22
+ "sl": "Materialne enote (loti, serije, surovine, polizdelki). Za sledljivost, količine in premike.",
23
+ "en": "Material lots/batches/raw materials for traceability, quantities, and movements."
24
+ },
25
+ "attributes": [
26
+ "lot-id",
27
+ "batch-number",
28
+ "material-type",
29
+ "quantity",
30
+ "location",
31
+ "status"
32
+ ]
33
+ },
34
+ "personnel": {
35
+ "description": "Osebje (operaterji, nadzorniki, tehnologi). Za prisotnost, naloge in status.",
36
+ "descriptions": {
37
+ "sl": "Osebje (operaterji, nadzorniki, tehnologi). Za prisotnost, naloge in status.",
38
+ "en": "Personnel (operators/supervisors/technologists). Track presence, tasks, and status."
39
+ },
40
+ "attributes": [
41
+ "presence",
42
+ "task-id",
43
+ "role",
44
+ "status"
45
+ ]
46
+ },
47
+ "process-segment": {
48
+ "description": "Posamezen korak v procesu (npr. valjanje, hlajenje, analiza). Za faze ali aktivnosti procesa.",
49
+ "descriptions": {
50
+ "sl": "Posamezen korak v procesu (npr. valjanje, hlajenje, analiza). Za faze ali aktivnosti procesa.",
51
+ "en": "Process step or activity (e.g., rolling, cooling, analysis)."
52
+ },
53
+ "attributes": [
54
+ "start-time",
55
+ "end-time",
56
+ "duration",
57
+ "status",
58
+ "output-quantity"
59
+ ]
60
+ },
61
+ "product-definition": {
62
+ "description": "Definicija izdelka, recepture, tehnični opisi. Za metapodatke izdelka in revizije.",
63
+ "descriptions": {
64
+ "sl": "Definicija izdelka, recepture, tehnični opisi. Za metapodatke izdelka in revizije.",
65
+ "en": "Product definitions/recipes/specifications and revisions."
66
+ },
67
+ "attributes": [
68
+ "product-code",
69
+ "revision",
70
+ "specification",
71
+ "target-parameters",
72
+ "material-composition",
73
+ "version-history"
74
+ ]
75
+ },
76
+ "product-quality": {
77
+ "description": "Kazalniki kakovosti izdelka (odstopanja, ocene, rezultati meritev).",
78
+ "descriptions": {
79
+ "sl": "Kazalniki kakovosti izdelka (odstopanja, ocene, rezultati meritev).",
80
+ "en": "Product quality indicators/results and deviations."
81
+ },
82
+ "attributes": [
83
+ "inspection-result",
84
+ "deviation",
85
+ "pass-fail",
86
+ "surface-defect",
87
+ "hardness",
88
+ "tensile-strength"
89
+ ]
90
+ },
91
+ "work-definition": {
92
+ "description": "Definicija nalog ali delovnih tokov. Za planirane operacije in navodila.",
93
+ "descriptions": {
94
+ "sl": "Definicija nalog ali delovnih tokov. Za planirane operacije in navodila.",
95
+ "en": "Work/task definitions or workflows with plans and instructions."
96
+ },
97
+ "attributes": [
98
+ "work-order-id",
99
+ "task-list",
100
+ "planned-start",
101
+ "planned-end",
102
+ "assigned-to",
103
+ "instruction-url"
104
+ ]
105
+ },
106
+ "resource-status": {
107
+ "description": "Status kateregakoli vira (material, osebje, oprema). Za razpoložljivost, okvare, izrabo.",
108
+ "descriptions": {
109
+ "sl": "Status kateregakoli vira (material, osebje, oprema). Za razpoložljivost, okvare, izrabo.",
110
+ "en": "Status of any resource (material/personnel/equipment)."
111
+ },
112
+ "attributes": [
113
+ "availability",
114
+ "utilization",
115
+ "downtime",
116
+ "status",
117
+ "maintenance-status"
118
+ ]
119
+ },
120
+ "energy-resource": {
121
+ "description": "Energija (elektrika, para, plin).",
122
+ "descriptions": {
123
+ "sl": "Energija (elektrika, para, plin).",
124
+ "en": "Energy carriers (electricity/steam/gas)."
125
+ },
126
+ "attributes": [
127
+ "power",
128
+ "energy",
129
+ "active-energy-delivered",
130
+ "active-energy-received",
131
+ "reactive-energy-delivered",
132
+ "reactive-energy-received",
133
+ "voltage",
134
+ "current",
135
+ "frequency",
136
+ "cost"
137
+ ]
138
+ },
139
+ "energy-meter": {
140
+ "description": "Merilno mesto za aktivno/jalovo energijo in moč.",
141
+ "descriptions": {
142
+ "sl": "Merilno mesto za aktivno/jalovo energijo in moč.",
143
+ "en": "Energy meter / measurement point for active/reactive energy and power."
144
+ },
145
+ "attributes": [
146
+ "power",
147
+ "active-energy-delivered",
148
+ "active-energy-received",
149
+ "reactive-energy-delivered",
150
+ "reactive-energy-received",
151
+ "voltage",
152
+ "current",
153
+ "frequency"
154
+ ]
155
+ },
156
+ "utility-resource": {
157
+ "description": "Utility viri (voda, zrak, dušik, stisnjeni plini).",
158
+ "descriptions": {
159
+ "sl": "Utility viri (voda, zrak, dušik, stisnjeni plini).",
160
+ "en": "Utilities (water/air/nitrogen/etc.)."
161
+ },
162
+ "attributes": [
163
+ "pressure",
164
+ "flow",
165
+ "consumption",
166
+ "status",
167
+ "alarm"
168
+ ]
169
+ },
170
+ "fluid-resource": {
171
+ "description": "Tekočine in plini, ki niso energenti.",
172
+ "descriptions": {
173
+ "sl": "Tekočine in plini, ki niso energenti.",
174
+ "en": "Fluids/gases (non-energy) used in process."
175
+ },
176
+ "attributes": [
177
+ "flow",
178
+ "pressure",
179
+ "temperature",
180
+ "total-flow",
181
+ "conductivity",
182
+ "ph"
183
+ ]
184
+ },
185
+ "consumable-resource": {
186
+ "description": "Maziva, olja, čistila, ki se porabijo in niso del izdelka.",
187
+ "descriptions": {
188
+ "sl": "Maziva, olja, čistila, ki se porabijo in niso del izdelka.",
189
+ "en": "Consumables (lubricants/cleaners)."
190
+ },
191
+ "attributes": [
192
+ "level",
193
+ "consumption-rate",
194
+ "refill-required",
195
+ "last-refill",
196
+ "status"
197
+ ]
198
+ }
199
+ },
200
+ "attributes": {
201
+ "status": {
202
+ "description": "Trenutno stanje vira ali opreme.",
203
+ "descriptions": {
204
+ "sl": "Trenutno stanje vira ali opreme.",
205
+ "en": "Current status of the resource."
206
+ }
207
+ },
208
+ "temperature": {
209
+ "description": "Temperatura vira/opreme.",
210
+ "descriptions": {
211
+ "sl": "Temperatura vira/opreme.",
212
+ "en": "Temperature of the resource."
213
+ }
214
+ },
215
+ "vibration": {
216
+ "description": "Merjena vibracija.",
217
+ "descriptions": {
218
+ "sl": "Merjena vibracija.",
219
+ "en": "Measured vibration."
220
+ }
221
+ },
222
+ "operating-hours": {
223
+ "description": "Število obratovalnih ur.",
224
+ "descriptions": {
225
+ "sl": "Število obratovalnih ur.",
226
+ "en": "Operating hours."
227
+ }
228
+ },
229
+ "fault-code": {
230
+ "description": "Koda napake.",
231
+ "descriptions": {
232
+ "sl": "Koda napake.",
233
+ "en": "Fault code."
234
+ }
235
+ },
236
+ "speed": {
237
+ "description": "Hitrost delovanja.",
238
+ "descriptions": {
239
+ "sl": "Hitrost delovanja.",
240
+ "en": "Operating speed."
241
+ }
242
+ },
243
+ "energy-consumption": {
244
+ "description": "Poraba energije.",
245
+ "descriptions": {
246
+ "sl": "Poraba energije.",
247
+ "en": "Energy consumption."
248
+ }
249
+ },
250
+ "lot-id": {
251
+ "description": "Identifikator lota.",
252
+ "descriptions": {
253
+ "sl": "Identifikator lota.",
254
+ "en": "Lot identifier."
255
+ }
256
+ },
257
+ "batch-number": {
258
+ "description": "Številka serije (batch).",
259
+ "descriptions": {
260
+ "sl": "Številka serije (batch).",
261
+ "en": "Batch number."
262
+ }
263
+ },
264
+ "material-type": {
265
+ "description": "Tip materiala.",
266
+ "descriptions": {
267
+ "sl": "Tip materiala.",
268
+ "en": "Material type."
269
+ }
270
+ },
271
+ "quantity": {
272
+ "description": "Količina materiala.",
273
+ "descriptions": {
274
+ "sl": "Količina materiala.",
275
+ "en": "Material quantity."
276
+ }
277
+ },
278
+ "location": {
279
+ "description": "Lokacija materiala ali opreme.",
280
+ "descriptions": {
281
+ "sl": "Lokacija materiala ali opreme.",
282
+ "en": "Location of the resource."
283
+ }
284
+ },
285
+ "presence": {
286
+ "description": "Prisotnost osebja.",
287
+ "descriptions": {
288
+ "sl": "Prisotnost osebja.",
289
+ "en": "Personnel presence."
290
+ }
291
+ },
292
+ "task-id": {
293
+ "description": "Identifikator naloge.",
294
+ "descriptions": {
295
+ "sl": "Identifikator naloge.",
296
+ "en": "Task identifier."
297
+ }
298
+ },
299
+ "role": {
300
+ "description": "Vloga osebja.",
301
+ "descriptions": {
302
+ "sl": "Vloga osebja.",
303
+ "en": "Personnel role."
304
+ }
305
+ },
306
+ "authorization-level": {
307
+ "description": "Nivo pooblastil.",
308
+ "descriptions": {
309
+ "sl": "Nivo pooblastil.",
310
+ "en": "Authorization level."
311
+ }
312
+ },
313
+ "start-time": {
314
+ "description": "Čas začetka.",
315
+ "descriptions": {
316
+ "sl": "Čas začetka.",
317
+ "en": "Start time."
318
+ }
319
+ },
320
+ "end-time": {
321
+ "description": "Čas zaključka.",
322
+ "descriptions": {
323
+ "sl": "Čas zaključka.",
324
+ "en": "End time."
325
+ }
326
+ },
327
+ "duration": {
328
+ "description": "Trajanje faze ali naloge.",
329
+ "descriptions": {
330
+ "sl": "Trajanje faze ali naloge.",
331
+ "en": "Duration of phase/task."
332
+ }
333
+ },
334
+ "output-quantity": {
335
+ "description": "Izhodna količina.",
336
+ "descriptions": {
337
+ "sl": "Izhodna količina.",
338
+ "en": "Output quantity."
339
+ }
340
+ },
341
+ "operator-id": {
342
+ "description": "Identifikator operaterja.",
343
+ "descriptions": {
344
+ "sl": "Identifikator operaterja.",
345
+ "en": "Operator identifier."
346
+ }
347
+ },
348
+ "product-code": {
349
+ "description": "Koda izdelka.",
350
+ "descriptions": {
351
+ "sl": "Koda izdelka.",
352
+ "en": "Product code."
353
+ }
354
+ },
355
+ "revision": {
356
+ "description": "Revizija izdelka.",
357
+ "descriptions": {
358
+ "sl": "Revizija izdelka.",
359
+ "en": "Product revision."
360
+ }
361
+ },
362
+ "specification": {
363
+ "description": "Tehnične specifikacije.",
364
+ "descriptions": {
365
+ "sl": "Tehnične specifikacije.",
366
+ "en": "Technical specifications."
367
+ }
368
+ },
369
+ "target-parameters": {
370
+ "description": "Ciljni parametri izdelka ali procesa.",
371
+ "descriptions": {
372
+ "sl": "Ciljni parametri izdelka ali procesa.",
373
+ "en": "Target parameters."
374
+ }
375
+ },
376
+ "material-composition": {
377
+ "description": "Sestava materiala.",
378
+ "descriptions": {
379
+ "sl": "Sestava materiala.",
380
+ "en": "Material composition."
381
+ }
382
+ },
383
+ "version-history": {
384
+ "description": "Zgodovina verzij.",
385
+ "descriptions": {
386
+ "sl": "Zgodovina verzij.",
387
+ "en": "Version history."
388
+ }
389
+ },
390
+ "inspection-result": {
391
+ "description": "Rezultat pregleda.",
392
+ "descriptions": {
393
+ "sl": "Rezultat pregleda.",
394
+ "en": "Inspection result."
395
+ }
396
+ },
397
+ "deviation": {
398
+ "description": "Odstopanje od specifikacije.",
399
+ "descriptions": {
400
+ "sl": "Odstopanje od specifikacije.",
401
+ "en": "Deviation from specification."
402
+ }
403
+ },
404
+ "pass-fail": {
405
+ "description": "Uspešno/neuspešno (pass/fail).",
406
+ "descriptions": {
407
+ "sl": "Uspešno/neuspešno (pass/fail).",
408
+ "en": "Pass/fail result."
409
+ }
410
+ },
411
+ "surface-defect": {
412
+ "description": "Površinska napaka.",
413
+ "descriptions": {
414
+ "sl": "Površinska napaka.",
415
+ "en": "Surface defect."
416
+ }
417
+ },
418
+ "hardness": {
419
+ "description": "Trdota materiala.",
420
+ "descriptions": {
421
+ "sl": "Trdota materiala.",
422
+ "en": "Material hardness."
423
+ }
424
+ },
425
+ "tensile-strength": {
426
+ "description": "Natezna trdnost.",
427
+ "descriptions": {
428
+ "sl": "Natezna trdnost.",
429
+ "en": "Tensile strength."
430
+ }
431
+ },
432
+ "work-order-id": {
433
+ "description": "Identifikator delovnega naloga.",
434
+ "descriptions": {
435
+ "sl": "Identifikator delovnega naloga.",
436
+ "en": "Work order ID."
437
+ }
438
+ },
439
+ "task-list": {
440
+ "description": "Seznam nalog.",
441
+ "descriptions": {
442
+ "sl": "Seznam nalog.",
443
+ "en": "Task list."
444
+ }
445
+ },
446
+ "planned-start": {
447
+ "description": "Planirani začetek.",
448
+ "descriptions": {
449
+ "sl": "Planirani začetek.",
450
+ "en": "Planned start."
451
+ }
452
+ },
453
+ "planned-end": {
454
+ "description": "Planirani zaključek.",
455
+ "descriptions": {
456
+ "sl": "Planirani zaključek.",
457
+ "en": "Planned end."
458
+ }
459
+ },
460
+ "assigned-to": {
461
+ "description": "Dodeljeno osebi ali ekipi.",
462
+ "descriptions": {
463
+ "sl": "Dodeljeno osebi ali ekipi.",
464
+ "en": "Assigned to person/team."
465
+ }
466
+ },
467
+ "instruction-url": {
468
+ "description": "Povezava do navodil.",
469
+ "descriptions": {
470
+ "sl": "Povezava do navodil.",
471
+ "en": "Instruction URL."
472
+ }
473
+ },
474
+ "availability": {
475
+ "description": "Razpoložljivost vira.",
476
+ "descriptions": {
477
+ "sl": "Razpoložljivost vira.",
478
+ "en": "Resource availability."
479
+ }
480
+ },
481
+ "utilization": {
482
+ "description": "Izraba vira.",
483
+ "descriptions": {
484
+ "sl": "Izraba vira.",
485
+ "en": "Resource utilization."
486
+ }
487
+ },
488
+ "downtime": {
489
+ "description": "Zastoj/izpad.",
490
+ "descriptions": {
491
+ "sl": "Zastoj/izpad.",
492
+ "en": "Downtime."
493
+ }
494
+ },
495
+ "maintenance-status": {
496
+ "description": "Stanje vzdrževanja.",
497
+ "descriptions": {
498
+ "sl": "Stanje vzdrževanja.",
499
+ "en": "Maintenance status."
500
+ }
501
+ },
502
+ "power": {
503
+ "description": "Moč.",
504
+ "descriptions": {
505
+ "sl": "Moč.",
506
+ "en": "Power."
507
+ }
508
+ },
509
+ "energy": {
510
+ "description": "Energija.",
511
+ "descriptions": {
512
+ "sl": "Energija.",
513
+ "en": "Energy."
514
+ }
515
+ },
516
+ "active-energy-delivered": {
517
+ "description": "Oddana delovna energija (izvoz).",
518
+ "descriptions": {
519
+ "sl": "Oddana delovna energija (izvoz).",
520
+ "en": "Active energy delivered (exported)."
521
+ }
522
+ },
523
+ "active-energy-received": {
524
+ "description": "Prejeta delovna energija (uvoz).",
525
+ "descriptions": {
526
+ "sl": "Prejeta delovna energija (uvoz).",
527
+ "en": "Active energy received (imported)."
528
+ }
529
+ },
530
+ "reactive-energy-delivered": {
531
+ "description": "Oddana jalova energija (izvoz).",
532
+ "descriptions": {
533
+ "sl": "Oddana jalova energija (izvoz).",
534
+ "en": "Reactive energy delivered (exported)."
535
+ }
536
+ },
537
+ "reactive-energy-received": {
538
+ "description": "Prejeta jalova energija (uvoz).",
539
+ "descriptions": {
540
+ "sl": "Prejeta jalova energija (uvoz).",
541
+ "en": "Reactive energy received (imported)."
542
+ }
543
+ },
544
+ "voltage": {
545
+ "description": "Napetost.",
546
+ "descriptions": {
547
+ "sl": "Napetost.",
548
+ "en": "Voltage."
549
+ }
550
+ },
551
+ "current": {
552
+ "description": "Tok.",
553
+ "descriptions": {
554
+ "sl": "Tok.",
555
+ "en": "Current."
556
+ }
557
+ },
558
+ "frequency": {
559
+ "description": "Frekvenca.",
560
+ "descriptions": {
561
+ "sl": "Frekvenca.",
562
+ "en": "Frequency."
563
+ }
564
+ },
565
+ "cost": {
566
+ "description": "Strošek.",
567
+ "descriptions": {
568
+ "sl": "Strošek.",
569
+ "en": "Cost."
570
+ }
571
+ },
572
+ "pressure": {
573
+ "description": "Tlak.",
574
+ "descriptions": {
575
+ "sl": "Tlak.",
576
+ "en": "Pressure."
577
+ }
578
+ },
579
+ "flow": {
580
+ "description": "Pretok.",
581
+ "descriptions": {
582
+ "sl": "Pretok.",
583
+ "en": "Flow."
584
+ }
585
+ },
586
+ "consumption": {
587
+ "description": "Poraba.",
588
+ "descriptions": {
589
+ "sl": "Poraba.",
590
+ "en": "Consumption."
591
+ }
592
+ },
593
+ "alarm": {
594
+ "description": "Alarmni signal.",
595
+ "descriptions": {
596
+ "sl": "Alarmni signal.",
597
+ "en": "Alarm."
598
+ }
599
+ },
600
+ "total-flow": {
601
+ "description": "Skupni pretok.",
602
+ "descriptions": {
603
+ "sl": "Skupni pretok.",
604
+ "en": "Total flow."
605
+ }
606
+ },
607
+ "conductivity": {
608
+ "description": "Prevodnost.",
609
+ "descriptions": {
610
+ "sl": "Prevodnost.",
611
+ "en": "Conductivity."
612
+ }
613
+ },
614
+ "ph": {
615
+ "description": "pH vrednost.",
616
+ "descriptions": {
617
+ "sl": "pH vrednost.",
618
+ "en": "pH value."
619
+ }
620
+ },
621
+ "level": {
622
+ "description": "Nivo zaloge ali rezervoarja.",
623
+ "descriptions": {
624
+ "sl": "Nivo zaloge ali rezervoarja.",
625
+ "en": "Level in stock/tank."
626
+ }
627
+ },
628
+ "consumption-rate": {
629
+ "description": "Hitrost porabe.",
630
+ "descriptions": {
631
+ "sl": "Hitrost porabe.",
632
+ "en": "Consumption rate."
633
+ }
634
+ },
635
+ "refill-required": {
636
+ "description": "Potrebno dolivanje/dopolnitev.",
637
+ "descriptions": {
638
+ "sl": "Potrebno dolivanje/dopolnitev.",
639
+ "en": "Refill required."
640
+ }
641
+ },
642
+ "last-refill": {
643
+ "description": "Zadnje polnjenje.",
644
+ "descriptions": {
645
+ "sl": "Zadnje polnjenje.",
646
+ "en": "Last refill."
647
+ }
648
+ }
649
+ }
650
+ }