Require: IP-Symcon >= 3.0
int AC_GetAggregationType (int $InstanceID, int $VariableID)
InstanceID | ID for the archive |
VariableID | ID of the variable to be queried |
An integer that represents the type of aggregation.
Return value | Description |
---|---|
0 | Standard |
1 | Counter |
This function queries the aggregation type of the variable with the ID VariableID and returns it as an integer.
// The variable is aggregated as a counter
echo AC_GetAggregationType(39147 /*[Archive]*/, 53716 /*[TestVariableCounter]*/);
// Output: 1