AutoPatrol, Bureaucrats, Administrators
683
edits
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
Get the average value of the DCI | Get the average value of the DCI for the given period. The DCI value must be of numeric type. | ||
'''Since:''' 1.2.1 | '''Since:''' 1.2.1 | ||
Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
GetAvgDCIValue(''node'','' | GetAvgDCIValue(''node'', ''dciId'', ''from'', ''to''); | ||
Line 15: | Line 15: | ||
| ''node'' || [[NXSL:Node|Node]] object to calculate the average DCI value for. | | ''node'' || [[NXSL:Node|Node]] object to calculate the average DCI value for. | ||
|- | |- | ||
| '' | | ''dciId'' || DCI item id (integer). | ||
|- | |- | ||
| '' | | ''from'' || Start of the period (as [http://en.wikipedia.org/wiki/Unix_time UNIX timestamp]). | ||
|- | |- | ||
| '' | | ''to'' || End of the period (as [http://en.wikipedia.org/wiki/Unix_time UNIX timestamp]). | ||
|} | |} | ||