Package org.yamcs.parameter
Class BasicParameterValue
java.lang.Object
org.yamcs.parameter.RawEngValue
org.yamcs.parameter.BasicParameterValue
- Direct Known Subclasses:
ParameterValue
Holds the value of a parameter.
This class does not reference any parameter definition or name.
It does not have acquisition time for parameters either
-
Field Summary
Fields inherited from class org.yamcs.parameter.RawEngValue
engValue, generationTime, rawValue
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAlarmRanges
(List<Mdb.AlarmRange> alarmRangeList) static ParameterValue
fromGpb
(String fqn, Pvalue.ParameterValue gpv) static ParameterValue
fromGpb
(Parameter pdef, Pvalue.ParameterValue gpv) long
long
Deprecated.boolean
void
void
setCriticalRange
(DoubleRange range) void
void
setDistressRange
(DoubleRange range) void
setEngValue
(Value engValue) void
setExpireMillis
(long em) void
void
setRangeCondition
(Pvalue.RangeCondition rangeCondition) void
setSevereRange
(DoubleRange range) void
setStatus
(ParameterStatus parameterStatus) void
setWarningRange
(DoubleRange range) void
setWatchRange
(DoubleRange range) static Mdb.AlarmRange
toGpbAlarmRange
(Mdb.AlarmLevelType gpbLevel, DoubleRange floatRange) toString()
Methods inherited from class org.yamcs.parameter.RawEngValue
getEngValue, getGenerationTime, getRawValue, hasGenerationTime, setBinaryValue, setBooleanValue, setDoubleValue, setEngineeringValue, setFloatValue, setGenerationTime, setRawDoubleValue, setRawFloatValue, setRawSignedInteger, setRawSignedLong, setRawUnsignedInteger, setRawUnsignedLong, setRawValue, setRawValue, setRawValue, setRawValue, setSignedIntegerValue, setSignedLongValue, setStringValue, setUnsignedIntegerValue, setUnsignedLongValue
-
Constructor Details
-
BasicParameterValue
public BasicParameterValue() -
BasicParameterValue
-
-
Method Details
-
setExpireMillis
public void setExpireMillis(long em) -
getExpireMillis
public long getExpireMillis() -
getExpireMills
Deprecated.UsegetExpireMillis()
instead. -
setEngValue
- Overrides:
setEngValue
in classRawEngValue
-
setWatchRange
-
setWarningRange
-
setDistressRange
-
setCriticalRange
-
setSevereRange
-
setMonitoringResult
-
setDeltaMonitoringResult
-
setRangeCondition
-
setAcquisitionStatus
-
getDistressRange
-
getWatchRange
-
getCriticalRange
-
getWarningRange
-
getSevereRange
-
getMonitoringResult
-
getRangeCondition
-
getAcquisitionStatus
-
getDeltaMonitoringResult
-
getStatus
-
setStatus
-
toGpbAlarmRange
-
fromGpb
-
fromGpb
-
addAlarmRanges
-
hasExpirationTime
public boolean hasExpirationTime() -
toString
-
getExpireMillis()
instead.