public class ConnectionConfig extends SimpleManipulator implements SecsEventListener
SimpleDataSource.NameEditorDataDataSource.Writable| Modifier and Type | Field and Description |
|---|---|
static boolean |
simulating
The simulating flag.
|
cvsRevUPDATE_DISPLAYED_VALUE, VALUE_INPUTcustomTimer, EXPORT_READ_ONLY, EXPORT_READ_WRITE, NO_EXPORT, requiresSyncWrite, sharedTimer, syncWriteTimeout, timebaseautoSuspend, 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, valueLoLocvsRev| Modifier and Type | Method and Description |
|---|---|
void |
activeConnectionRetryIntervalValueChanged(ValueChangedEvent e)
Sets all device ids to be valid or not.
|
void |
activeT1ValueChanged(ValueChangedEvent e)
Set the active T1 value.
|
void |
activeT2ValueChanged(ValueChangedEvent e)
Set the activeT2 value.
|
void |
activeT3ValueChanged(ValueChangedEvent e)
Set the activeT3 value.
|
void |
activeT4ValueChanged(ValueChangedEvent e)
Set the activeT4 value.
|
void |
activeT5ValueChanged(ValueChangedEvent e)
Set the activeT5 value.
|
void |
activeT6ValueChanged(ValueChangedEvent e)
Set the activeT6 value.
|
void |
activeT7ValueChanged(ValueChangedEvent e)
Set the activeT7 value.
|
void |
activeT8ValueChanged(ValueChangedEvent e)
Set the activeT8 value.
|
void |
allDeviceIdsValidValueChanged(ValueChangedEvent e)
Sets all device ids to be valid or not.
|
void |
allowDuplicateSECSIMessagesValueChanged(ValueChangedEvent e)
Sending a value of "true" to this method allows SECSI message to be
received and processed even though they have the same system bytes as the
previous message.
|
void |
baudRateValueChanged(ValueChangedEvent e)
Set the baud value.
|
void |
deviceIDValueChanged(ValueChangedEvent e)
Set the device value.
|
void |
equipmentHostNameValueChanged(ValueChangedEvent e)
Set the equipmentHostName value.
|
void |
equipmentPortValueChanged(ValueChangedEvent e)
Set the equipmentPort value.
|
void |
findTool()
Finds the tool for the value of the instance variable "tool".
|
static ConnectionConfig |
getConnectionConfig(java.lang.String controllerName) |
TransSecsController |
getController()
This will find the transSecsController for the subclass and create one
if this it can't find one.
|
java.lang.String |
getControllerName()
Returns the controller name.
|
java.util.Enumeration<java.lang.String> |
getInPortNames()
For OPC we don't want to generate the "active" tags if this is a tool project.
|
int |
getStaticLocationFor(java.lang.String loc)
This is used by the staticMethodEvent.
|
void |
linkTestIntervalValueChanged(ValueChangedEvent e)
Sets all device ids to be valid or not.
|
void |
passivePortValueChanged(ValueChangedEvent e)
Set the port value.
|
void |
passiveT1ValueChanged(ValueChangedEvent e)
Set the t1 value.
|
void |
passiveT2ValueChanged(ValueChangedEvent e)
Set the t2 value.
|
void |
passiveT3ValueChanged(ValueChangedEvent e)
Set the t3 value.
|
void |
passiveT4ValueChanged(ValueChangedEvent e)
Set the t4 value.
|
void |
passiveT5ValueChanged(ValueChangedEvent e)
Set the t5 value.
|
void |
passiveT6ValueChanged(ValueChangedEvent e)
Set the t6 value.
|
void |
passiveT7ValueChanged(ValueChangedEvent e)
Set the t7 value.
|
void |
passiveT8ValueChanged(ValueChangedEvent e)
Set the t8 value.
|
void |
persistenceValueChanged(ValueChangedEvent e)
Set to true to persist the GEM model
|
void |
restorePersistedValues(TransSecsController transSecsController)
This method will set the parameter to the transSecsController
|
void |
secsEvent(SecsEvent theEvent)
Updates the status of the connection on any event.
|
void |
setControllerName(java.lang.String newValue)
Sets the controllere name.
|
void |
storeCurrentValues(TransSecsController transSecsController)
This method will store the current values from the controller to the XML file.
|
void |
valueChanged(int loc,
ValueChangedEvent e)
This allows for a staticmethodevent to occur.
|
void |
valueInput(ValueChangedEvent newEvent)
This method will reset the TransSecsController default values.
|
getDefaultQualityForLocationsetBooleanValue, setBoolValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toStringaddConnector, addConnector, addDataSource, addPropertyChangeListener, addValueChangedListener, addVetoableChangeListener, authenticatedClientRequest, clientRequest, clientResponse, destroy, determineSuspendedStatus, getClassLicenseManager, getContainer, getCustomTimer, getDataSource, getDataSources, getDisplayName, getExportCriteria, getExposeComponentConnections, getName, getOutPortNames, getPullFromServers, getPushData, getPushName, getPushToServers, getServerListData, getTimebase, getTrace, isActive, isScreenLocal, refreshCurrentValue, removeConnector, removeDataSource, removePropertyChangeListener, removeValueChangedListener, removeVetoableChangeListener, requestSyncWrite, setAutoSuspend, setClassLicenseManager, setContainer, setCustomTimer, setDataSourceName, setExportCriteria, setExposeComponentConnections, setName, setPullFromServers, setPushData, setPushName, setPushToServers, setScreenLocal, setServerListData, setTimebase, setTrace, setValueObject, start, stop, tick, VIBEventaddVIBEventListener, 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, whoAmIpublic static boolean simulating
public void activeConnectionRetryIntervalValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void activeT1ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void activeT2ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void activeT3ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void activeT4ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void activeT5ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void activeT6ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void activeT7ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void activeT8ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void allDeviceIdsValidValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void allowDuplicateSECSIMessagesValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void baudRateValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void deviceIDValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void equipmentHostNameValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void equipmentPortValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void findTool()
public static ConnectionConfig getConnectionConfig(java.lang.String controllerName)
public TransSecsController getController()
public java.lang.String getControllerName()
public java.util.Enumeration<java.lang.String> getInPortNames()
getInPortNames in class ManipulatorManipulator.addInPortName(String),
Manipulator.getInPortNames()public int getStaticLocationFor(java.lang.String loc)
throws BadParameterException
getStaticLocationFor in class ManipulatorBadParameterExceptionpublic void linkTestIntervalValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void passivePortValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void passiveT1ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void passiveT2ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void passiveT3ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void passiveT4ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void passiveT5ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void passiveT6ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void passiveT7ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void passiveT8ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void persistenceValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void restorePersistedValues(TransSecsController transSecsController)
transSecsController - the TransSecsControllerpublic void secsEvent(SecsEvent theEvent)
secsEvent in interface SecsEventListenerpublic void setControllerName(java.lang.String newValue)
public void storeCurrentValues(TransSecsController transSecsController)
transSecsController - the TransSecsControllerpublic void valueChanged(int loc,
ValueChangedEvent e)
throws VIBUpdateFailedException,
BadParameterException
valueChanged in class ManipulatorBadParameterExceptionVIBUpdateFailedExceptionpublic void valueInput(ValueChangedEvent newEvent) throws VIBUpdateFailedException
valueInput in class ManipulatornewEvent - The ValueChangedEvent that the bean or data source has sent.VIBUpdateFailedExceptionSimpleDataSource.setValueObject(com.ergotech.vib.valueobjects.ValueObjectInterface)Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.