fm.liveswitch.MetricMonitorStateChangeEventArgs Class Reference

Metric monitor state change event args. More...

Public Member Functions

fm.liveswitch.MetricMonitorState getState ()
 Gets the monitor's State. More...
 
int getThreshold ()
 Gets the metric's threshold value. More...
 
float getTrend ()
 Gets the metric's trend. More...
 
int getValue ()
 Gets the metric value. More...
 
 MetricMonitorStateChangeEventArgs (fm.liveswitch.MetricMonitorState state, int value, int threshold, float trend)
 Construct MetricMonitorStateChangeEventArgs. More...
 

Detailed Description

Metric monitor state change event args.

Constructor & Destructor Documentation

◆ MetricMonitorStateChangeEventArgs()

fm.liveswitch.MetricMonitorStateChangeEventArgs.MetricMonitorStateChangeEventArgs ( fm.liveswitch.MetricMonitorState  state,
int  value,
int  threshold,
float  trend 
)

Construct MetricMonitorStateChangeEventArgs.

Parameters
state
value
threshold
trend

Member Function Documentation

◆ getState()

fm.liveswitch.MetricMonitorState fm.liveswitch.MetricMonitorStateChangeEventArgs.getState ( )

Gets the monitor's State.

◆ getThreshold()

int fm.liveswitch.MetricMonitorStateChangeEventArgs.getThreshold ( )

Gets the metric's threshold value.

◆ getTrend()

float fm.liveswitch.MetricMonitorStateChangeEventArgs.getTrend ( )

Gets the metric's trend.

◆ getValue()

int fm.liveswitch.MetricMonitorStateChangeEventArgs.getValue ( )

Gets the metric value.