Difference between revisions of "NXSL:DCI"
Jump to navigation
Jump to search
| Line 71: | Line 71: | ||
| systemTag || string || System tag; always empty for user-defined DCIs | | systemTag || string || System tag; always empty for user-defined DCIs | ||
|- | |- | ||
| template || object || Template object or NULL if this DCI was not added from template | | template || object || Template object or NULL if this DCI was not added from template (since 2.1.3) | ||
|- | |- | ||
| templateId || int32 || Template object ID or 0 if this DCI was not added from template | | templateId || int32 || Template object ID or 0 if this DCI was not added from template (since 2.1.3) | ||
|- | |- | ||
| templateItemId || int32 || Template item ID or 0 if this DCI was not added from template | | templateItemId || int32 || Template item ID or 0 if this DCI was not added from template (since 2.1.3) | ||
|- | |- | ||
| type || int32 || DCI type: 1 for single valued, 2 for table | | type || int32 || DCI type: 1 for single valued, 2 for table | ||
Revision as of 21:34, 8 November 2017
Represents Data Collection Item (DCI).
Class Name
DCI
Attributes
| Name | Type | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| comments | string | Comments (since 2.0-M5) | ||||||||||||||
| dataType | int32 | Configured data type; possible values are:
| ||||||||||||||
| description | string | Description | ||||||||||||||
| errorCount | uint32 | Number of consecutive data collection errors | ||||||||||||||
| id | uint32 | Unique DCI identifier | ||||||||||||||
| instance | string | DCI instance (only for single value DCIs) | ||||||||||||||
| lastPollTime | int64 | Time of last DCI poll (either successful or not) as number of seconds since epoch (1 Jan 1970 00:00:00 UTC) | ||||||||||||||
| name | string | Parameter's name | ||||||||||||||
| origin | int32 | Data origin (source); possible values are:
| ||||||||||||||
| status | int32 | DCI status; possible values are:
| ||||||||||||||
| systemTag | string | System tag; always empty for user-defined DCIs | ||||||||||||||
| template | object | Template object or NULL if this DCI was not added from template (since 2.1.3) | ||||||||||||||
| templateId | int32 | Template object ID or 0 if this DCI was not added from template (since 2.1.3) | ||||||||||||||
| templateItemId | int32 | Template item ID or 0 if this DCI was not added from template (since 2.1.3) | ||||||||||||||
| type | int32 | DCI type: 1 for single valued, 2 for table |