forked from iotmodels/MQTTnet.Extensions.MultiCloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdtmi_rido_pnp_memmon-1.json
72 lines (72 loc) · 1.49 KB
/
dtmi_rido_pnp_memmon-1.json
1
2
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
{
"@context": "dtmi:dtdl:context;2",
"@id": "dtmi:rido:pnp:memmon;1",
"@type": "Interface",
"contents": [
{
"@type": "Property",
"name": "started",
"schema": "dateTime"
},
{
"@type": "Property",
"name": "enabled",
"schema": "boolean",
"writable": true
},
{
"@type": ["Property", "TimeSpan"],
"name": "interval",
"schema": "integer",
"writable": true,
"unit": "second"
},
{
"@type": ["Telemetry", "DataSize"],
"name": "workingSet",
"schema": "double",
"unit": "byte"
},
{
"@type": "Command",
"name": "getRuntimeStats",
"request": {
"@type": "CommandPayload",
"name": "diagnosticsMode",
"schema": {
"@type": "Enum",
"enumValues": [
{
"name": "minimal",
"enumValue": 0
},
{
"enumValue": 1,
"name": "complete"
},
{
"name": "full",
"enumValue": 2
}
],
"valueSchema": "integer"
}
},
"response": {
"@type": "CommandPayload",
"name": "diagnosticResults",
"schema": {
"@type": "Map",
"mapKey": {
"name": "key",
"schema": "string"
},
"mapValue": {
"name": "val",
"schema": "string"
}
}
}
}
]
}