mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Android sense execution plans changed to be used with multiline charts.
This commit is contained in:
parent
4add08545a
commit
f0d7e4648a
@ -3,16 +3,16 @@
|
||||
@Plan:description('Process accelerometer changes.')
|
||||
|
||||
@Import('org.wso2.iot.android.accelerometer:1.0.0')
|
||||
define stream AccelerometerStream (meta_owner string, meta_deviceId string, meta_timestamp long, x float, y float, z float);
|
||||
define stream AccelerometerStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value
|
||||
float);
|
||||
|
||||
@Export('org.wso2.iot.android.accelerometer.stats:1.0.0')
|
||||
define stream AccelerometerStatsStream (meta_owner string, meta_deviceId string, meta_timestamp long, x
|
||||
float, y float, z float, year int, month int, day int, hour int, minute int);
|
||||
define stream AccelerometerStatsStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value float, year int, month int, day int, hour int, minute int);
|
||||
|
||||
partition with (meta_deviceId of AccelerometerStream)
|
||||
begin
|
||||
from AccelerometerStream
|
||||
select meta_owner, meta_deviceId, meta_timestamp, x, y, z, time:extract
|
||||
select meta_owner, meta_deviceId, meta_timestamp, axis, value, time:extract
|
||||
(meta_timestamp, 'year') as year, time:extract(meta_timestamp, 'month') as month, time:extract(meta_timestamp, 'day') as day, time:extract(meta_timestamp, 'hour') as hour, time:extract(meta_timestamp, 'minute') as minute
|
||||
insert into AccelerometerStatsStream;
|
||||
end;
|
||||
@ -26,23 +26,15 @@
|
||||
<Type>LONG</Type>
|
||||
</ColumnDefinition>
|
||||
<ColumnDefinition>
|
||||
<Name>x</Name>
|
||||
<Name>axis</Name>
|
||||
<IsFacet>false</IsFacet>
|
||||
<EnableIndexing>false</EnableIndexing>
|
||||
<IsPrimaryKey>false</IsPrimaryKey>
|
||||
<EnableScoreParam>false</EnableScoreParam>
|
||||
<Type>FLOAT</Type>
|
||||
<Type>STRING</Type>
|
||||
</ColumnDefinition>
|
||||
<ColumnDefinition>
|
||||
<Name>y</Name>
|
||||
<IsFacet>false</IsFacet>
|
||||
<EnableIndexing>false</EnableIndexing>
|
||||
<IsPrimaryKey>false</IsPrimaryKey>
|
||||
<EnableScoreParam>false</EnableScoreParam>
|
||||
<Type>FLOAT</Type>
|
||||
</ColumnDefinition>
|
||||
<ColumnDefinition>
|
||||
<Name>z</Name>
|
||||
<Name>value</Name>
|
||||
<IsFacet>false</IsFacet>
|
||||
<EnableIndexing>false</EnableIndexing>
|
||||
<IsPrimaryKey>false</IsPrimaryKey>
|
||||
|
||||
@ -19,15 +19,11 @@
|
||||
],
|
||||
"payloadData": [
|
||||
{
|
||||
"name": "x",
|
||||
"type": "FLOAT"
|
||||
"name": "axis",
|
||||
"type": "STRING"
|
||||
},
|
||||
{
|
||||
"name": "y",
|
||||
"type": "FLOAT"
|
||||
},
|
||||
{
|
||||
"name": "z",
|
||||
"name": "value",
|
||||
"type": "FLOAT"
|
||||
},
|
||||
{
|
||||
|
||||
@ -19,15 +19,11 @@
|
||||
],
|
||||
"payloadData": [
|
||||
{
|
||||
"name": "x",
|
||||
"type": "FLOAT"
|
||||
"name": "axis",
|
||||
"type": "STRING"
|
||||
},
|
||||
{
|
||||
"name": "y",
|
||||
"type": "FLOAT"
|
||||
},
|
||||
{
|
||||
"name": "z",
|
||||
"name": "value",
|
||||
"type": "FLOAT"
|
||||
}
|
||||
]
|
||||
|
||||
@ -33,19 +33,19 @@ define stream SmsStream (meta_owner string, meta_deviceId string, meta_timestamp
|
||||
define stream geoLocationStream (id string, timeStamp long, latitude double, longitude double, type string, speed float, heading float);
|
||||
|
||||
@Export('org.wso2.iot.android.accelerometer:1.0.0')
|
||||
define stream AccelerometerStream (meta_owner string, meta_deviceId string, meta_timestamp long, x float, y float, z float);
|
||||
define stream AccelerometerStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value float);
|
||||
|
||||
@Export('org.wso2.iot.android.gyroscope:1.0.0')
|
||||
define stream GyroscopeStream (meta_owner string, meta_deviceId string, meta_timestamp long, x float, y float, z float);
|
||||
define stream GyroscopeStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value float);
|
||||
|
||||
@Export('org.wso2.iot.android.magnetic:1.0.0')
|
||||
define stream MagneticStream (meta_owner string, meta_deviceId string, meta_timestamp long, x float, y float, z float);
|
||||
define stream MagneticStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value float);
|
||||
|
||||
@Export('org.wso2.iot.android.gravity:1.0.0')
|
||||
define stream GravityStream (meta_owner string, meta_deviceId string, meta_timestamp long, x float, y float, z float);
|
||||
|
||||
@Export('org.wso2.iot.android.rotation:1.0.0')
|
||||
define stream RotationStream (meta_owner string, meta_deviceId string, meta_timestamp long, x float, y float, z float);
|
||||
define stream RotationStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value float);
|
||||
|
||||
@Export('org.wso2.iot.android.pressure:1.0.0')
|
||||
define stream PressureStream (meta_owner string, meta_deviceId string, meta_timestamp long, pressure float);
|
||||
@ -57,14 +57,39 @@ define stream LightStream (meta_owner string, meta_deviceId string, meta_timesta
|
||||
define stream ProximityStream (meta_owner string, meta_deviceId string, meta_timestamp long, proximity float);
|
||||
|
||||
from AndroidSense[meta_type == 'accelerometer']
|
||||
select meta_owner, meta_deviceId, meta_timestamp, accelerometer_x as x, accelerometer_y as y, accelerometer_z as z
|
||||
select meta_owner, meta_deviceId, meta_timestamp, 'X' as axis, accelerometer_x as value
|
||||
insert into AccelerometerStream;
|
||||
|
||||
from AndroidSense[meta_type == 'accelerometer']
|
||||
select meta_owner, meta_deviceId, meta_timestamp, 'Y' as axis, accelerometer_y as value
|
||||
insert into AccelerometerStream;
|
||||
|
||||
from AndroidSense[meta_type == 'accelerometer']
|
||||
select meta_owner, meta_deviceId, meta_timestamp, 'Z' as axis, accelerometer_z as value
|
||||
insert into AccelerometerStream;
|
||||
|
||||
from AndroidSense[meta_type == 'gyroscope']
|
||||
select meta_owner, meta_deviceId, meta_timestamp, gyroscope_x as x, gyroscope_y as y, gyroscope_z as z
|
||||
select meta_owner, meta_deviceId, meta_timestamp, 'X' as axis, gyroscope_x as value
|
||||
insert into GyroscopeStream;
|
||||
|
||||
from AndroidSense[meta_type == 'gyroscope']
|
||||
select meta_owner, meta_deviceId, meta_timestamp, 'Y' as axis, gyroscope_y as value
|
||||
insert into GyroscopeStream;
|
||||
|
||||
from AndroidSense[meta_type == 'gyroscope']
|
||||
select meta_owner, meta_deviceId, meta_timestamp, 'Z' as axis, gyroscope_z as value
|
||||
insert into GyroscopeStream;
|
||||
|
||||
from AndroidSense[meta_type == 'magnetic']
|
||||
select meta_owner, meta_deviceId, meta_timestamp, magnetic_x as x, magnetic_y as y, magnetic_z as z
|
||||
select meta_owner, meta_deviceId, meta_timestamp, 'X' as axis, magnetic_x as value
|
||||
insert into MagneticStream;
|
||||
|
||||
from AndroidSense[meta_type == 'magnetic']
|
||||
select meta_owner, meta_deviceId, meta_timestamp, 'Y' as axis, magnetic_y as value
|
||||
insert into MagneticStream;
|
||||
|
||||
from AndroidSense[meta_type == 'magnetic']
|
||||
select meta_owner, meta_deviceId, meta_timestamp, 'Z' as axis, magnetic_z as value
|
||||
insert into MagneticStream;
|
||||
|
||||
from AndroidSense[meta_type == 'gravity']
|
||||
@ -72,7 +97,15 @@ select meta_owner, meta_deviceId, meta_timestamp, gravity_x as x, gravity_y as y
|
||||
insert into GravityStream;
|
||||
|
||||
from AndroidSense[meta_type == 'rotation']
|
||||
select meta_owner, meta_deviceId, meta_timestamp, rotation_x as x, rotation_y as y, rotation_z as z
|
||||
select meta_owner, meta_deviceId, meta_timestamp, 'X' as axis, rotation_x as value
|
||||
insert into RotationStream;
|
||||
|
||||
from AndroidSense[meta_type == 'rotation']
|
||||
select meta_owner, meta_deviceId, meta_timestamp, 'Y' as axis, rotation_y as value
|
||||
insert into RotationStream;
|
||||
|
||||
from AndroidSense[meta_type == 'rotation']
|
||||
select meta_owner, meta_deviceId, meta_timestamp, 'Z' as axis, rotation_z as value
|
||||
insert into RotationStream;
|
||||
|
||||
from AndroidSense[meta_type == 'pressure']
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
*
|
||||
* WSO2 Inc. licenses this file to you under the Apache License,
|
||||
* Version 2.0 (the "License"); you may not use this file except
|
||||
|
||||
@ -3,16 +3,16 @@
|
||||
@Plan:description('Process gyroscope changes.')
|
||||
|
||||
@Import('org.wso2.iot.android.gyroscope:1.0.0')
|
||||
define stream GyroscopeStream (meta_owner string, meta_deviceId string, meta_timestamp long, x float, y float, z float);
|
||||
define stream GyroscopeStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value float);
|
||||
|
||||
@Export('org.wso2.iot.android.gyroscope.stats:1.0.0')
|
||||
define stream GyroscopeStatsStream (meta_owner string, meta_deviceId string, meta_timestamp long, x
|
||||
float, y float, z float, year int, month int, day int, hour int, minute int);
|
||||
define stream GyroscopeStatsStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value
|
||||
float, year int, month int, day int, hour int, minute int);
|
||||
|
||||
partition with (meta_deviceId of GyroscopeStream)
|
||||
begin
|
||||
from GyroscopeStream
|
||||
select meta_owner, meta_deviceId, meta_timestamp, x, y, z, time:extract
|
||||
(meta_timestamp, 'year') as year, time:extract(meta_timestamp, 'month') as month, time:extract(meta_timestamp, 'day') as day, time:extract(meta_timestamp, 'hour') as hour, time:extract(meta_timestamp, 'minute') as minute
|
||||
select meta_owner, meta_deviceId, meta_timestamp, axis, value, time:extract (meta_timestamp, 'year') as year,
|
||||
time:extract(meta_timestamp, 'month') as month, time:extract(meta_timestamp, 'day') as day, time:extract(meta_timestamp, 'hour') as hour, time:extract(meta_timestamp, 'minute') as minute
|
||||
insert into GyroscopeStatsStream;
|
||||
end;
|
||||
@ -26,23 +26,15 @@
|
||||
<Type>LONG</Type>
|
||||
</ColumnDefinition>
|
||||
<ColumnDefinition>
|
||||
<Name>x</Name>
|
||||
<Name>axis</Name>
|
||||
<IsFacet>false</IsFacet>
|
||||
<EnableIndexing>false</EnableIndexing>
|
||||
<IsPrimaryKey>false</IsPrimaryKey>
|
||||
<EnableScoreParam>false</EnableScoreParam>
|
||||
<Type>FLOAT</Type>
|
||||
<Type>STRING</Type>
|
||||
</ColumnDefinition>
|
||||
<ColumnDefinition>
|
||||
<Name>y</Name>
|
||||
<IsFacet>false</IsFacet>
|
||||
<EnableIndexing>false</EnableIndexing>
|
||||
<IsPrimaryKey>false</IsPrimaryKey>
|
||||
<EnableScoreParam>false</EnableScoreParam>
|
||||
<Type>FLOAT</Type>
|
||||
</ColumnDefinition>
|
||||
<ColumnDefinition>
|
||||
<Name>z</Name>
|
||||
<Name>value</Name>
|
||||
<IsFacet>false</IsFacet>
|
||||
<EnableIndexing>false</EnableIndexing>
|
||||
<IsPrimaryKey>false</IsPrimaryKey>
|
||||
|
||||
@ -19,15 +19,11 @@
|
||||
],
|
||||
"payloadData": [
|
||||
{
|
||||
"name": "x",
|
||||
"type": "FLOAT"
|
||||
"name": "axis",
|
||||
"type": "STRING"
|
||||
},
|
||||
{
|
||||
"name": "y",
|
||||
"type": "FLOAT"
|
||||
},
|
||||
{
|
||||
"name": "z",
|
||||
"name": "value",
|
||||
"type": "FLOAT"
|
||||
},
|
||||
{
|
||||
|
||||
@ -19,15 +19,11 @@
|
||||
],
|
||||
"payloadData": [
|
||||
{
|
||||
"name": "x",
|
||||
"type": "FLOAT"
|
||||
"name": "axis",
|
||||
"type": "STRING"
|
||||
},
|
||||
{
|
||||
"name": "y",
|
||||
"type": "FLOAT"
|
||||
},
|
||||
{
|
||||
"name": "z",
|
||||
"name": "value",
|
||||
"type": "FLOAT"
|
||||
}
|
||||
]
|
||||
|
||||
@ -3,16 +3,15 @@
|
||||
@Plan:description('Process magnetic field changes.')
|
||||
|
||||
@Import('org.wso2.iot.android.magnetic:1.0.0')
|
||||
define stream MagneticStream (meta_owner string, meta_deviceId string, meta_timestamp long, x float, y float, z float);
|
||||
define stream MagneticStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value float);
|
||||
|
||||
@Export('org.wso2.iot.android.magnetic.stats:1.0.0')
|
||||
define stream MagneticStatsStream (meta_owner string, meta_deviceId string, meta_timestamp long, x
|
||||
float, y float, z float, year int, month int, day int, hour int, minute int);
|
||||
define stream MagneticStatsStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value float, year int, month int, day int, hour int, minute int);
|
||||
|
||||
partition with (meta_deviceId of MagneticStream)
|
||||
begin
|
||||
from MagneticStream
|
||||
select meta_owner, meta_deviceId, meta_timestamp, x, y, z, time:extract
|
||||
select meta_owner, meta_deviceId, meta_timestamp, axis, value, time:extract
|
||||
(meta_timestamp, 'year') as year, time:extract(meta_timestamp, 'month') as month, time:extract(meta_timestamp, 'day') as day, time:extract(meta_timestamp, 'hour') as hour, time:extract(meta_timestamp, 'minute') as minute
|
||||
insert into MagneticStatsStream;
|
||||
end;
|
||||
@ -26,23 +26,15 @@
|
||||
<Type>LONG</Type>
|
||||
</ColumnDefinition>
|
||||
<ColumnDefinition>
|
||||
<Name>x</Name>
|
||||
<Name>axis</Name>
|
||||
<IsFacet>false</IsFacet>
|
||||
<EnableIndexing>false</EnableIndexing>
|
||||
<IsPrimaryKey>false</IsPrimaryKey>
|
||||
<EnableScoreParam>false</EnableScoreParam>
|
||||
<Type>FLOAT</Type>
|
||||
<Type>STRING</Type>
|
||||
</ColumnDefinition>
|
||||
<ColumnDefinition>
|
||||
<Name>y</Name>
|
||||
<IsFacet>false</IsFacet>
|
||||
<EnableIndexing>false</EnableIndexing>
|
||||
<IsPrimaryKey>false</IsPrimaryKey>
|
||||
<EnableScoreParam>false</EnableScoreParam>
|
||||
<Type>FLOAT</Type>
|
||||
</ColumnDefinition>
|
||||
<ColumnDefinition>
|
||||
<Name>z</Name>
|
||||
<Name>value</Name>
|
||||
<IsFacet>false</IsFacet>
|
||||
<EnableIndexing>false</EnableIndexing>
|
||||
<IsPrimaryKey>false</IsPrimaryKey>
|
||||
|
||||
@ -19,15 +19,11 @@
|
||||
],
|
||||
"payloadData": [
|
||||
{
|
||||
"name": "x",
|
||||
"type": "FLOAT"
|
||||
"name": "axis",
|
||||
"type": "STRING"
|
||||
},
|
||||
{
|
||||
"name": "y",
|
||||
"type": "FLOAT"
|
||||
},
|
||||
{
|
||||
"name": "z",
|
||||
"name": "value",
|
||||
"type": "FLOAT"
|
||||
},
|
||||
{
|
||||
|
||||
@ -19,15 +19,11 @@
|
||||
],
|
||||
"payloadData": [
|
||||
{
|
||||
"name": "x",
|
||||
"type": "FLOAT"
|
||||
"name": "axis",
|
||||
"type": "STRING"
|
||||
},
|
||||
{
|
||||
"name": "y",
|
||||
"type": "FLOAT"
|
||||
},
|
||||
{
|
||||
"name": "z",
|
||||
"name": "value",
|
||||
"type": "FLOAT"
|
||||
}
|
||||
]
|
||||
|
||||
@ -3,16 +3,16 @@
|
||||
@Plan:description('Process rotation field changes.')
|
||||
|
||||
@Import('org.wso2.iot.android.rotation:1.0.0')
|
||||
define stream RotationStream (meta_owner string, meta_deviceId string, meta_timestamp long, x float, y float, z float);
|
||||
define stream RotationStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value float);
|
||||
|
||||
@Export('org.wso2.iot.android.rotation.stats:1.0.0')
|
||||
define stream RotationStatsStream (meta_owner string, meta_deviceId string, meta_timestamp long, x
|
||||
float, y float, z float, year int, month int, day int, hour int, minute int);
|
||||
define stream RotationStatsStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value
|
||||
float, year int, month int, day int, hour int, minute int);
|
||||
|
||||
partition with (meta_deviceId of RotationStream)
|
||||
begin
|
||||
from RotationStream
|
||||
select meta_owner, meta_deviceId, meta_timestamp, x, y, z, time:extract
|
||||
select meta_owner, meta_deviceId, meta_timestamp, axis, value, time:extract
|
||||
(meta_timestamp, 'year') as year, time:extract(meta_timestamp, 'month') as month, time:extract(meta_timestamp, 'day') as day, time:extract(meta_timestamp, 'hour') as hour, time:extract(meta_timestamp, 'minute') as minute
|
||||
insert into RotationStatsStream;
|
||||
end;
|
||||
@ -26,23 +26,15 @@
|
||||
<Type>LONG</Type>
|
||||
</ColumnDefinition>
|
||||
<ColumnDefinition>
|
||||
<Name>x</Name>
|
||||
<Name>axis</Name>
|
||||
<IsFacet>false</IsFacet>
|
||||
<EnableIndexing>false</EnableIndexing>
|
||||
<IsPrimaryKey>false</IsPrimaryKey>
|
||||
<EnableScoreParam>false</EnableScoreParam>
|
||||
<Type>FLOAT</Type>
|
||||
<Type>STRING</Type>
|
||||
</ColumnDefinition>
|
||||
<ColumnDefinition>
|
||||
<Name>y</Name>
|
||||
<IsFacet>false</IsFacet>
|
||||
<EnableIndexing>false</EnableIndexing>
|
||||
<IsPrimaryKey>false</IsPrimaryKey>
|
||||
<EnableScoreParam>false</EnableScoreParam>
|
||||
<Type>FLOAT</Type>
|
||||
</ColumnDefinition>
|
||||
<ColumnDefinition>
|
||||
<Name>z</Name>
|
||||
<Name>value</Name>
|
||||
<IsFacet>false</IsFacet>
|
||||
<EnableIndexing>false</EnableIndexing>
|
||||
<IsPrimaryKey>false</IsPrimaryKey>
|
||||
|
||||
@ -19,15 +19,11 @@
|
||||
],
|
||||
"payloadData": [
|
||||
{
|
||||
"name": "x",
|
||||
"type": "FLOAT"
|
||||
"name": "axis",
|
||||
"type": "STRING"
|
||||
},
|
||||
{
|
||||
"name": "y",
|
||||
"type": "FLOAT"
|
||||
},
|
||||
{
|
||||
"name": "z",
|
||||
"name": "value",
|
||||
"type": "FLOAT"
|
||||
},
|
||||
{
|
||||
|
||||
@ -19,15 +19,11 @@
|
||||
],
|
||||
"payloadData": [
|
||||
{
|
||||
"name": "x",
|
||||
"type": "FLOAT"
|
||||
"name": "axis",
|
||||
"type": "STRING"
|
||||
},
|
||||
{
|
||||
"name": "y",
|
||||
"type": "FLOAT"
|
||||
},
|
||||
{
|
||||
"name": "z",
|
||||
"name": "value",
|
||||
"type": "FLOAT"
|
||||
}
|
||||
]
|
||||
|
||||
@ -10,17 +10,17 @@
|
||||
"hideAllMenuItems": false,
|
||||
"id": "android-iot",
|
||||
"identityServerUrl": "",
|
||||
"isEditorEnable": true,
|
||||
"isEditorEnable": false,
|
||||
"isUserCustom": false,
|
||||
"isanon": false,
|
||||
"landing": "home",
|
||||
"landing": "sensors",
|
||||
"menu": [
|
||||
{
|
||||
"id": "home",
|
||||
"id": "sensors",
|
||||
"isanon": false,
|
||||
"ishidden": false,
|
||||
"subordinates": [],
|
||||
"title": "Home"
|
||||
"title": "Sensors"
|
||||
},
|
||||
{
|
||||
"id": "real-time",
|
||||
@ -61,7 +61,7 @@
|
||||
"id": "test",
|
||||
"isanon": false,
|
||||
"ishidden": false,
|
||||
"title": "test",
|
||||
"title": "Test",
|
||||
"subordinates": []
|
||||
}
|
||||
],
|
||||
@ -70,22 +70,23 @@
|
||||
"content": {
|
||||
"anon": {},
|
||||
"default": {
|
||||
"a": [
|
||||
"a": [],
|
||||
"b": [
|
||||
{
|
||||
"id": "ACCELEROMETER_Y-0",
|
||||
"id": "ANDROID_MAGNETIC_GADGET-0",
|
||||
"content": {
|
||||
"id": "ACCELEROMETER_Y",
|
||||
"title": "ACCELEROMETER Y",
|
||||
"id": "ANDROID_MAGNETIC_GADGET",
|
||||
"title": "ANDROID_MAGNETIC_GADGET",
|
||||
"type": "gadget",
|
||||
"thumbnail": "fs://gadget/ACCELEROMETER_Y/thumbnail.png",
|
||||
"thumbnail": "fs://gadget/ANDROID_MAGNETIC_GADGET/thumbnail.png",
|
||||
"data": {
|
||||
"url": "fs://gadget/ACCELEROMETER_Y/gadget.xml"
|
||||
"url": "fs://gadget/ANDROID_MAGNETIC_GADGET/gadget.xml"
|
||||
},
|
||||
"styles": {
|
||||
"no_heading": false,
|
||||
"hide_gadget": false,
|
||||
"titlePosition": "center",
|
||||
"title": "ACCELEROMETER Y"
|
||||
"title": "MAGNETIC FIELD"
|
||||
},
|
||||
"options": {
|
||||
"windowSize": {
|
||||
@ -97,7 +98,7 @@
|
||||
}
|
||||
},
|
||||
"locale_titles": {
|
||||
"en-US": "ACCELEROMETER Y"
|
||||
"en-US": "MAGNETIC FIELD"
|
||||
},
|
||||
"settings": {
|
||||
"priority": "5",
|
||||
@ -106,58 +107,22 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"b": [
|
||||
{
|
||||
"id": "ACCELEROMETER_Z-0",
|
||||
"content": {
|
||||
"id": "ACCELEROMETER_Z",
|
||||
"title": "ACCELEROMETER Z",
|
||||
"type": "gadget",
|
||||
"thumbnail": "fs://gadget/ACCELEROMETER_Z/thumbnail.png",
|
||||
"data": {
|
||||
"url": "fs://gadget/ACCELEROMETER_Z/gadget.xml"
|
||||
},
|
||||
"styles": {
|
||||
"no_heading": false,
|
||||
"hide_gadget": false,
|
||||
"titlePosition": "center",
|
||||
"title": "ACCELEROMETER Z"
|
||||
},
|
||||
"options": {
|
||||
"windowSize": {
|
||||
"type": "STRING",
|
||||
"title": "Window Size",
|
||||
"value": "10",
|
||||
"options": [],
|
||||
"required": false
|
||||
}
|
||||
},
|
||||
"locale_titles": {
|
||||
"en-US": "ACCELEROMETER Z"
|
||||
},
|
||||
"settings": {
|
||||
"priority": "5",
|
||||
"timeoutInterval": "60000"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"8e564cb7a1c6519179e2111cc05a79ca": [
|
||||
{
|
||||
"id": "Accelerometer_X-0",
|
||||
"id": "ANDROID_ACCELEROMETER_GADGET-0",
|
||||
"content": {
|
||||
"id": "Accelerometer_X",
|
||||
"title": "Accelerometer X",
|
||||
"id": "ANDROID_ACCELEROMETER_GADGET",
|
||||
"title": "ANDROID_ACCELEROMETER_GADGET",
|
||||
"type": "gadget",
|
||||
"thumbnail": "fs://gadget/Accelerometer_X/thumbnail.png",
|
||||
"thumbnail": "fs://gadget/ANDROID_ACCELEROMETER_GADGET/thumbnail.png",
|
||||
"data": {
|
||||
"url": "fs://gadget/Accelerometer_X/gadget.xml"
|
||||
"url": "fs://gadget/ANDROID_ACCELEROMETER_GADGET/gadget.xml"
|
||||
},
|
||||
"styles": {
|
||||
"no_heading": false,
|
||||
"hide_gadget": false,
|
||||
"titlePosition": "center",
|
||||
"title": "Accelerometer X"
|
||||
"title": "ACCELEROMETER"
|
||||
},
|
||||
"options": {
|
||||
"windowSize": {
|
||||
@ -169,7 +134,7 @@
|
||||
}
|
||||
},
|
||||
"locale_titles": {
|
||||
"en-US": "Accelerometer X"
|
||||
"en-US": "ACCELEROMETER"
|
||||
},
|
||||
"settings": {
|
||||
"priority": "5",
|
||||
@ -249,43 +214,107 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"765379a7012b8819ea13524e5b312509": [
|
||||
{
|
||||
"id": "ANDROID_ROTATION_GADGET-0",
|
||||
"content": {
|
||||
"id": "ANDROID_ROTATION_GADGET",
|
||||
"title": "ANDROID_ROTATION_GADGET",
|
||||
"type": "gadget",
|
||||
"thumbnail": "fs://gadget/ANDROID_ROTATION_GADGET/thumbnail.png",
|
||||
"data": {
|
||||
"url": "fs://gadget/ANDROID_ROTATION_GADGET/gadget.xml"
|
||||
},
|
||||
"styles": {
|
||||
"no_heading": false,
|
||||
"hide_gadget": false,
|
||||
"titlePosition": "center",
|
||||
"title": "ROTATIONAL VECTOR"
|
||||
},
|
||||
"options": {
|
||||
"windowSize": {
|
||||
"type": "STRING",
|
||||
"title": "Window Size",
|
||||
"value": "10",
|
||||
"options": [],
|
||||
"required": false
|
||||
}
|
||||
},
|
||||
"locale_titles": {
|
||||
"en-US": "ROTATIONAL VECTOR"
|
||||
},
|
||||
"settings": {
|
||||
"priority": "5",
|
||||
"timeoutInterval": "60000"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"47ceaee8a089ea8ef75c91e5b83a1a36": [
|
||||
{
|
||||
"id": "ANDROID_GYROSCOPE_GADGET-0",
|
||||
"content": {
|
||||
"id": "ANDROID_GYROSCOPE_GADGET",
|
||||
"title": "ANDROID_GYROSCOPE_GADGET",
|
||||
"type": "gadget",
|
||||
"thumbnail": "fs://gadget/ANDROID_GYROSCOPE_GADGET/thumbnail.png",
|
||||
"data": {
|
||||
"url": "fs://gadget/ANDROID_GYROSCOPE_GADGET/gadget.xml"
|
||||
},
|
||||
"styles": {
|
||||
"no_heading": false,
|
||||
"hide_gadget": false,
|
||||
"titlePosition": "center",
|
||||
"title": "GYROSCOPE"
|
||||
},
|
||||
"options": {
|
||||
"windowSize": {
|
||||
"type": "STRING",
|
||||
"title": "Window Size",
|
||||
"value": "10",
|
||||
"options": [],
|
||||
"required": false
|
||||
}
|
||||
},
|
||||
"locale_titles": {
|
||||
"en-US": "GYROSCOPE"
|
||||
},
|
||||
"settings": {
|
||||
"priority": "5",
|
||||
"timeoutInterval": "60000"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"id": "home",
|
||||
"id": "sensors",
|
||||
"isanon": false,
|
||||
"layout": {
|
||||
"content": {
|
||||
"loggedIn": {
|
||||
"blocks": [
|
||||
{
|
||||
"id": "a",
|
||||
"x": 4,
|
||||
"y": 0,
|
||||
"width": 4,
|
||||
"height": 4,
|
||||
"banner": false
|
||||
},
|
||||
{
|
||||
"id": "b",
|
||||
"x": 8,
|
||||
"x": 6,
|
||||
"y": 0,
|
||||
"width": 4,
|
||||
"height": 4,
|
||||
"width": 6,
|
||||
"height": 5,
|
||||
"banner": false
|
||||
},
|
||||
{
|
||||
"id": "8e564cb7a1c6519179e2111cc05a79ca",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 4,
|
||||
"height": 4,
|
||||
"width": 6,
|
||||
"height": 5,
|
||||
"banner": false
|
||||
},
|
||||
{
|
||||
"id": "fdfada688ff9e7b3271eece314618532",
|
||||
"x": 0,
|
||||
"y": 4,
|
||||
"y": 5,
|
||||
"width": 6,
|
||||
"height": 3,
|
||||
"banner": false
|
||||
@ -293,7 +322,7 @@
|
||||
{
|
||||
"id": "46193833e958e9f7e879263f372eb508",
|
||||
"x": 6,
|
||||
"y": 4,
|
||||
"y": 5,
|
||||
"width": 6,
|
||||
"height": 3,
|
||||
"banner": false
|
||||
@ -301,25 +330,17 @@
|
||||
{
|
||||
"id": "765379a7012b8819ea13524e5b312509",
|
||||
"x": 0,
|
||||
"y": 7,
|
||||
"width": 4,
|
||||
"height": 4,
|
||||
"y": 8,
|
||||
"width": 6,
|
||||
"height": 5,
|
||||
"banner": false
|
||||
},
|
||||
{
|
||||
"id": "47ceaee8a089ea8ef75c91e5b83a1a36",
|
||||
"x": 8,
|
||||
"y": 7,
|
||||
"width": 4,
|
||||
"height": 4,
|
||||
"banner": false
|
||||
},
|
||||
{
|
||||
"id": "4a9feeb19fc2ea76e252dcd62c954279",
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"width": 4,
|
||||
"height": 4,
|
||||
"x": 6,
|
||||
"y": 8,
|
||||
"width": 6,
|
||||
"height": 5,
|
||||
"banner": false
|
||||
}
|
||||
]
|
||||
@ -327,7 +348,7 @@
|
||||
},
|
||||
"fluidLayout": false
|
||||
},
|
||||
"title": "Home"
|
||||
"title": "Sensors"
|
||||
},
|
||||
{
|
||||
"content": {
|
||||
@ -1281,7 +1302,7 @@
|
||||
},
|
||||
{
|
||||
"id": "test",
|
||||
"title": "test",
|
||||
"title": "Test",
|
||||
"layout": {
|
||||
"content": {
|
||||
"loggedIn": {
|
||||
@ -1438,5 +1459,6 @@
|
||||
},
|
||||
"shareDashboard": false,
|
||||
"theme": "Default Theme",
|
||||
"title": "Android IOT"
|
||||
}
|
||||
"title": "Android IOT",
|
||||
"defaultPriority": "5"
|
||||
}
|
||||
|
||||
@ -187,11 +187,7 @@
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
<dependency artifact="android_accelerometer_ui_event_publisher" version="1.0.0" include="true"
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
<dependency artifact="android_accelerometer_x_gadget" version="1.0.0" include="true"
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
<dependency artifact="android_accelerometer_y_gadget" version="1.0.0" include="true"
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
<dependency artifact="android_accelerometer_z_gadget" version="1.0.0" include="true"
|
||||
<dependency artifact="android_accelerometer_gadget" version="1.0.0" include="true"
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
|
||||
<dependency artifact="android_gyroscope_streams" version="1.0.0" include="true"
|
||||
@ -204,6 +200,8 @@
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
<dependency artifact="android_gyroscope_ui_event_publisher" version="1.0.0" include="true"
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
<dependency artifact="android_gyroscope_gadget" version="1.0.0" include="true"
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
|
||||
<dependency artifact="android_gravity_streams" version="1.0.0" include="true"
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
@ -228,6 +226,8 @@
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
<dependency artifact="android_magnetic_ui_event_publisher" version="1.0.0" include="true"
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
<dependency artifact="android_magnetic_gadget" version="1.0.0" include="true"
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
|
||||
<dependency artifact="android_rotation_streams" version="1.0.0" include="true"
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
@ -239,6 +239,8 @@
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
<dependency artifact="android_rotation_ui_event_publisher" version="1.0.0" include="true"
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
<dependency artifact="android_rotation_gadget" version="1.0.0" include="true"
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
|
||||
<dependency artifact="android_light_streams" version="1.0.0" include="true"
|
||||
serverRole="DataAnalyticsServer"/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user