-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhmi_api.d.ts
68 lines (61 loc) · 1.43 KB
/
hmi_api.d.ts
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
declare namespace sdl {
export interface Element {
$: {
name: string;
value?: string;
};
description?: string[];
}
export interface Enum {
$: {
name: string;
}
element: Element[];
description?: string[];
}
export interface Param {
$: {
name: string;
type: 'Boolean' | 'Integer' | 'Float' | 'String' | string;
array?: "true";
mandatory: 'true' | 'false';
defvalue?: string;
minvalue?: string;
maxvalue?: string;
minlength?: string;
maxlength?: string;
}
description?: string[];
}
export interface Struct {
$: {
name: string;
}
param: Param[];
description?: string[];
}
export interface Function {
$: {
name: string;
functionID?: string;
messagetype: 'request' | 'response' | 'notification';
}
description?: string[];
param?: Param[];
}
export interface Interface {
$: {
name: string;
};
enum?: Enum[];
struct?: Struct[];
function?: Function[];
description?: string[];
}
export interface Interfaces {
interface: Interface[];
}
export interface RootObject {
interfaces: Interfaces;
}
}