Class MultiPhaseMeter
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.measurementdevice.MeasurementDeviceBaseClass
neqsim.process.measurementdevice.StreamMeasurementDeviceBaseClass
neqsim.process.measurementdevice.MultiPhaseMeter
- All Implemented Interfaces:
Serializable, MeasurementDeviceInterface, NamedInterface
MultiPhaseMeter class.
- Version:
- $Id: $Id
- Author:
- asmund
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static org.apache.logging.log4j.LoggerLogger object for class.(package private) doubleprivate static final longSerialization version UID.(package private) double(package private) String(package private) StringFields inherited from class StreamMeasurementDeviceBaseClass
streamFields inherited from class MeasurementDeviceBaseClass
unitFields inherited from class NamedBaseClass
name -
Constructor Summary
ConstructorsConstructorDescriptionMultiPhaseMeter(String name, StreamInterface stream) Constructor for MultiPhaseMeter.MultiPhaseMeter(StreamInterface stream) Constructor for MultiPhaseMeter. -
Method Summary
Modifier and TypeMethodDescriptiondoublegetMeasuredValue(String unit) Get Measured value in specified unit.doublegetMeasuredValue(String measurement, String unit) Get specific measurement type.doubleGetter for the fieldpressure.doublegetTemperature.voidsetPressure(double pressure, String unitP) Setter for the fieldpressure.voidsetTemperature(double temperature, String unitT) Setter for the fieldtemperature.Methods inherited from class StreamMeasurementDeviceBaseClass
getStream, setStreamMethods inherited from class MeasurementDeviceBaseClass
acknowledgeAlarm, applySignalModifiers, displayResult, doConditionAnalysis, evaluateAlarm, getAlarmConfig, getAlarmState, getConditionAnalysisMaxDeviation, getConditionAnalysisMessage, getDelaySteps, getMaximumValue, getMeasuredPercentValue, getMinimumValue, getNoiseStdDev, getOnlineMeasurementValue, getOnlineSignal, getUnit, isLogging, isOnlineSignal, runConditionAnalysis, setAlarmConfig, setConditionAnalysis, setConditionAnalysisMaxDeviation, setDelaySteps, setIsOnlineSignal, setLogging, setMaximumValue, setMinimumValue, setNoiseStdDev, setOnlineMeasurementValue, setOnlineSignal, setQualityCheckMessage, setRandomSeed, setUnitMethods inherited from class NamedBaseClass
getName, getTagName, setName, setTagNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MeasurementDeviceInterface
equals, getMeasuredValue, getOnlineValue, hashCodeMethods inherited from interface NamedInterface
getName, getTagName, setName, setTagName
-
Field Details
-
Constructor Details
-
MultiPhaseMeter
Constructor for MultiPhaseMeter.
- Parameters:
stream- aStreamInterfaceobject
-
MultiPhaseMeter
Constructor for MultiPhaseMeter.
- Parameters:
name- aStringobjectstream- aStreamInterfaceobject
-
-
Method Details
-
getPressure
public double getPressure()Getter for the field
pressure.- Returns:
- a double
-
setPressure
-
getTemperature
public double getTemperature()getTemperature.
- Returns:
- a double
-
setTemperature
-
getMeasuredValue
Get Measured value in specified unit.
- Specified by:
getMeasuredValuein interfaceMeasurementDeviceInterface- Overrides:
getMeasuredValuein classMeasurementDeviceBaseClass- Parameters:
unit- aStringobject- Returns:
- a double
-
getMeasuredValue
-