-
Notifications
You must be signed in to change notification settings - Fork 14
/
structures_motivewave.go
69 lines (59 loc) · 1.78 KB
/
structures_motivewave.go
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
package ewa
type mwQuery struct {
Impulses []mwImpulse `xml:"graph>impulse"`
ImpulsesLeading []mwImpulse `xml:"graph>leading_diagonal"`
ImpulsesEnding []mwImpulse `xml:"graph>ending_diagonal"`
Corrections []mwCorrection `xml:"graph>correction"`
Triangles []mwTriangle `xml:"graph>triangle"`
TripleCombo []mwComboTriple `xml:"graph>triple_combo"`
}
type mwPoint struct {
T int64 `xml:"time,attr"`
P float64 `xml:"value,attr"`
}
type mwImpulse struct {
ID int64 `xml:"id,attr"`
ParentID int64 `xml:"parentId,attr"`
Degree string `xml:"degree,attr"`
Origin mwPoint `xml:"origin"`
Wave1 mwPoint `xml:"wave1"`
Wave2 mwPoint `xml:"wave2"`
Wave3 mwPoint `xml:"wave3"`
Wave4 mwPoint `xml:"wave4"`
Wave5 mwPoint `xml:"wave5"`
}
type mwCorrection struct {
ID int64 `xml:"id,attr"`
ParentID int64 `xml:"parentId,attr"`
Degree string `xml:"degree,attr"`
Origin mwPoint `xml:"origin"`
WaveA mwPoint `xml:"waveA"`
WaveB mwPoint `xml:"waveB"`
WaveC mwPoint `xml:"waveC"`
}
type mwComboTriple struct {
ID int64 `xml:"id,attr"`
ParentID int64 `xml:"parentId,attr"`
Degree string `xml:"degree,attr"`
Origin mwPoint `xml:"origin"`
WaveW mwPoint `xml:"waveW"`
WaveX mwPoint `xml:"waveX"`
WaveY mwPoint `xml:"waveY"`
WaveX2 mwPoint `xml:"waveX2"`
WaveZ mwPoint `xml:"waveZ"`
}
type mwTriangle struct {
ID int64 `xml:"id,attr"`
ParentID int64 `xml:"parentId,attr"`
Degree string `xml:"degree,attr"`
Origin mwPoint `xml:"origin"`
WaveA mwPoint `xml:"waveA"`
WaveB mwPoint `xml:"waveB"`
WaveC mwPoint `xml:"waveC"`
WaveD mwPoint `xml:"waveD"`
WaveE mwPoint `xml:"waveE"`
WaveF mwPoint `xml:"waveF"`
WaveG mwPoint `xml:"waveG"`
WaveH mwPoint `xml:"waveH"`
WaveI mwPoint `xml:"waveI"`
}