小部件和操作员之间的区别 - Fiware?

Difference between widget and operator - Fiware?

我今天刚开始使用FIWARE,我还没有理解使用这个平台的widget和operator之间的区别。

虽然我了解什么是使用 wirecloud 的小部件,但我仍然不清楚在这种情况下运算符是什么。

Google 对我帮助不大。

WireCloud operator 是一个类似于 Widgets 的组件,它们使用网络技术(例如 JavaScript)进行编程,但不提供用户界面。从这个意义上讲,它们并不打算用于仪表板编辑器,而是用于 Wiring Editor.

运算符可以分为三类:

  • 数据源运算符: 提供可供其他人使用的信息的运算符widgets/operators。例如,从 Web 服务检索某种类型信息的运算符。
  • 数据目标操作员: 提供信息并使用它来完成某些任务的操作员。例如,接收一些信息并将其推送到 Web 服务的操作员。
  • 数据转换运算符:这种类型的运算符非常有用,因为它们可以转换数据,以便希望数据结构略有不同的小部件或运算符可以使用它.

例如,在 WireCloud 中有一个通用的 Map Viewer widget that can be wired through an operator to any source of information of your choice (e.g. you can use the NGSI Source operator for getting info from an Orion Context Broker). If you have a FIWARE Lab account you can get some examples by installing the OrionStarterKit or the CKANStarterKit