Robox Library for Cpp: BCC/31 module 1.0.0
RLibCpp BCC/31 protocol implementation
Classes | Public Member Functions | List of all members
AlarmHistoryItem Class Reference

The data for an alarm history item. More...

#include <client.h>

Classes

class  Vector
 Class to handle with lists of AlarmHistoryItem. More...
 

Public Member Functions

int32_t id () const
 Get the alarm ID.
 
void setId (int32_t value)
 Set the alarm ID.
 
time_t dateTime () const
 Get the date/time.
 
void setDateTime (time_t value)
 Set the date/time.
 
int32_t code () const
 Get the alarm code.
 
void setCode (int32_t value)
 Set the alarm code.
 
String & text ()
 Get the alarm text description string (optional)
 

Detailed Description

The data for an alarm history item.

Member Function Documentation

◆ code()

int32_t code ( ) const

Get the alarm code.

Returns
The parameter value

◆ dateTime()

QDateTime dateTime ( ) const

Get the date/time.

Returns
The parameter value

◆ id()

int32_t id ( ) const

Get the alarm ID.

Returns
The parameter value

◆ setCode()

void setCode ( int32_t value)

Set the alarm code.

Parameters
valueThe value to set

◆ setDateTime()

void setDateTime ( time_t value)

Set the date/time.

Parameters
valueThe value to set

◆ setId()

void setId ( int32_t value)

Set the alarm ID.

Parameters
valueThe value to set

◆ text()

String & text ( )

Get the alarm text description string (optional)

Returns
The parameter value