Difference between revisions of "NXSL:DCI"

522 bytes added ,  18:13, 13 September 2022
m
Text replacement - "^" to "{{deprecated}}"
m (Added category)
m (Text replacement - "^" to "{{deprecated}}")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Represents Data Collection Item (DCI).
{{deprecated}}Represents Data Collection Item (DCI).




Line 12: Line 12:
|-
|-
! Name !! Type !! Description
! Name !! Type !! Description
|-
| comments || string || Comments (since 2.0-M5)
|-
|-
| dataType || int32 || Configured data type; possible values are:
| dataType || int32 || Configured data type; possible values are:
Line 36: Line 38:
|-
|-
| id || uint32 || Unique DCI identifier
| 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)
| lastPollTime || int64 || Time of last DCI poll (either successful or not) as number of seconds since epoch (1 Jan 1970 00:00:00 UTC)
Line 66: Line 70:
|-
|-
| 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 (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
|}
|}


[[Category:NXSL Class Reference]]
[[Category:NXSL Class Reference|DCI]]