timeseriesFunctionsCatalog
This section covers the JS API classes for the timeseries functions catalog: finding timeseries functions, configuring the TimeseriesFunction object, and the TimeseriesFunctionsHelper utility.
This section covers the JS API classes for the timeseries functions catalog: finding timeseries functions, configuring the TimeseriesFunction object, and the TimeseriesFunctionsHelper utility.
This is a base object that contains everything you can do with TimeseriesFunction.
Constructor
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| ogapi | InternalOpenGateAPI |
❌ | Reference to the API object. |
Deletes the selected RuleConfiguration
Tipo: Promise
Updates a rule.
Tipo: Promise
Set the description attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| description | string |
❌ |
Tipo: TimeseriesFunction
Set the name for update attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| name | string |
❌ | required field |
Tipo: TimeseriesFunction
Set the name attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| name | string |
❌ | required field |
Tipo: TimeseriesFunction
Set the organization attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| organization | string |
❌ | required field |
Tipo: TimeseriesFunction
Set the returnType attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| returnType | String |
❌ |
Tipo: TimeseriesFunction
Set the script attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| script | string |
❌ |
Tipo: TimeseriesFunction
Set the valueTypes attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| valueTypes | Array |
❌ |
Tipo: TimeseriesFunction
This class allows making GET requests to the TimeseriesFunction resource in the OpenGate North API.
Constructor
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| ogapi | InternalOpenGateAPI |
❌ | Reference to the API object. |
Performs a get that returns a list of timeseries function
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| organization | string |
❌ | organization |
Tipo: Promise
Performs a get that returns a timeseries function metadata
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| organization | string |
❌ | organization |
| name | string |
❌ | Timeseries function Configuration name |
| script | boolean |
❌ | If true script content will be downloaded |
Tipo: Promise
This class allows making GET requests to the TimeseriesFunctionsHelper resource in the OpenGate North API.
Constructor
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| ogapi | InternalOpenGateAPI |
❌ | Reference to the API object. |
Performs a GET that returns documentation of JavaScript functions from the rules service.
Tipo: Promise
Performs a GET that returns documentation of private JavaScript functions from the rules service.
Tipo: Promise