public class GemECID extends GemVID
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 |
---|
GemECID()
Create and add a default validator.
|
Modifier and Type | Method and Description |
---|---|
void |
addConnectionToDevice(java.lang.String newDeviceName,
java.lang.String newDeviceTagNameOrRegister,
java.lang.String inPort)
Adds the connection from this server to the device and server.
|
ECIDValidationInterface |
getValidator()
Returns the validator.
|
void |
removeConnectionToDevice(java.lang.String oldDeviceName,
java.lang.String oldDeviceTagNameOrRegister,
java.lang.String inPort)
Removes the connection from this server to the device and server.
|
void |
setDefaultValue(SecsFormat newValue)
Create and add a validator for this element.
|
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 |
setValidator(ECIDValidationInterface validator)
Sets the validator.
|
void |
setValueObject(ValueObjectInterface newValue)
Override the superclass to post the changed event.
|
void |
validate(SecsFormat newValue)
Validate the potential change.
|
checkLimits, convert, getCEID, getDeadband, getDefaultValue, getDefinedLimits, getLimitAsSF, getLimitMax, getLimitMaxAsSF, getLimitMin, getLimitMinAsSF, getSecsFormat, getSVName, getUnits, setCEID, setDeadband, setSVName, setUnits
getID, getName, 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 GemECID()
public void addConnectionToDevice(java.lang.String newDeviceName, java.lang.String newDeviceTagNameOrRegister, java.lang.String inPort) throws BadParameterException
addConnectionToDevice
in class GemID
newDeviceName
- the device name of the source device - the device that contains the servernewDeviceTagNameOrRegister
- the register or other tag identifier identifing the server in the particular deviceinPort
- the target inportBadParameterException
- thrown if the server cannot be removed.public ECIDValidationInterface getValidator()
public void removeConnectionToDevice(java.lang.String oldDeviceName, java.lang.String oldDeviceTagNameOrRegister, java.lang.String inPort) throws BadParameterException
removeConnectionToDevice
in class GemID
BadParameterException
- thrown if the server cannot be removed.public void setDefaultValue(SecsFormat newValue) throws VIBUpdateFailedException
setDefaultValue
in class GemVID
VIBUpdateFailedException
public void setLimitMax(double newValue)
setLimitMax
in class GemVID
public void setLimitMin(double newValue)
setLimitMin
in class GemVID
public void setValidator(ECIDValidationInterface validator)
public void setValueObject(ValueObjectInterface newValue) throws VIBUpdateFailedException
setValueObject
in class GemVID
newValue
- the new ValueObject value for the serverVIBUpdateFailedException
ValueObject
public void validate(SecsFormat newValue) throws InvalidECIDChangeException
newValue
- the value that it is proposed to change toInvalidECIDChangeException
- if the underlying validator
throws an exception.Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.