简体   繁体   English

如何使用Wirecloud Sth-Source运算符

[英]How to use Wirecloud sth-source operator

I have found a STH-Comet wirecloud operator( https://github.com/wirecloud-fiware/sth-source-operator ). 我找到了一个STH-Comet wirecloud运算符( https://github.com/wirecloud-fiware/sth-source-operator )。 Now how can i use this operator in my mashup and which operator/widget i have to use to provide it data.Also, in which widget i can use sth-comet output. 现在我该如何在mashup中使用此运算符以及必须使用哪个运算符/小部件来提供数据。此外,我可以在哪个小部件中使用sth-comet输出。 I also have no idea of it's wiring.for eg: it have a input endpoint ie Entity, how this Entity endpoint get data from my orion i mean which widget/operator i have to connect with it,s input endpoint to get input.Same with the output endpoint for eg it have 2 o/p endpoints ie Values,Timestamp in which widget/operator i can use these endpoint output.Is there any GUI wirecloud widget which can show my sth-comet output.Any help will be appreciated. 我也不知道它的接线方式,例如:它有一个输入端点,即Entity,这个Entity端点如何从我的猎户座中获取数据,我的意思是我必须与之连接的小部件/操作员,它的输入端点才能获得输入。带有输出端点,例如它有2个o / p端点,即Values,Timestamp,小部件/操作员可以在其中使用这些端点输出。是否有任何GUI wirecloud小部件可以显示我的sth-comet输出。任何帮助将不胜感激。

In general you need a operator to extract data from STH-Comet (that operator have the query to obtain the data), then connect this operator with a widget to show the data obtained. 通常,您需要一个运算符来从STH-Comet提取数据(该运算符具有查询以获取数据),然后将该运算符与小部件连接以显示获得的数据。 In this case, I think that you can fill the operator's preferences, and keep empty the inputendpoint. 在这种情况下,我认为您可以填写操作员的首选项,并保留输入端点为空。 In the preferences, "Entity" can be empty, only fill it if you want obtain data from a particular dispositive. 在首选项中,“实体”可以为空,仅当要从特定存储库获取数据时才填写。 The outputs of this operator are the data obtained from STH, so you can connect these outputs with a widget for show the data (for example in a table), if you don't found the appropiate widget, you can make it. 此运算符的输出是从STH获得的数据,因此您可以将这些输出与小部件连接以显示数据(例如,在表中),如果找不到合适的小部件,则可以进行制作。

You can see the config.xml of sth-source-operator in https://github.com/wirecloud-fiware/sth-source-operator/blob/develop/src/config.xml 您可以在https://github.com/wirecloud-fiware/sth-source-operator/blob/develop/src/config.xml中看到sth-source-operator的config.xml

I hope this help you! 希望对您有所帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM