Skip to content

Commit 40a2479

Browse files
committed
adj models
1 parent a3e98fe commit 40a2479

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

backend/internal/adj/models.go

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,39 @@ type ADJ struct {
44
Info Info
55
Boards map[string]Board
66
}
7+
8+
type Info struct {
9+
Addresses map[string]string
10+
Units map[string]string
11+
Ports map[string]string
12+
BoardIds map[string]string
13+
MessageIds map[string]string
14+
}
15+
16+
type Board struct {
17+
Name string
18+
Packets []Packet
19+
Measurements []Measurement
20+
Structures []Structure
21+
}
22+
23+
type Packet struct {
24+
Id string
25+
Name string
26+
Type string
27+
}
28+
29+
type Measurement struct {
30+
Id string
31+
Name string
32+
Type string
33+
PodUnits string
34+
DisplayUnits string
35+
SafeRange string
36+
WarningRange string
37+
}
38+
39+
type Structure struct {
40+
Packet string
41+
Measurements []string
42+
}

0 commit comments

Comments
 (0)