Common Constants

This appendix lists and describes common numeric and string constants used in different Iotellect modules.

Context Entity Types

  • 1 - Variable
  • 2 - Function
  • 4 - Event
  • 8 - Action

Time Units

  • 0 - Millisecond
  • 1 - Second
  • 2 - Minute
  • 3 - Hour
  • 4 - Day
  • 5 - Week
  • 6 - Month
  • 7 - Quarter
  • 8 - Year

Aggregation Types

  • 0 - Average, i.e. an average value of all samples for the period
  • 1 - Minimum, i.e. a minimal value of all samples for the period
  • 2 - Maximum, i.e. a maximal value of all samples for the period
  • 3 - Summation, i.e. a sum of all samples for the period
  • 4 - First, i.e. value of the first valid (non-null) sample for the period
  • 5 - Last, i.e. value of the last valid (non-null) sample for the period
  • 6 - First Date, i.e. date of the first valid (non-null) sample for the period
  • 7 - Last Date, i.e. date of the last valid (non-null) sample for the period
  • 8 - Total Count, i.e. number of samples available for the period
  • 9 - Valid Count, i.e. number of valid (non-null) samples available for the period
  • 10 - Minimum Date, i.e. date of minimum valid (non-null) sample for the period
  • 11 - Maximum Date, i.e. date of maximum valid (non-null) sample for the period

Was this page helpful?