@uns-kit/core 1.0.12 → 1.0.14
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.
- package/dist/tools/generate-uns-dictionary.js +24 -1
- package/dist/tools/generate-uns-dictionary.js.map +1 -1
- package/dist/tools/generate-uns-measurements.d.ts +3 -0
- package/dist/tools/generate-uns-measurements.d.ts.map +1 -0
- package/dist/tools/generate-uns-measurements.js +104 -0
- package/dist/tools/generate-uns-measurements.js.map +1 -0
- package/dist/uns/uns-dictionary.generated.d.ts +2 -0
- package/dist/uns/uns-dictionary.generated.d.ts.map +1 -1
- package/dist/uns/uns-dictionary.generated.js +1 -0
- package/dist/uns/uns-dictionary.generated.js.map +1 -1
- package/dist/uns/uns-interfaces.d.ts +59 -0
- package/dist/uns/uns-interfaces.d.ts.map +1 -1
- package/dist/uns/uns-interfaces.js.map +1 -1
- package/dist/uns/uns-measurements.d.ts +99 -95
- package/dist/uns/uns-measurements.d.ts.map +1 -1
- package/dist/uns/uns-measurements.generated.d.ts +99 -0
- package/dist/uns/uns-measurements.generated.d.ts.map +1 -0
- package/dist/uns/uns-measurements.generated.js +96 -0
- package/dist/uns/uns-measurements.generated.js.map +1 -0
- package/dist/uns/uns-measurements.js +4 -146
- package/dist/uns/uns-measurements.js.map +1 -1
- package/dist/uns-mqtt/mqtt-interfaces.d.ts +1 -0
- package/dist/uns-mqtt/mqtt-interfaces.d.ts.map +1 -1
- package/dist/uns-mqtt/mqtt-interfaces.js.map +1 -1
- package/dist/uns-mqtt/mqtt-proxy.d.ts +1 -0
- package/dist/uns-mqtt/mqtt-proxy.d.ts.map +1 -1
- package/dist/uns-mqtt/mqtt-proxy.js +3 -1
- package/dist/uns-mqtt/mqtt-proxy.js.map +1 -1
- package/dist/uns-mqtt/uns-mqtt-proxy.d.ts +2 -2
- package/dist/uns-mqtt/uns-mqtt-proxy.d.ts.map +1 -1
- package/dist/uns-mqtt/uns-mqtt-proxy.js +62 -30
- package/dist/uns-mqtt/uns-mqtt-proxy.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,96 +1,100 @@
|
|
|
1
|
-
|
|
2
|
-
export declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
1
|
+
import { GeneratedCounterMeasurement, GeneratedDataSizeMeasurement, GeneratedMeasurementUnit, GeneratedPhysicalMeasurement } from "./uns-measurements.generated.js";
|
|
2
|
+
export declare const PhysicalMeasurements: {
|
|
3
|
+
readonly None: "";
|
|
4
|
+
readonly MiliMeter: "mm";
|
|
5
|
+
readonly Meter: "m";
|
|
6
|
+
readonly KiloMeter: "km";
|
|
7
|
+
readonly Feet: "ft";
|
|
8
|
+
readonly Second: "s";
|
|
9
|
+
readonly Minute: "min";
|
|
10
|
+
readonly Hour: "h";
|
|
11
|
+
readonly Day: "day";
|
|
12
|
+
readonly Hertz: "Hz";
|
|
13
|
+
readonly CubicMeter: "m^3";
|
|
14
|
+
readonly Liter: "l";
|
|
15
|
+
readonly Gallon: "gal";
|
|
16
|
+
readonly Psi: "psi";
|
|
17
|
+
readonly Pascal: "Pa";
|
|
18
|
+
readonly Bar: "bar";
|
|
19
|
+
readonly Celsius: "°C";
|
|
20
|
+
readonly Fahrenheit: "°F";
|
|
21
|
+
readonly Kelvin: "K";
|
|
22
|
+
readonly Milijoule: "mJ";
|
|
23
|
+
readonly Joule: "J";
|
|
24
|
+
readonly Kilojoule: "kJ";
|
|
25
|
+
readonly Megajoule: "MJ";
|
|
26
|
+
readonly Gigajoule: "GJ";
|
|
27
|
+
readonly Terajoule: "TJ";
|
|
28
|
+
readonly Newton: "N";
|
|
29
|
+
readonly Bit: "bit";
|
|
30
|
+
readonly Byte: "byte";
|
|
31
|
+
readonly B: "B";
|
|
32
|
+
readonly MilimeterPerSecond: "mm/s";
|
|
33
|
+
readonly MeterPerSecond: "m/s";
|
|
34
|
+
readonly MeterPerMinute: "m/min";
|
|
35
|
+
readonly CentiMeterPerSecond: "cm/s";
|
|
36
|
+
readonly MeterPerHour: "m/h";
|
|
37
|
+
readonly KilometerPerHour: "km/h";
|
|
38
|
+
readonly RevolutionsPerMinute: "rpm";
|
|
39
|
+
readonly Percent: "percent";
|
|
40
|
+
readonly PartsPerMillion: "ppm";
|
|
41
|
+
readonly PartsPerBillion: "ppb";
|
|
42
|
+
readonly PartsPerTrillion: "ppt";
|
|
43
|
+
readonly Decibel: "dB";
|
|
44
|
+
readonly Degree: "°";
|
|
45
|
+
readonly Radian: "rad";
|
|
46
|
+
readonly Miligram: "mg";
|
|
47
|
+
readonly Gram: "g";
|
|
48
|
+
readonly Kilogram: "kg";
|
|
49
|
+
readonly MetricTon: "t";
|
|
50
|
+
readonly MiliVolt: "mV";
|
|
51
|
+
readonly Volt: "V";
|
|
52
|
+
readonly KiloVolt: "kV";
|
|
53
|
+
readonly MegaVolt: "MV";
|
|
54
|
+
readonly MiliAmpere: "mA";
|
|
55
|
+
readonly Ampere: "A";
|
|
56
|
+
readonly KiloAmpere: "kA";
|
|
57
|
+
readonly MegaAmpere: "MA";
|
|
58
|
+
readonly MiliWatt: "mW";
|
|
59
|
+
readonly Watt: "W";
|
|
60
|
+
readonly KiloWatt: "kW";
|
|
61
|
+
readonly MegaWatt: "MW";
|
|
62
|
+
readonly MiliWattHour: "mWh";
|
|
63
|
+
readonly WattHour: "Wh";
|
|
64
|
+
readonly KiloWattHour: "kWh";
|
|
65
|
+
readonly MegaWattHour: "MWh";
|
|
66
|
+
readonly MiliVoltAmpere: "mVA";
|
|
67
|
+
readonly VoltAmpere: "VA";
|
|
68
|
+
readonly KiloVoltAmpere: "kVA";
|
|
69
|
+
readonly MegaVoltAmpere: "MVA";
|
|
70
|
+
readonly MiliVoltAmpereReactive: "mVAR";
|
|
71
|
+
readonly VoltAmpereReactive: "VAR";
|
|
72
|
+
readonly KiloVoltAmpereReactive: "kVAR";
|
|
73
|
+
readonly MegaVoltAmpereReactive: "MVAR";
|
|
74
|
+
readonly CubicMeterPerHour: "m^3/h";
|
|
75
|
+
readonly CubicMeterPerSecond: "m^3/s";
|
|
76
|
+
readonly MegaGramPerHour: "Mg/h";
|
|
77
|
+
readonly MetricTonPerHour: "t/h";
|
|
78
|
+
};
|
|
79
|
+
export type PhysicalMeasurements = GeneratedPhysicalMeasurement;
|
|
80
|
+
export declare const DataSizeMeasurements: {
|
|
81
|
+
readonly Bit: "bit";
|
|
82
|
+
readonly Byte: "B";
|
|
83
|
+
readonly KiloByte: "kB";
|
|
84
|
+
readonly MegaByte: "MB";
|
|
85
|
+
readonly GigaByte: "GB";
|
|
86
|
+
readonly TeraByte: "TB";
|
|
87
|
+
readonly PetaByte: "PB";
|
|
88
|
+
readonly ExaByte: "EB";
|
|
89
|
+
readonly ZettaByte: "ZB";
|
|
90
|
+
readonly YottaByte: "YB";
|
|
91
|
+
};
|
|
92
|
+
export type DataSizeMeasurements = GeneratedDataSizeMeasurement;
|
|
93
|
+
export declare const CounterMeasurements: {
|
|
94
|
+
readonly Kilo: "k";
|
|
95
|
+
readonly Mega: "M";
|
|
96
|
+
readonly Giga: "G";
|
|
97
|
+
};
|
|
98
|
+
export type CounterMeasurements = GeneratedCounterMeasurement;
|
|
99
|
+
export type MeasurementUnit = GeneratedMeasurementUnit;
|
|
96
100
|
//# sourceMappingURL=uns-measurements.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uns-measurements.d.ts","sourceRoot":"","sources":["../../src/uns/uns-measurements.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"uns-measurements.d.ts","sourceRoot":"","sources":["../../src/uns/uns-measurements.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAE3B,4BAA4B,EAE5B,wBAAwB,EACxB,4BAA4B,EAE7B,MAAM,iCAAiC,CAAC;AAEzC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgC,CAAC;AAClE,MAAM,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;AAEhE,eAAO,MAAM,oBAAoB;;;;;;;;;;;CAAgC,CAAC;AAClE,MAAM,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;AAEhE,eAAO,MAAM,mBAAmB;;;;CAA+B,CAAC;AAChE,MAAM,MAAM,mBAAmB,GAAG,2BAA2B,CAAC;AAE9D,MAAM,MAAM,eAAe,GAAG,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
export declare const GeneratedPhysicalMeasurements: {
|
|
2
|
+
readonly None: "";
|
|
3
|
+
readonly MiliMeter: "mm";
|
|
4
|
+
readonly Meter: "m";
|
|
5
|
+
readonly KiloMeter: "km";
|
|
6
|
+
readonly Feet: "ft";
|
|
7
|
+
readonly Second: "s";
|
|
8
|
+
readonly Minute: "min";
|
|
9
|
+
readonly Hour: "h";
|
|
10
|
+
readonly Day: "day";
|
|
11
|
+
readonly Hertz: "Hz";
|
|
12
|
+
readonly CubicMeter: "m^3";
|
|
13
|
+
readonly Liter: "l";
|
|
14
|
+
readonly Gallon: "gal";
|
|
15
|
+
readonly Psi: "psi";
|
|
16
|
+
readonly Pascal: "Pa";
|
|
17
|
+
readonly Bar: "bar";
|
|
18
|
+
readonly Celsius: "°C";
|
|
19
|
+
readonly Fahrenheit: "°F";
|
|
20
|
+
readonly Kelvin: "K";
|
|
21
|
+
readonly Milijoule: "mJ";
|
|
22
|
+
readonly Joule: "J";
|
|
23
|
+
readonly Kilojoule: "kJ";
|
|
24
|
+
readonly Megajoule: "MJ";
|
|
25
|
+
readonly Gigajoule: "GJ";
|
|
26
|
+
readonly Terajoule: "TJ";
|
|
27
|
+
readonly Newton: "N";
|
|
28
|
+
readonly Bit: "bit";
|
|
29
|
+
readonly Byte: "byte";
|
|
30
|
+
readonly B: "B";
|
|
31
|
+
readonly MilimeterPerSecond: "mm/s";
|
|
32
|
+
readonly MeterPerSecond: "m/s";
|
|
33
|
+
readonly MeterPerMinute: "m/min";
|
|
34
|
+
readonly CentiMeterPerSecond: "cm/s";
|
|
35
|
+
readonly MeterPerHour: "m/h";
|
|
36
|
+
readonly KilometerPerHour: "km/h";
|
|
37
|
+
readonly RevolutionsPerMinute: "rpm";
|
|
38
|
+
readonly Percent: "percent";
|
|
39
|
+
readonly PartsPerMillion: "ppm";
|
|
40
|
+
readonly PartsPerBillion: "ppb";
|
|
41
|
+
readonly PartsPerTrillion: "ppt";
|
|
42
|
+
readonly Decibel: "dB";
|
|
43
|
+
readonly Degree: "°";
|
|
44
|
+
readonly Radian: "rad";
|
|
45
|
+
readonly Miligram: "mg";
|
|
46
|
+
readonly Gram: "g";
|
|
47
|
+
readonly Kilogram: "kg";
|
|
48
|
+
readonly MetricTon: "t";
|
|
49
|
+
readonly MiliVolt: "mV";
|
|
50
|
+
readonly Volt: "V";
|
|
51
|
+
readonly KiloVolt: "kV";
|
|
52
|
+
readonly MegaVolt: "MV";
|
|
53
|
+
readonly MiliAmpere: "mA";
|
|
54
|
+
readonly Ampere: "A";
|
|
55
|
+
readonly KiloAmpere: "kA";
|
|
56
|
+
readonly MegaAmpere: "MA";
|
|
57
|
+
readonly MiliWatt: "mW";
|
|
58
|
+
readonly Watt: "W";
|
|
59
|
+
readonly KiloWatt: "kW";
|
|
60
|
+
readonly MegaWatt: "MW";
|
|
61
|
+
readonly MiliWattHour: "mWh";
|
|
62
|
+
readonly WattHour: "Wh";
|
|
63
|
+
readonly KiloWattHour: "kWh";
|
|
64
|
+
readonly MegaWattHour: "MWh";
|
|
65
|
+
readonly MiliVoltAmpere: "mVA";
|
|
66
|
+
readonly VoltAmpere: "VA";
|
|
67
|
+
readonly KiloVoltAmpere: "kVA";
|
|
68
|
+
readonly MegaVoltAmpere: "MVA";
|
|
69
|
+
readonly MiliVoltAmpereReactive: "mVAR";
|
|
70
|
+
readonly VoltAmpereReactive: "VAR";
|
|
71
|
+
readonly KiloVoltAmpereReactive: "kVAR";
|
|
72
|
+
readonly MegaVoltAmpereReactive: "MVAR";
|
|
73
|
+
readonly CubicMeterPerHour: "m^3/h";
|
|
74
|
+
readonly CubicMeterPerSecond: "m^3/s";
|
|
75
|
+
readonly MegaGramPerHour: "Mg/h";
|
|
76
|
+
readonly MetricTonPerHour: "t/h";
|
|
77
|
+
};
|
|
78
|
+
export declare const GeneratedDataSizeMeasurements: {
|
|
79
|
+
readonly Bit: "bit";
|
|
80
|
+
readonly Byte: "B";
|
|
81
|
+
readonly KiloByte: "kB";
|
|
82
|
+
readonly MegaByte: "MB";
|
|
83
|
+
readonly GigaByte: "GB";
|
|
84
|
+
readonly TeraByte: "TB";
|
|
85
|
+
readonly PetaByte: "PB";
|
|
86
|
+
readonly ExaByte: "EB";
|
|
87
|
+
readonly ZettaByte: "ZB";
|
|
88
|
+
readonly YottaByte: "YB";
|
|
89
|
+
};
|
|
90
|
+
export declare const GeneratedCounterMeasurements: {
|
|
91
|
+
readonly Kilo: "k";
|
|
92
|
+
readonly Mega: "M";
|
|
93
|
+
readonly Giga: "G";
|
|
94
|
+
};
|
|
95
|
+
export type GeneratedPhysicalMeasurement = typeof GeneratedPhysicalMeasurements[keyof typeof GeneratedPhysicalMeasurements];
|
|
96
|
+
export type GeneratedDataSizeMeasurement = typeof GeneratedDataSizeMeasurements[keyof typeof GeneratedDataSizeMeasurements];
|
|
97
|
+
export type GeneratedCounterMeasurement = typeof GeneratedCounterMeasurements[keyof typeof GeneratedCounterMeasurements];
|
|
98
|
+
export type GeneratedMeasurementUnit = GeneratedPhysicalMeasurement | GeneratedDataSizeMeasurement | GeneratedCounterMeasurement | (string & {});
|
|
99
|
+
//# sourceMappingURL=uns-measurements.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uns-measurements.generated.d.ts","sourceRoot":"","sources":["../../src/uns/uns-measurements.generated.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4EhC,CAAC;AAEX,eAAO,MAAM,6BAA6B;;;;;;;;;;;CAWhC,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;CAI/B,CAAC;AAEX,MAAM,MAAM,4BAA4B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAC5H,MAAM,MAAM,4BAA4B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAC5H,MAAM,MAAM,2BAA2B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC;AACzH,MAAM,MAAM,wBAAwB,GAAG,4BAA4B,GAAG,4BAA4B,GAAG,2BAA2B,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/* Auto-generated placeholder. Run generate-uns-measurements.ts to regenerate. */
|
|
2
|
+
export const GeneratedPhysicalMeasurements = {
|
|
3
|
+
"None": "",
|
|
4
|
+
"MiliMeter": "mm",
|
|
5
|
+
"Meter": "m",
|
|
6
|
+
"KiloMeter": "km",
|
|
7
|
+
"Feet": "ft",
|
|
8
|
+
"Second": "s",
|
|
9
|
+
"Minute": "min",
|
|
10
|
+
"Hour": "h",
|
|
11
|
+
"Day": "day",
|
|
12
|
+
"Hertz": "Hz",
|
|
13
|
+
"CubicMeter": "m^3",
|
|
14
|
+
"Liter": "l",
|
|
15
|
+
"Gallon": "gal",
|
|
16
|
+
"Psi": "psi",
|
|
17
|
+
"Pascal": "Pa",
|
|
18
|
+
"Bar": "bar",
|
|
19
|
+
"Celsius": "°C",
|
|
20
|
+
"Fahrenheit": "°F",
|
|
21
|
+
"Kelvin": "K",
|
|
22
|
+
"Milijoule": "mJ",
|
|
23
|
+
"Joule": "J",
|
|
24
|
+
"Kilojoule": "kJ",
|
|
25
|
+
"Megajoule": "MJ",
|
|
26
|
+
"Gigajoule": "GJ",
|
|
27
|
+
"Terajoule": "TJ",
|
|
28
|
+
"Newton": "N",
|
|
29
|
+
"Bit": "bit",
|
|
30
|
+
"Byte": "byte",
|
|
31
|
+
"B": "B",
|
|
32
|
+
"MilimeterPerSecond": "mm/s",
|
|
33
|
+
"MeterPerSecond": "m/s",
|
|
34
|
+
"MeterPerMinute": "m/min",
|
|
35
|
+
"CentiMeterPerSecond": "cm/s",
|
|
36
|
+
"MeterPerHour": "m/h",
|
|
37
|
+
"KilometerPerHour": "km/h",
|
|
38
|
+
"RevolutionsPerMinute": "rpm",
|
|
39
|
+
"Percent": "percent",
|
|
40
|
+
"PartsPerMillion": "ppm",
|
|
41
|
+
"PartsPerBillion": "ppb",
|
|
42
|
+
"PartsPerTrillion": "ppt",
|
|
43
|
+
"Decibel": "dB",
|
|
44
|
+
"Degree": "°",
|
|
45
|
+
"Radian": "rad",
|
|
46
|
+
"Miligram": "mg",
|
|
47
|
+
"Gram": "g",
|
|
48
|
+
"Kilogram": "kg",
|
|
49
|
+
"MetricTon": "t",
|
|
50
|
+
"MiliVolt": "mV",
|
|
51
|
+
"Volt": "V",
|
|
52
|
+
"KiloVolt": "kV",
|
|
53
|
+
"MegaVolt": "MV",
|
|
54
|
+
"MiliAmpere": "mA",
|
|
55
|
+
"Ampere": "A",
|
|
56
|
+
"KiloAmpere": "kA",
|
|
57
|
+
"MegaAmpere": "MA",
|
|
58
|
+
"MiliWatt": "mW",
|
|
59
|
+
"Watt": "W",
|
|
60
|
+
"KiloWatt": "kW",
|
|
61
|
+
"MegaWatt": "MW",
|
|
62
|
+
"MiliWattHour": "mWh",
|
|
63
|
+
"WattHour": "Wh",
|
|
64
|
+
"KiloWattHour": "kWh",
|
|
65
|
+
"MegaWattHour": "MWh",
|
|
66
|
+
"MiliVoltAmpere": "mVA",
|
|
67
|
+
"VoltAmpere": "VA",
|
|
68
|
+
"KiloVoltAmpere": "kVA",
|
|
69
|
+
"MegaVoltAmpere": "MVA",
|
|
70
|
+
"MiliVoltAmpereReactive": "mVAR",
|
|
71
|
+
"VoltAmpereReactive": "VAR",
|
|
72
|
+
"KiloVoltAmpereReactive": "kVAR",
|
|
73
|
+
"MegaVoltAmpereReactive": "MVAR",
|
|
74
|
+
"CubicMeterPerHour": "m^3/h",
|
|
75
|
+
"CubicMeterPerSecond": "m^3/s",
|
|
76
|
+
"MegaGramPerHour": "Mg/h",
|
|
77
|
+
"MetricTonPerHour": "t/h",
|
|
78
|
+
};
|
|
79
|
+
export const GeneratedDataSizeMeasurements = {
|
|
80
|
+
"Bit": "bit",
|
|
81
|
+
"Byte": "B",
|
|
82
|
+
"KiloByte": "kB",
|
|
83
|
+
"MegaByte": "MB",
|
|
84
|
+
"GigaByte": "GB",
|
|
85
|
+
"TeraByte": "TB",
|
|
86
|
+
"PetaByte": "PB",
|
|
87
|
+
"ExaByte": "EB",
|
|
88
|
+
"ZettaByte": "ZB",
|
|
89
|
+
"YottaByte": "YB",
|
|
90
|
+
};
|
|
91
|
+
export const GeneratedCounterMeasurements = {
|
|
92
|
+
"Kilo": "k",
|
|
93
|
+
"Mega": "M",
|
|
94
|
+
"Giga": "G",
|
|
95
|
+
};
|
|
96
|
+
//# sourceMappingURL=uns-measurements.generated.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uns-measurements.generated.js","sourceRoot":"","sources":["../../src/uns/uns-measurements.generated.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,MAAM,EAAE,EAAE;IACV,WAAW,EAAE,IAAI;IACjB,OAAO,EAAE,GAAG;IACZ,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,GAAG;IACb,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,GAAG;IACX,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,IAAI;IACb,YAAY,EAAE,KAAK;IACnB,OAAO,EAAE,GAAG;IACZ,QAAQ,EAAE,KAAK;IACf,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE,KAAK;IACZ,SAAS,EAAE,IAAI;IACf,YAAY,EAAE,IAAI;IAClB,QAAQ,EAAE,GAAG;IACb,WAAW,EAAE,IAAI;IACjB,OAAO,EAAE,GAAG;IACZ,WAAW,EAAE,IAAI;IACjB,WAAW,EAAE,IAAI;IACjB,WAAW,EAAE,IAAI;IACjB,WAAW,EAAE,IAAI;IACjB,QAAQ,EAAE,GAAG;IACb,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,MAAM;IACd,GAAG,EAAE,GAAG;IACR,oBAAoB,EAAE,MAAM;IAC5B,gBAAgB,EAAE,KAAK;IACvB,gBAAgB,EAAE,OAAO;IACzB,qBAAqB,EAAE,MAAM;IAC7B,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,MAAM;IAC1B,sBAAsB,EAAE,KAAK;IAC7B,SAAS,EAAE,SAAS;IACpB,iBAAiB,EAAE,KAAK;IACxB,iBAAiB,EAAE,KAAK;IACxB,kBAAkB,EAAE,KAAK;IACzB,SAAS,EAAE,IAAI;IACf,QAAQ,EAAE,GAAG;IACb,QAAQ,EAAE,KAAK;IACf,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,GAAG;IACX,UAAU,EAAE,IAAI;IAChB,WAAW,EAAE,GAAG;IAChB,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,GAAG;IACX,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE,IAAI;IAClB,QAAQ,EAAE,GAAG;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,EAAE,IAAI;IAClB,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,GAAG;IACX,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,IAAI;IAChB,cAAc,EAAE,KAAK;IACrB,cAAc,EAAE,KAAK;IACrB,gBAAgB,EAAE,KAAK;IACvB,YAAY,EAAE,IAAI;IAClB,gBAAgB,EAAE,KAAK;IACvB,gBAAgB,EAAE,KAAK;IACvB,wBAAwB,EAAE,MAAM;IAChC,oBAAoB,EAAE,KAAK;IAC3B,wBAAwB,EAAE,MAAM;IAChC,wBAAwB,EAAE,MAAM;IAChC,mBAAmB,EAAE,OAAO;IAC5B,qBAAqB,EAAE,OAAO;IAC9B,iBAAiB,EAAE,MAAM;IACzB,kBAAkB,EAAE,KAAK;CACjB,CAAC;AAEX,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,GAAG;IACX,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,WAAW,EAAE,IAAI;CACT,CAAC;AAEX,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,MAAM,EAAE,GAAG;IACX,MAAM,EAAE,GAAG;IACX,MAAM,EAAE,GAAG;CACH,CAAC","sourcesContent":["/* Auto-generated placeholder. Run generate-uns-measurements.ts to regenerate. */\nexport const GeneratedPhysicalMeasurements = {\n \"None\": \"\",\n \"MiliMeter\": \"mm\",\n \"Meter\": \"m\",\n \"KiloMeter\": \"km\",\n \"Feet\": \"ft\",\n \"Second\": \"s\",\n \"Minute\": \"min\",\n \"Hour\": \"h\",\n \"Day\": \"day\",\n \"Hertz\": \"Hz\",\n \"CubicMeter\": \"m^3\",\n \"Liter\": \"l\",\n \"Gallon\": \"gal\",\n \"Psi\": \"psi\",\n \"Pascal\": \"Pa\",\n \"Bar\": \"bar\",\n \"Celsius\": \"°C\",\n \"Fahrenheit\": \"°F\",\n \"Kelvin\": \"K\",\n \"Milijoule\": \"mJ\",\n \"Joule\": \"J\",\n \"Kilojoule\": \"kJ\",\n \"Megajoule\": \"MJ\",\n \"Gigajoule\": \"GJ\",\n \"Terajoule\": \"TJ\",\n \"Newton\": \"N\",\n \"Bit\": \"bit\",\n \"Byte\": \"byte\",\n \"B\": \"B\",\n \"MilimeterPerSecond\": \"mm/s\",\n \"MeterPerSecond\": \"m/s\",\n \"MeterPerMinute\": \"m/min\",\n \"CentiMeterPerSecond\": \"cm/s\",\n \"MeterPerHour\": \"m/h\",\n \"KilometerPerHour\": \"km/h\",\n \"RevolutionsPerMinute\": \"rpm\",\n \"Percent\": \"percent\",\n \"PartsPerMillion\": \"ppm\",\n \"PartsPerBillion\": \"ppb\",\n \"PartsPerTrillion\": \"ppt\",\n \"Decibel\": \"dB\",\n \"Degree\": \"°\",\n \"Radian\": \"rad\",\n \"Miligram\": \"mg\",\n \"Gram\": \"g\",\n \"Kilogram\": \"kg\",\n \"MetricTon\": \"t\",\n \"MiliVolt\": \"mV\",\n \"Volt\": \"V\",\n \"KiloVolt\": \"kV\",\n \"MegaVolt\": \"MV\",\n \"MiliAmpere\": \"mA\",\n \"Ampere\": \"A\",\n \"KiloAmpere\": \"kA\",\n \"MegaAmpere\": \"MA\",\n \"MiliWatt\": \"mW\",\n \"Watt\": \"W\",\n \"KiloWatt\": \"kW\",\n \"MegaWatt\": \"MW\",\n \"MiliWattHour\": \"mWh\",\n \"WattHour\": \"Wh\",\n \"KiloWattHour\": \"kWh\",\n \"MegaWattHour\": \"MWh\",\n \"MiliVoltAmpere\": \"mVA\",\n \"VoltAmpere\": \"VA\",\n \"KiloVoltAmpere\": \"kVA\",\n \"MegaVoltAmpere\": \"MVA\",\n \"MiliVoltAmpereReactive\": \"mVAR\",\n \"VoltAmpereReactive\": \"VAR\",\n \"KiloVoltAmpereReactive\": \"kVAR\",\n \"MegaVoltAmpereReactive\": \"MVAR\",\n \"CubicMeterPerHour\": \"m^3/h\",\n \"CubicMeterPerSecond\": \"m^3/s\",\n \"MegaGramPerHour\": \"Mg/h\",\n \"MetricTonPerHour\": \"t/h\",\n} as const;\n\nexport const GeneratedDataSizeMeasurements = {\n \"Bit\": \"bit\",\n \"Byte\": \"B\",\n \"KiloByte\": \"kB\",\n \"MegaByte\": \"MB\",\n \"GigaByte\": \"GB\",\n \"TeraByte\": \"TB\",\n \"PetaByte\": \"PB\",\n \"ExaByte\": \"EB\",\n \"ZettaByte\": \"ZB\",\n \"YottaByte\": \"YB\",\n} as const;\n\nexport const GeneratedCounterMeasurements = {\n \"Kilo\": \"k\",\n \"Mega\": \"M\",\n \"Giga\": \"G\",\n} as const;\n\nexport type GeneratedPhysicalMeasurement = typeof GeneratedPhysicalMeasurements[keyof typeof GeneratedPhysicalMeasurements];\nexport type GeneratedDataSizeMeasurement = typeof GeneratedDataSizeMeasurements[keyof typeof GeneratedDataSizeMeasurements];\nexport type GeneratedCounterMeasurement = typeof GeneratedCounterMeasurements[keyof typeof GeneratedCounterMeasurements];\nexport type GeneratedMeasurementUnit = GeneratedPhysicalMeasurement | GeneratedDataSizeMeasurement | GeneratedCounterMeasurement | (string & {});\n"]}
|
|
@@ -1,147 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
DataSizeMeasurements["Byte"] = "B";
|
|
6
|
-
DataSizeMeasurements["KiloByte"] = "kB";
|
|
7
|
-
DataSizeMeasurements["MegaByte"] = "MB";
|
|
8
|
-
DataSizeMeasurements["GigaByte"] = "GB";
|
|
9
|
-
DataSizeMeasurements["TeraByte"] = "TB";
|
|
10
|
-
DataSizeMeasurements["PetaByte"] = "PB";
|
|
11
|
-
DataSizeMeasurements["ExaByte"] = "EB";
|
|
12
|
-
DataSizeMeasurements["ZettaByte"] = "ZB";
|
|
13
|
-
DataSizeMeasurements["YottaByte"] = "YB";
|
|
14
|
-
})(DataSizeMeasurements || (DataSizeMeasurements = {}));
|
|
15
|
-
// Counter Measurements
|
|
16
|
-
export var CounterMeasurements;
|
|
17
|
-
(function (CounterMeasurements) {
|
|
18
|
-
CounterMeasurements["Kilo"] = "k";
|
|
19
|
-
CounterMeasurements["Mega"] = "M";
|
|
20
|
-
CounterMeasurements["Giga"] = "G";
|
|
21
|
-
})(CounterMeasurements || (CounterMeasurements = {}));
|
|
22
|
-
// Physical Measurements
|
|
23
|
-
export var PhysicalMeasurements;
|
|
24
|
-
(function (PhysicalMeasurements) {
|
|
25
|
-
PhysicalMeasurements["None"] = "";
|
|
26
|
-
// Length
|
|
27
|
-
// -------------------------------------------------
|
|
28
|
-
PhysicalMeasurements["MiliMeter"] = "mm";
|
|
29
|
-
PhysicalMeasurements["Meter"] = "m";
|
|
30
|
-
PhysicalMeasurements["KiloMeter"] = "km";
|
|
31
|
-
PhysicalMeasurements["Feet"] = "ft";
|
|
32
|
-
// Time
|
|
33
|
-
// -------------------------------------------------
|
|
34
|
-
PhysicalMeasurements["Second"] = "s";
|
|
35
|
-
PhysicalMeasurements["Minute"] = "min";
|
|
36
|
-
PhysicalMeasurements["Hour"] = "h";
|
|
37
|
-
PhysicalMeasurements["Day"] = "day";
|
|
38
|
-
// Frequency
|
|
39
|
-
// -------------------------------------------------
|
|
40
|
-
PhysicalMeasurements["Hertz"] = "Hz";
|
|
41
|
-
// Volume
|
|
42
|
-
// -------------------------------------------------
|
|
43
|
-
PhysicalMeasurements["CubicMeter"] = "m^3";
|
|
44
|
-
PhysicalMeasurements["Liter"] = "l";
|
|
45
|
-
PhysicalMeasurements["Gallon"] = "gal";
|
|
46
|
-
// Pressure
|
|
47
|
-
// -------------------------------------------------
|
|
48
|
-
PhysicalMeasurements["Psi"] = "psi";
|
|
49
|
-
PhysicalMeasurements["Pascal"] = "Pa";
|
|
50
|
-
PhysicalMeasurements["Bar"] = "bar";
|
|
51
|
-
// Temperature
|
|
52
|
-
// -------------------------------------------------
|
|
53
|
-
PhysicalMeasurements["Celsius"] = "\u00B0C";
|
|
54
|
-
PhysicalMeasurements["Fahrenheit"] = "\u00B0F";
|
|
55
|
-
PhysicalMeasurements["Kelvin"] = "K";
|
|
56
|
-
// Energy
|
|
57
|
-
// -------------------------------------------------
|
|
58
|
-
PhysicalMeasurements["Milijoule"] = "mJ";
|
|
59
|
-
PhysicalMeasurements["Joule"] = "J";
|
|
60
|
-
PhysicalMeasurements["Kilojoule"] = "kJ";
|
|
61
|
-
PhysicalMeasurements["Megajoule"] = "MJ";
|
|
62
|
-
PhysicalMeasurements["Gigajoule"] = "GJ";
|
|
63
|
-
PhysicalMeasurements["Terajoule"] = "TJ";
|
|
64
|
-
// Force
|
|
65
|
-
// -------------------------------------------------
|
|
66
|
-
PhysicalMeasurements["Newton"] = "N";
|
|
67
|
-
// Data
|
|
68
|
-
// -------------------------------------------------
|
|
69
|
-
PhysicalMeasurements["Bit"] = "bit";
|
|
70
|
-
PhysicalMeasurements["Byte"] = "byte";
|
|
71
|
-
PhysicalMeasurements["B"] = "B";
|
|
72
|
-
// Speed
|
|
73
|
-
// -------------------------------------------------
|
|
74
|
-
PhysicalMeasurements["MilimeterPerSecond"] = "mm/s";
|
|
75
|
-
PhysicalMeasurements["MeterPerSecond"] = "m/s";
|
|
76
|
-
PhysicalMeasurements["MeterPerMinute"] = "m/min";
|
|
77
|
-
PhysicalMeasurements["CentiMeterPerSecond"] = "cm/s";
|
|
78
|
-
PhysicalMeasurements["MeterPerHour"] = "m/h";
|
|
79
|
-
PhysicalMeasurements["KilometerPerHour"] = "km/h";
|
|
80
|
-
// Rotational Speed
|
|
81
|
-
// -------------------------------------------------
|
|
82
|
-
PhysicalMeasurements["RevolutionsPerMinute"] = "rpm";
|
|
83
|
-
// Percentage
|
|
84
|
-
// -------------------------------------------------
|
|
85
|
-
PhysicalMeasurements["Percent"] = "percent";
|
|
86
|
-
// Parts Per
|
|
87
|
-
// -------------------------------------------------
|
|
88
|
-
PhysicalMeasurements["PartsPerMillion"] = "ppm";
|
|
89
|
-
PhysicalMeasurements["PartsPerBillion"] = "ppb";
|
|
90
|
-
PhysicalMeasurements["PartsPerTrillion"] = "ppt";
|
|
91
|
-
// Other Angular Units
|
|
92
|
-
// -------------------------------------------------
|
|
93
|
-
PhysicalMeasurements["Decibel"] = "dB";
|
|
94
|
-
PhysicalMeasurements["Degree"] = "\u00B0";
|
|
95
|
-
PhysicalMeasurements["Radian"] = "rad";
|
|
96
|
-
// Mass
|
|
97
|
-
// -------------------------------------------------
|
|
98
|
-
PhysicalMeasurements["Miligram"] = "mg";
|
|
99
|
-
PhysicalMeasurements["Gram"] = "g";
|
|
100
|
-
PhysicalMeasurements["Kilogram"] = "kg";
|
|
101
|
-
PhysicalMeasurements["MetricTon"] = "t";
|
|
102
|
-
// Electric Potential
|
|
103
|
-
// -------------------------------------------------
|
|
104
|
-
PhysicalMeasurements["MiliVolt"] = "mV";
|
|
105
|
-
PhysicalMeasurements["Volt"] = "V";
|
|
106
|
-
PhysicalMeasurements["KiloVolt"] = "kV";
|
|
107
|
-
PhysicalMeasurements["MegaVolt"] = "MV";
|
|
108
|
-
// Electric Current
|
|
109
|
-
// -------------------------------------------------
|
|
110
|
-
PhysicalMeasurements["MiliAmpere"] = "mA";
|
|
111
|
-
PhysicalMeasurements["Ampere"] = "A";
|
|
112
|
-
PhysicalMeasurements["KiloAmpere"] = "kA";
|
|
113
|
-
PhysicalMeasurements["MegaAmpere"] = "MA";
|
|
114
|
-
// Power
|
|
115
|
-
// -------------------------------------------------
|
|
116
|
-
PhysicalMeasurements["MiliWatt"] = "mW";
|
|
117
|
-
PhysicalMeasurements["Watt"] = "W";
|
|
118
|
-
PhysicalMeasurements["KiloWatt"] = "kW";
|
|
119
|
-
PhysicalMeasurements["MegaWatt"] = "MW";
|
|
120
|
-
// Energy per unit time
|
|
121
|
-
// -------------------------------------------------
|
|
122
|
-
PhysicalMeasurements["MiliWattHour"] = "mWh";
|
|
123
|
-
PhysicalMeasurements["WattHour"] = "Wh";
|
|
124
|
-
PhysicalMeasurements["KiloWattHour"] = "kWh";
|
|
125
|
-
PhysicalMeasurements["MegaWattHour"] = "MWh";
|
|
126
|
-
// Apparent Power
|
|
127
|
-
// -------------------------------------------------
|
|
128
|
-
PhysicalMeasurements["MiliVoltAmpere"] = "mVA";
|
|
129
|
-
PhysicalMeasurements["VoltAmpere"] = "VA";
|
|
130
|
-
PhysicalMeasurements["KiloVoltAmpere"] = "kVA";
|
|
131
|
-
PhysicalMeasurements["MegaVoltAmpere"] = "MVA";
|
|
132
|
-
// Reactive Power
|
|
133
|
-
// -------------------------------------------------
|
|
134
|
-
PhysicalMeasurements["MiliVoltAmpereReactive"] = "mVAR";
|
|
135
|
-
PhysicalMeasurements["VoltAmpereReactive"] = "VAR";
|
|
136
|
-
PhysicalMeasurements["KiloVoltAmpereReactive"] = "kVAR";
|
|
137
|
-
PhysicalMeasurements["MegaVoltAmpereReactive"] = "MVAR";
|
|
138
|
-
// Flow Rates
|
|
139
|
-
// -------------------------------------------------
|
|
140
|
-
PhysicalMeasurements["CubicMeterPerHour"] = "m^3/h";
|
|
141
|
-
PhysicalMeasurements["CubicMeterPerSecond"] = "m^3/s";
|
|
142
|
-
// Other
|
|
143
|
-
// -------------------------------------------------
|
|
144
|
-
PhysicalMeasurements["MegaGramPerHour"] = "Mg/h";
|
|
145
|
-
PhysicalMeasurements["MetricTonPerHour"] = "t/h";
|
|
146
|
-
})(PhysicalMeasurements || (PhysicalMeasurements = {}));
|
|
1
|
+
import { GeneratedCounterMeasurements, GeneratedDataSizeMeasurements, GeneratedPhysicalMeasurements, } from "./uns-measurements.generated.js";
|
|
2
|
+
export const PhysicalMeasurements = GeneratedPhysicalMeasurements;
|
|
3
|
+
export const DataSizeMeasurements = GeneratedDataSizeMeasurements;
|
|
4
|
+
export const CounterMeasurements = GeneratedCounterMeasurements;
|
|
147
5
|
//# sourceMappingURL=uns-measurements.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uns-measurements.js","sourceRoot":"","sources":["../../src/uns/uns-measurements.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"uns-measurements.js","sourceRoot":"","sources":["../../src/uns/uns-measurements.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,4BAA4B,EAE5B,6BAA6B,EAG7B,6BAA6B,GAC9B,MAAM,iCAAiC,CAAC;AAEzC,MAAM,CAAC,MAAM,oBAAoB,GAAG,6BAA6B,CAAC;AAGlE,MAAM,CAAC,MAAM,oBAAoB,GAAG,6BAA6B,CAAC;AAGlE,MAAM,CAAC,MAAM,mBAAmB,GAAG,4BAA4B,CAAC","sourcesContent":["import {\n GeneratedCounterMeasurement,\n GeneratedCounterMeasurements,\n GeneratedDataSizeMeasurement,\n GeneratedDataSizeMeasurements,\n GeneratedMeasurementUnit,\n GeneratedPhysicalMeasurement,\n GeneratedPhysicalMeasurements,\n} from \"./uns-measurements.generated.js\";\n\nexport const PhysicalMeasurements = GeneratedPhysicalMeasurements;\nexport type PhysicalMeasurements = GeneratedPhysicalMeasurement;\n\nexport const DataSizeMeasurements = GeneratedDataSizeMeasurements;\nexport type DataSizeMeasurements = GeneratedDataSizeMeasurement;\n\nexport const CounterMeasurements = GeneratedCounterMeasurements;\nexport type CounterMeasurements = GeneratedCounterMeasurement;\n\nexport type MeasurementUnit = GeneratedMeasurementUnit;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mqtt-interfaces.d.ts","sourceRoot":"","sources":["../../src/uns-mqtt/mqtt-interfaces.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"mqtt-interfaces.d.ts","sourceRoot":"","sources":["../../src/uns-mqtt/mqtt-interfaces.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,MAAM,WAAW,qBAAqB;IACpC,eAAe,EAAE;QAAE,MAAM,EAAE,OAAO,CAAC;KAAE,CAAC;CACvC;AAED,MAAM,WAAW,eAAe;IAC9B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;IACzB,gBAAgB,EAAE,OAAO,CAAC;CAC3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mqtt-interfaces.js","sourceRoot":"","sources":["../../src/uns-mqtt/mqtt-interfaces.ts"],"names":[],"mappings":"","sourcesContent":["export interface IMqttParameters {\n mqttSubToTopics?: string | string[];\n username?: string;\n password?: string;\n mqttSSL?: boolean;\n statusTopic?: string;\n}\n\nexport interface HandoverManagerEvents {\n handoverManager: { active: boolean; };\n}\n\nexport interface IMqttWorkerData {\n publishThrottlingDelay?: number; // Delay in milliseconds; default is 1ms\n subscribeThrottlingDelay?: number; // Delay in milliseconds; default is 1ms\n persistToDisk?: boolean; // Whether to persist the queue to disk; default is false\n mqttHost: string; // MQTT broker host\n instanceNameWithSuffix: string; // Unique instance name for logging\n mqttParameters?: any; // Additional parameters for the MQTT client \n publisherActive: boolean; // Whether the publisher is active\n subscriberActive: boolean; // Whether the subscriber is active\n}"]}
|
|
1
|
+
{"version":3,"file":"mqtt-interfaces.js","sourceRoot":"","sources":["../../src/uns-mqtt/mqtt-interfaces.ts"],"names":[],"mappings":"","sourcesContent":["export interface IMqttParameters {\n mqttSubToTopics?: string | string[];\n username?: string;\n password?: string;\n mqttSSL?: boolean;\n statusTopic?: string;\n rejectUnauthorized?: boolean;\n}\n\nexport interface HandoverManagerEvents {\n handoverManager: { active: boolean; };\n}\n\nexport interface IMqttWorkerData {\n publishThrottlingDelay?: number; // Delay in milliseconds; default is 1ms\n subscribeThrottlingDelay?: number; // Delay in milliseconds; default is 1ms\n persistToDisk?: boolean; // Whether to persist the queue to disk; default is false\n mqttHost: string; // MQTT broker host\n instanceNameWithSuffix: string; // Unique instance name for logging\n mqttParameters?: any; // Additional parameters for the MQTT client \n publisherActive: boolean; // Whether the publisher is active\n subscriberActive: boolean; // Whether the subscriber is active\n}"]}
|