-
Notifications
You must be signed in to change notification settings - Fork 2
/
demo.mgjson
102 lines (102 loc) · 2.22 KB
/
demo.mgjson
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"version": "MGJSON2.0.0",
"creator": "https://github.com/juanirache",
"dynamicSamplesPresentB": true,
"dynamicDataInfo": {
"useTimecodeB": false,
"utcInfo": {
"precisionLength": 3,
"isGMT": true
}
},
"dataOutline": [
{
"objectType": "dataStatic",
"displayName": "Information",
"dataType": {
"type": "string",
"paddedStringProperties": {
"maxLen": 26,
"maxDigitsInStrLength": 2,
"eventMarkerB": false
}
},
"matchName": "INFO",
"value": "This is a test mgJSON file"
},
{
"objectType": "dataStatic",
"displayName": "Static number",
"dataType": {
"type": "number",
"numberStringProperties": {
"pattern": {
"isSigned": true,
"digitsInteger": 2,
"digitsDecimal": 0
},
"range": {
"occuring": {
"min": 50,
"max": 50
},
"legal": {
"min": -2147483648,
"max": 2147483648
}
}
}
},
"matchName": "staticnum",
"value": 50
},
{
"objectType": "dataDynamic",
"displayName": "Accelerometer",
"sampleSetID": "00001",
"dataType": {
"type": "numberString",
"numberStringProperties": {
"pattern": {
"digitsInteger": 5,
"digitsDecimal": 0,
"isSigned": false
},
"range": {
"occuring": {
"min": 16009,
"max": 16187
},
"legal": {
"min": 16000,
"max": 17000
}
}
}
},
"interpolation": "linear",
"hasExpectedFrequecyB": false,
"sampleCount": 3,
"matchName": "ACCL"
}
],
"dataDynamicSamples": [
{
"sampleSetID": "00001",
"samples": [
{
"time": "2017-06-02T12:40:25.390Z",
"value": "16009"
},
{
"time": "2017-06-02T12:40:25.437Z",
"value": "16167"
},
{
"time": "2017-06-02T12:40:25.453Z",
"value": "16187"
}
]
}
]
}