FEDEM Model Database  R8.0
Source code of the FEDEM model database
Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
FmThreshold Class Reference

Class holding threshold settings for digital twin output functions. More...

#include <FmThreshold.H>

Public Types

enum  Active { UNDEF = -1 , INACTIVE = 0 , ACTIVE = 1 }
 
enum  Severity { LOW = 1 , MEDIUM = 2 , HIGH = 3 }
 

Public Member Functions

 FmThreshold ()
 
bool isDefined () const
 
bool isActive () const
 
void writeAppJson (std::ostream &os, const std::string &tag, const std::string src, size_t indent=4) const
 
bool operator== (const FmThreshold &a) const
 

Public Attributes

ActiveEnum active
 
double threshold
 
int min
 
int skip
 
SeverityEnum severity
 
std::string description
 

Private Member Functions

 FFaEnumMapping (Active)
 
 FFaEnumMapping (Severity)
 

Detailed Description

Class holding threshold settings for digital twin output functions.

The parameters here are not used by the FEDEM simulation, they are only passed to the digital twin cloud framework through the app.json file of the exported app.

Member Enumeration Documentation

◆ Active

Enumerator
UNDEF 
INACTIVE 
ACTIVE 

◆ Severity

Enumerator
LOW 
MEDIUM 
HIGH 

Constructor & Destructor Documentation

◆ FmThreshold()

FmThreshold::FmThreshold ( )
inline

Member Function Documentation

◆ FFaEnumMapping() [1/2]

FmThreshold::FFaEnumMapping ( Active  )
inlineprivate

◆ FFaEnumMapping() [2/2]

FmThreshold::FFaEnumMapping ( Severity  )
inlineprivate

◆ isActive()

bool FmThreshold::isActive ( ) const
inline

◆ isDefined()

bool FmThreshold::isDefined ( ) const
inline

◆ operator==()

bool FmThreshold::operator== ( const FmThreshold &  a) const

◆ writeAppJson()

void FmThreshold::writeAppJson ( std::ostream &  os,
const std::string &  tag,
const std::string  src,
size_t  indent = 4 
) const

Member Data Documentation

◆ active

ActiveEnum FmThreshold::active

◆ description

std::string FmThreshold::description

◆ min

int FmThreshold::min

◆ severity

SeverityEnum FmThreshold::severity

◆ skip

int FmThreshold::skip

◆ threshold

double FmThreshold::threshold

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