opendnp3  3.1.0
Reference implementation of DNP3 (IEEE-1815)
opendnp3::measurements Namespace Reference

Functions

template<class T , class U >
bool IsEvent (const T &val1, const T &val2, T deadband)
 
bool IsEvent (const TypedMeasurement< double > &newMeas, const TypedMeasurement< double > &oldMeas, double deadband)
 

Function Documentation

◆ IsEvent() [1/2]

template<class T , class U >
bool opendnp3::measurements::IsEvent ( const T &  val1,
const T &  val2,
deadband 
)

◆ IsEvent() [2/2]

bool opendnp3::measurements::IsEvent ( const TypedMeasurement< double > &  newMeas,
const TypedMeasurement< double > &  oldMeas,
double  deadband 
)