public class GemVID extends GemID
SimpleDataSource.NameEditorData
DataSource.Writable
cvsRev
UPDATE_DISPLAYED_VALUE, VALUE_INPUT
customTimer, EXPORT_READ_ONLY, EXPORT_READ_WRITE, NO_EXPORT, requiresSyncWrite, sharedTimer, syncWriteTimeout, timebase
autoSuspend, AUTOSUSPEND_DEFAULT, AUTOSUSPEND_NEVER, AUTOSUSPEND_NO_LISTENERS, AUTOSUSPEND_NO_LISTENERS_AND_NO_SOURCES, colorHi, colorHiHi, colorLo, colorLoLo, colorNormal, connectors, consoleLogger, currentColor, currentValue, debugLevel, DEFAULT_AUTOSUSPEND, dontConnect, gwtLog, hardSuspended, popupLogger, PRIMARYOUTPORTNAME, sendColors, stopped, suspended, timedPopupLogger, traceLogger, valueHi, valueHiHi, valueLo, valueLoLo
Constructor and Description |
---|
GemVID()
Create the GemVID.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkLimits(SecsFormatValueObject incomingValue)
Used in setValueObject replaces evaluation for comparing limits.
|
SecsFormatValueObject |
convert(ValueObjectInterface value)
Converts the value object to a SecsFormatValueObject.
|
GemCEID |
getCEID()
Returns the CEID associated with vid monitoring.
|
double |
getDeadband()
Returns the deadband.
|
SecsFormat |
getDefaultValue()
Returns the default value as a SecsFormat.
|
java.util.List<GemLIMITID> |
getDefinedLimits()
Returns all the limits that are registered for this variable in order.
|
SecsFormat |
getLimitAsSF(double limitValue)
Returns the upper limit as a SecsFormat.
|
double |
getLimitMax()
Returns the Maximum acceptable value for a limit.
|
SecsFormat |
getLimitMaxAsSF()
Returns the upper limit as a SecsFormat.
|
double |
getLimitMin()
Returns the minimum acceptable value for a limit.
|
SecsFormat |
getLimitMinAsSF()
Returns the lower limit as a SecsFormat.
|
SecsFormat |
getSecsFormat()
Returns the current value of this object as a SecsFormat.
|
java.lang.String |
getSVName()
This is used for S1F12 only.
|
java.lang.String |
getUnits()
Returns the name of the units.
|
void |
setCEID(GemCEID newValue)
Sets the CEID associated with vid monitoring.
|
void |
setDeadband(double deadband)
Saves the deadband.
|
void |
setDefaultValue(SecsFormat newValue)
Set the default value.
|
void |
setLimitMax(double newValue)
Returns the Maximum acceptable value for a limit.
|
void |
setLimitMin(double newValue)
Sets the minimum acceptable value for a limit.
|
void |
setSVName(java.lang.String newValue)
This is used for S1F12 only.
|
void |
setUnits(java.lang.String newValue)
Sets the name of the units.
|
void |
setValueObject(ValueObjectInterface newValue)
Set the value to the new value.
|
addConnectionToDevice, getID, getName, removeConnectionToDevice, setID, setName, setProperty, valueInput
getDefaultQualityForLocation
getInPortNames, getStaticLocationFor, setBooleanValue, setBoolValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, valueChanged
addConnector, addConnector, addDataSource, addPropertyChangeListener, addValueChangedListener, addVetoableChangeListener, authenticatedClientRequest, clientRequest, clientResponse, destroy, determineSuspendedStatus, getClassLicenseManager, getContainer, getCustomTimer, getDataSource, getDataSources, getDisplayName, getExportCriteria, getExposeComponentConnections, getOutPortNames, getPullFromServers, getPushData, getPushName, getPushToServers, getServerListData, getTimebase, getTrace, isActive, isScreenLocal, refreshCurrentValue, removeConnector, removeDataSource, removePropertyChangeListener, removeValueChangedListener, removeVetoableChangeListener, requestSyncWrite, setAutoSuspend, setClassLicenseManager, setContainer, setCustomTimer, setDataSourceName, setExportCriteria, setExposeComponentConnections, setPullFromServers, setPushData, setPushName, setPushToServers, setScreenLocal, setServerListData, setTimebase, setTrace, start, stop, tick, VIBEvent
addVIBEventListener, checkScript, executeInScriptInternal, executeScript, executeScriptInternal, executeScriptInternal, getAutoSuspend, getBooleanValue, getBoolValue, getColorHi, getColorHiHi, getColorLo, getColorLoLo, getColorNormal, getConnectors, getConsoleLogger, getCurrentColor, getDataSourceName, getDoubleValue, getFloatValue, getGWTLogger, getIncomingValueObject, getInScript, getIntValue, getLongValue, getParent, getPopupLogger, getScript, getScriptEngine, getSendColors, getSources, getStringValue, getSyncWriteTimeout, getTimedPopupLogger, getTraceLogger, getValueHi, getValueHiHi, getValueLo, getValueLoLo, getValueObject, init, isHardSuspended, isRunning, isSendOnlyChangedValuesDefault, isSuspended, logException, logGWT, logGWT, logMessage, logTrace, n2sortConnectors, performScriptSubstitutions, popupMessage, post, removeConnector, removeVIBEventListener, replaceConnectors, scriptExtensionSubstition, setColorHi, setColorHiHi, setColorLo, setColorLoLo, setColorNormal, setConsoleLogger, setGWTLogger, setHardSuspended, setInScript, setParent, setPopupLogger, setScript, setSendColors, setSendOnlyChangedValuesDefault, setSyncWriteTimeout, setTimedPopupLogger, setTraceLogger, setValueHi, setValueHiHi, setValueLo, setValueLoLo, updateColor, updateListeners, updateListeners, updateListeners, whoAmI
public boolean checkLimits(SecsFormatValueObject incomingValue)
public SecsFormatValueObject convert(ValueObjectInterface value)
value
- the current valuepublic GemCEID getCEID()
public double getDeadband()
public SecsFormat getDefaultValue()
public java.util.List<GemLIMITID> getDefinedLimits()
public SecsFormat getLimitAsSF(double limitValue)
public double getLimitMax()
public SecsFormat getLimitMaxAsSF()
public double getLimitMin()
public SecsFormat getLimitMinAsSF()
public SecsFormat getSecsFormat()
public java.lang.String getSVName()
public java.lang.String getUnits()
public void setCEID(GemCEID newValue)
public void setDeadband(double deadband)
deadband
- public void setDefaultValue(SecsFormat newValue) throws VIBUpdateFailedException
VIBUpdateFailedException
public void setLimitMax(double newValue)
public void setLimitMin(double newValue)
public void setSVName(java.lang.String newValue)
public void setUnits(java.lang.String newValue)
public void setValueObject(ValueObjectInterface newValue) throws VIBUpdateFailedException
setValueObject
in class SimpleDataSource
newValue
- the new ValueObject value for the serverVIBUpdateFailedException
ValueObject
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.