BAOS SDK  18.2.0
Public Member Functions | Public Attributes | List of all members
kdrive::baos::Timer Struct Reference

#include <Timer.h>

Public Member Functions

 Timer ()
 
std::string toString () const
 This function is intended mostly for debug purposes It will generate the timer configuration string depending on the trigger and job types. More...
 

Public Attributes

unsigned short id
 the datapoint value id More...
 
int triggerType
 the trigger type, either date or interval More...
 
unsigned int dateTime
 trigger date: date/time seconds since epoch More...
 
unsigned int startDateTime
 trigger interval: start date/time seconds since epoch More...
 
unsigned int endDateTime
 trigger interval: end date/time seconds since epoch More...
 
int weeks
 trigger interval: every n weeks More...
 
int days
 trigger interval: every n days More...
 
int hours
 trigger interval: every n hours More...
 
int minutes
 trigger interval: every n minutes More...
 
int seconds
 trigger interval: every n seconds More...
 
int jobType
 the job type, currently only set datapoint value More...
 
ServerItem datapointValue
 job set datapoint value More...
 
std::string description
 timer description string More...
 

Constructor & Destructor Documentation

Timer::Timer ( )

Member Function Documentation

std::string Timer::toString ( ) const

This function is intended mostly for debug purposes It will generate the timer configuration string depending on the trigger and job types.

Member Data Documentation

ServerItem kdrive::baos::Timer::datapointValue

job set datapoint value

unsigned int kdrive::baos::Timer::dateTime

trigger date: date/time seconds since epoch

int kdrive::baos::Timer::days

trigger interval: every n days

std::string kdrive::baos::Timer::description

timer description string

unsigned int kdrive::baos::Timer::endDateTime

trigger interval: end date/time seconds since epoch

int kdrive::baos::Timer::hours

trigger interval: every n hours

unsigned short kdrive::baos::Timer::id

the datapoint value id

int kdrive::baos::Timer::jobType

the job type, currently only set datapoint value

int kdrive::baos::Timer::minutes

trigger interval: every n minutes

int kdrive::baos::Timer::seconds

trigger interval: every n seconds

unsigned int kdrive::baos::Timer::startDateTime

trigger interval: start date/time seconds since epoch

int kdrive::baos::Timer::triggerType

the trigger type, either date or interval

int kdrive::baos::Timer::weeks

trigger interval: every n weeks


The documentation for this struct was generated from the following files: