public abstract class BaseTimeDataType extends BaseDataType
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseTimeDataType.Builder<T extends BaseTimeDataType.Builder<T>> |
encodingancillaryData, name, 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.
|
getEncoding, getUnitSet, parseString, setInitialValue, setInitialValue, toStringaddAlias, addAliases, addAncillaryData, getAlias, getAliasSet, getAncillaryData, getLongDescription, getName, getName, getOpsName, getQualifiedName, getShortDescription, getSubsystemName, getSubsystemName, setAliasSet, setAncillaryData, setLongDescription, setName, setQualifiedName, setShortDescriptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInitialValue, getLongDescription, getName, getShortDescription, getTypeAsString, getValueTypeprotected 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.