public class ConnectionConfig extends SimpleManipulator implements SecsEventListener
SimpleDataSource.NameEditorData
DataSource.Writable
Modifier and Type | Field and Description |
---|---|
static boolean |
simulating
The simulating flag.
|
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
cvsRev
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.
|
getDefaultQualityForLocation
setBooleanValue, setBoolValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString
addConnector, 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, 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 static boolean simulating
public void activeConnectionRetryIntervalValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void activeT1ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void activeT2ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void activeT3ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void activeT4ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void activeT5ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void activeT6ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void activeT7ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void activeT8ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void allDeviceIdsValidValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void allowDuplicateSECSIMessagesValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void baudRateValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void deviceIDValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void equipmentHostNameValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void equipmentPortValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public 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 Manipulator
Manipulator.addInPortName(String)
,
Manipulator.getInPortNames()
public int getStaticLocationFor(java.lang.String loc) throws BadParameterException
getStaticLocationFor
in class Manipulator
BadParameterException
public void linkTestIntervalValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void passivePortValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void passiveT1ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void passiveT2ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void passiveT3ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void passiveT4ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void passiveT5ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void passiveT6ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void passiveT7ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void passiveT8ValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void persistenceValueChanged(ValueChangedEvent e) throws VIBUpdateFailedException
VIBUpdateFailedException
public void restorePersistedValues(TransSecsController transSecsController)
transSecsController
- the TransSecsControllerpublic void secsEvent(SecsEvent theEvent)
secsEvent
in interface SecsEventListener
public 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 Manipulator
BadParameterException
VIBUpdateFailedException
public void valueInput(ValueChangedEvent newEvent) throws VIBUpdateFailedException
valueInput
in class Manipulator
newEvent
- The ValueChangedEvent that the bean or data source has sent.VIBUpdateFailedException
SimpleDataSource.setValueObject(com.ergotech.vib.valueobjects.ValueObjectInterface)
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.