|
|
|
@ -2,10 +2,10 @@
|
|
|
|
|
|
|
|
|
|
@Plan:description('Process rotation field changes.')
|
|
|
|
|
|
|
|
|
|
@Import('org.wso2.iot.android.rotation:1.0.0')
|
|
|
|
|
@Import('iot.per.device.stream.android.rotation:1.0.0')
|
|
|
|
|
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')
|
|
|
|
|
@Export('iot.per.device.stream.android.rotation.stats:1.0.0')
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
|
|