public abstract class BaseTimeDataType extends BaseDataType
encoding, initialValuename, PATH_SEPARATOR, qualifiedName, xtceAliasSet| Modifier | Constructor and Description |
|---|---|
protected |
BaseTimeDataType(BaseTimeDataType t)
creates a shallow copy of t
|
| Modifier and Type | Method and Description |
|---|---|
double |
getOffset() |
double |
getScale() |
boolean |
needsScaling() |
Object |
parseStringForRawValue(String stringValue) |
void |
setScaling(double offset,
double scale)
Scale and offset are used in a y = m*x + b type relationship (m is the scale and b is the offset)
to make adjustments to the encoded value so that it matches the time units.
|
addAllUnits, addUnit, getEncoding, getUnitSet, parseString, setEncoding, setInitialValueaddAlias, addAliases, addAncillaryData, getAlias, getAliasSet, getAncillaryData, getAncillaryDataSet, getLongDescription, getName, getName, getOpsName, getQualifiedName, getShortDescription, getSubsystemName, getSubsystemName, setAliasSet, setLongDescription, setName, setQualifiedName, setShortDescriptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInitialValue, getLongDescription, getName, getShortDescription, getTypeAsString, getValueType, setLongDescription, setShortDescriptionprotected BaseTimeDataType(BaseTimeDataType t)
t - public Object parseStringForRawValue(String stringValue)
parseStringForRawValue in class BaseDataTypepublic void setScaling(double offset,
double scale)
offset - scale - public boolean needsScaling()
public double getOffset()
public double getScale()
Copyright © 2020 Space Applications Services. All rights reserved.