public class TransSecsVoyeur extends TransSecsController
Modifier and Type | Class and Description |
---|---|
class |
TransSecsVoyeur.ConnectionEventListener
The SecsEvent Listener.
|
TransSecsController.ResponseWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
activeDefaultMessageHandler
The default message handler to use to the equipment.
|
int |
beanDebugLevel
this bean's debug level (an expert property)
|
static int |
debugLevel
Set this to enable debugging.
|
ACTIVE_PORT, allInstances, connectionConfig, csvFolder, DEFAULT_TRANSSECS_APPLICATION, defaultMessageHandler, DEVICES_CLIENT_TRANSSECS_APPLICATION, FILE_RECIPE_MANAGER, invertHostOrEquipmentConnection, lastProcessed, PASSIVE_PORT, passThroughGlobal, recipeBaseDir, recipeFileExtension, recipeManager, recipeManagerType, testPanel, transSecsApplicationType
Constructor and Description |
---|
TransSecsVoyeur() |
Modifier and Type | Method and Description |
---|---|
void |
connect(boolean sendingMessage)
Connect the two wrappers and add a pass through message handler to both.
|
void |
destroy()
Destroy the component and destroy all the messages.
|
void |
disconnect()
Disconnects from all wrappers (active if present and passive).
|
void |
disconnectActive()
Disconnect the active wrapper and generally clean up.
|
int |
getActivePort()
Returns the port that this object will use to make an active (host)
connection.
|
double |
getActiveT1() |
double |
getActiveT2() |
double |
getActiveT3() |
double |
getActiveT4() |
int |
getActiveT5() |
int |
getActiveT6() |
int |
getActiveT7() |
int |
getActiveT8() |
java.lang.String |
getActiveToolTarget()
Returns the tool that will be the target.
|
int |
getBeanDebugLevel()
This gets the debug level of this bean.
|
java.lang.String |
getEquipmentHostName()
The host name of the equipment.
|
WrapperInterface |
getWrapper(int whichWrapper)
Returns a wrapper for the give defined constant.
|
boolean |
processMessage(SecsTrigger msg)
Calls the super-classes processMessage and returns true.
|
void |
setActivePort(int newPort)
Sets the port that this object will use to make an active connection.
|
void |
setActiveT1(double newValue) |
void |
setActiveT2(double newValue) |
void |
setActiveT3(double newValue) |
void |
setActiveT4(double newValue) |
void |
setActiveT5(int newValue) |
void |
setActiveT6(int newValue) |
void |
setActiveT7(int newValue) |
void |
setActiveT8(int newValue) |
void |
setActiveToolTarget(java.lang.String activeToolTarget)
Sets the tool that will be the target.
|
void |
setActiveWrapperClassName(java.lang.String activeWrapperClassName)
Set the active wrapper class name; only useful before connect is called
|
void |
setDebugLevel(int newValue)
This sets the debug level of this bean for system outs.
|
void |
setEquipmentHostName(java.lang.String equipmentHostName)
The host name of the equipment.
|
void |
setLogger(LoggerInterface l) |
void |
setPort(int port)
Sets the port that this object will use to listen for active connections.
|
void |
setT1(double newValue) |
void |
setT2(double newValue) |
void |
setT3(double newValue) |
void |
setT4(double newValue) |
void |
setT5(int newValue) |
void |
setT6(int newValue) |
void |
setT7(int newValue) |
void |
setT8(int newValue) |
void |
start()
Start the component.
|
void |
stop()
Stop the component.
|
java.lang.String |
toString()
Create a toString to be proud of...
|
addALID, addALID, addALIDsFromCSV, addCEID, addCEID, addCEIDsFromCSV, addDependentEInterface, addDVID, addECID, addSVID, addVID, addVIDsFromCSV, createDataId, createDevices, createSecsFormat3x5x, disconnectPassive, findController, getActiveConnectionRetryInterval, getAlids, getAllMessages, getAutoResponseMessages, getBaudRate, getCeids, getClassPackage, getConnectionConfig, getControllerName, getDeviceId, getEquipmentWrapper, getGemCompliant, getGemHandler, getLinkTestInterval, getLocalDebug, getLogger, getMatchingPrimary, getMatchingResponse, getMessageBean, getPassiveT1, getPassiveT2, getPassiveT3, getPassiveT4, getPassiveT5, getPassiveT6, getPassiveT7, getPassiveT8, getPassiveToolTarget, getPersistenceFileName, getPort, getSimulationListener, getSingleController, getUnhandledPrimaries, getVids, getWrapperDescription, handleHandCraftedMessage, init, isAllowDuplicateSECSIMessages, isDigitalTwin, isPassThrough, isS1F3ReturnsValues, logInfo, newInstance, println, processMessage, processMessage, publish, publish, publishReport, register, registerEventComponents, registerForReceiveNotification, registerInstance, removeDependentEInterface, sendResponse, setActiveConnectionRetryInterval, setAllowDuplicateSECSIMessages, setBaudRate, setClassPackage, setConnectionConfig, setControllerName, setDeviceId, setDigitalTwin, setFileRecipeManagerExtension, setFileRecipeManagerPath, setGemCompliant, setLinkTestInterval, setLocalDebug, setPassiveT1, setPassiveT2, setPassiveT3, setPassiveT4, setPassiveT5, setPassiveT6, setPassiveT7, setPassiveT8, setPassiveToolTarget, setPassiveWrapperClassName, setPassThrough, setPersistenceFileName, setS1F3ReturnsValues, setSoftRevAndMDLN, setupFileRecipeManager, unregisterInstance, valueInput
public static java.lang.Object activeDefaultMessageHandler
public int beanDebugLevel
public static int debugLevel
public void connect(boolean sendingMessage)
connect
in class TransSecsController
public void destroy() throws BadParameterException
TransSecsController
destroy
in class TransSecsController
BadParameterException
public void disconnect()
disconnect
in class TransSecsController
public void disconnectActive()
public int getActivePort()
public double getActiveT1()
public double getActiveT2()
public double getActiveT3()
public double getActiveT4()
public int getActiveT5()
public int getActiveT6()
public int getActiveT7()
public int getActiveT8()
public java.lang.String getActiveToolTarget()
public int getBeanDebugLevel()
public java.lang.String getEquipmentHostName()
public WrapperInterface getWrapper(int whichWrapper)
getWrapper
in class TransSecsController
public boolean processMessage(SecsTrigger msg)
processMessage
in class TransSecsController
public void setActivePort(int newPort)
public void setActiveT1(double newValue)
public void setActiveT2(double newValue)
public void setActiveT3(double newValue)
public void setActiveT4(double newValue)
public void setActiveT5(int newValue)
public void setActiveT6(int newValue)
public void setActiveT7(int newValue)
public void setActiveT8(int newValue)
public void setActiveToolTarget(java.lang.String activeToolTarget)
public void setActiveWrapperClassName(java.lang.String activeWrapperClassName)
public void setDebugLevel(int newValue)
public void setEquipmentHostName(java.lang.String equipmentHostName)
equipmentHostName
- the host name of the tool to which an active
connection will be created.public void setLogger(LoggerInterface l)
setLogger
in class TransSecsController
public void setPort(int port)
setPort
in class TransSecsController
public void setT1(double newValue)
setT1
in class TransSecsController
public void setT2(double newValue)
setT2
in class TransSecsController
public void setT3(double newValue)
setT3
in class TransSecsController
public void setT4(double newValue)
setT4
in class TransSecsController
public void setT5(int newValue)
setT5
in class TransSecsController
public void setT6(int newValue)
setT6
in class TransSecsController
public void setT7(int newValue)
setT7
in class TransSecsController
public void setT8(int newValue)
setT8
in class TransSecsController
public void start() throws BadParameterException, VIBUpdateFailedException
TransSecsController
start
in class TransSecsController
BadParameterException
VIBUpdateFailedException
public void stop() throws BadParameterException
TransSecsController
stop
in class TransSecsController
BadParameterException
public java.lang.String toString()
toString
in class TransSecsController
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.