33 const std::string& tag,
const std::string src,
34 size_t indent = 4)
const;
Enum variables with text representations.
#define FFaEnumEntryEnd
Defines the end of an enum mapping definition.
Definition: FFaEnum.H:237
#define FFaEnumEntry(Value, Text)
Adds one entry to the current enum mapping definition.
Definition: FFaEnum.H:234
std::istream & operator>>(std::istream &is, FmThreshold &fld)
Definition: FmThreshold.C:34
std::ostream & operator<<(std::ostream &os, const FmThreshold &fld)
Definition: FmThreshold.C:24
Class holding threshold settings for digital twin output functions.
Definition: FmThreshold.H:25
ActiveEnum active
Definition: FmThreshold.H:54
double threshold
Definition: FmThreshold.H:58
bool operator==(const FmThreshold &a) const
Definition: FmThreshold.C:11
bool isActive() const
Definition: FmThreshold.H:30
Severity
Definition: FmThreshold.H:39
@ HIGH
Definition: FmThreshold.H:39
@ MEDIUM
Definition: FmThreshold.H:39
@ LOW
Definition: FmThreshold.H:39
bool isDefined() const
Definition: FmThreshold.H:29
FFaEnumMapping(Active)
Definition: FmThreshold.H:42
SeverityEnum severity
Definition: FmThreshold.H:60
FFaEnumMapping(Severity)
Definition: FmThreshold.H:49
Active
Definition: FmThreshold.H:38
@ INACTIVE
Definition: FmThreshold.H:38
@ UNDEF
Definition: FmThreshold.H:38
@ ACTIVE
Definition: FmThreshold.H:38
void writeAppJson(std::ostream &os, const std::string &tag, const std::string src, size_t indent=4) const
Definition: FmThreshold.C:54
std::string description
Definition: FmThreshold.H:61
FmThreshold()
Definition: FmThreshold.H:27
int min
Definition: FmThreshold.H:59
int skip
Definition: FmThreshold.H:59