Category
Defines the builder used to configure a category of a datamodel, including the datastreams it groups.
constructor
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| ogapi | InternalOpenGateAPI |
❌ | Reference to the API object. |
| identifier | identifier |
❌ | of category |
| datastreams | Array |
❌ | of category |
addDatastream(datastream)
Add a datastream to the category
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| datastream | Object |
❌ | json object |
Retorna
Tip
Tipo: Category
addDatastreams(datastreams)
Add a datastreams to the category
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| datastreams | Object |
❌ | of datastream json object |
Retorna
Tip
Tipo: Category