opendnp3  3.1.0
Reference implementation of DNP3 (IEEE-1815)
opendnp3::TimeAndInterval Class Reference

Maps to Group50Var4 This class is a bit of an outlier as an indexed type and is really only used in the DNP3 PV profile. More...

#include <opendnp3/app/MeasurementTypes.h>

Public Member Functions

 TimeAndInterval ()
 
 TimeAndInterval (DNPTime time, uint32_t interval, IntervalUnits units)
 
 TimeAndInterval (DNPTime time, uint32_t interval, uint8_t units)
 
IntervalUnits GetUnitsEnum () const
 

Public Attributes

uint32_t interval
 
DNPTime time
 
uint8_t units
 

Detailed Description

Maps to Group50Var4 This class is a bit of an outlier as an indexed type and is really only used in the DNP3 PV profile.

Definition at line 168 of file MeasurementTypes.h.

Constructor & Destructor Documentation

◆ TimeAndInterval() [1/3]

opendnp3::TimeAndInterval::TimeAndInterval ( )

◆ TimeAndInterval() [2/3]

opendnp3::TimeAndInterval::TimeAndInterval ( DNPTime  time,
uint32_t  interval,
uint8_t  units 
)

◆ TimeAndInterval() [3/3]

opendnp3::TimeAndInterval::TimeAndInterval ( DNPTime  time,
uint32_t  interval,
IntervalUnits  units 
)

Member Function Documentation

◆ GetUnitsEnum()

IntervalUnits opendnp3::TimeAndInterval::GetUnitsEnum ( ) const

Member Data Documentation

◆ interval

uint32_t opendnp3::TimeAndInterval::interval

Definition at line 180 of file MeasurementTypes.h.

◆ time

DNPTime opendnp3::TimeAndInterval::time

Definition at line 179 of file MeasurementTypes.h.

◆ units

uint8_t opendnp3::TimeAndInterval::units

Definition at line 181 of file MeasurementTypes.h.


The documentation for this class was generated from the following file: