-
Notifications
You must be signed in to change notification settings - Fork 1
/
sdfobject-up_down_control.sdf.json
52 lines (52 loc) · 1.89 KB
/
sdfobject-up_down_control.sdf.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
{
"info": {
"title": "OMA/IPSO Up/Down Control (Object ID 3344)",
"version": "2022-02-22",
"copyright": "Copyright 2019 Open Mobile Alliance.",
"license": "BSD-3-Clause"
},
"namespace": {
"oma": "https://onedm.org/ecosystem/oma"
},
"defaultNamespace": "oma",
"sdfObject": {
"Up_Down_Control": {
"label": "Up/Down Control",
"description": "This IPSO object is used to report the state of an up/down control element like a pair of push buttons or a rotary encoder. Counters for increase and decrease operations are provided for counting pulses from a quadrature encoder.",
"sdfProperty": {
"Increase_Input_State": {
"label": "Increase Input State",
"description": "Indicates an increase control action.",
"writable": false,
"type": "boolean"
},
"Decrease_Input_State": {
"label": "Decrease Input State",
"description": "Indicates a decrease control action.",
"writable": false,
"type": "boolean"
},
"Up_Counter": {
"label": "Up Counter",
"description": "Counts the number of times the increase control has been operated. Writing a 0 resets the counter.",
"type": "integer"
},
"Down_Counter": {
"label": "Down Counter",
"description": "Counts the times the decrease control has been operated. Writing a 0 resets the counter.",
"type": "integer"
},
"Application_Type": {
"label": "Application Type",
"description": "The application type of the sensor or actuator as a string depending on the use case.",
"type": "string"
}
},
"sdfAction": {},
"sdfRequired": [
"#/sdfObject/Up_Down_Control/sdfProperty/Increase_Input_State",
"#/sdfObject/Up_Down_Control/sdfProperty/Decrease_Input_State"
]
}
}
}