public class SharedReadingBean extends ReadingBean
| Modifier and Type | Field and Description |
|---|---|
protected float |
normalizationFactor |
dbId, dynamicReading, id, monitorClass, name, parameters, unit, value| Constructor and Description |
|---|
SharedReadingBean(String monitorClass,
String name,
String unit,
float normalizationFactor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyMemoryNormalizationFactor() |
protected double |
fixDoubleValue(double value)
Invalid double values set to "-1.0"
|
protected float |
fixDoubleValueInPercents(double value)
Invalid double percent values set to "-0.01"
|
protected long |
fixLongValue(long value)
Negative long values set to "-1"
|
equals, getDbId, getDescription, getId, getMonitorName, getName, getNewCopy, getParameter, getParameters, getUnit, getValue, isDynamicReading, setDbId, setDynamicReading, setId, setName, setParameters, setValue, toStringprotected double fixDoubleValue(double value)
value - double valueprotected float fixDoubleValueInPercents(double value)
value - double valueprotected long fixLongValue(long value)
value - long valueprotected void applyMemoryNormalizationFactor()
Copyright © 2017 Axway Software. All rights reserved.