public class EquipStartupData
extends Object
The data structure is also used on the host side just to pass and retrieve configured values of tracing and logging.
Modifier and Type | Field and Description |
---|---|
boolean |
autoInstantiate
whether software should create the connection object at program start
|
int |
baud
For SECS-I the RS-232 baudrate
|
boolean |
commEnable
whether SECS communication should be enabled
|
int |
connectionType
Enumerated connection type, 1995 for standard HSMS, 0 for serial
|
boolean |
controlIntentOnline
whether an online control state is desired
|
boolean |
controlModeRemote
whether remote control is desired in the online control state
|
int |
controlStateStartup
The desired control state at startup.
|
int |
deviceID
Device ID
|
String |
hsmsHost
For active HSMS connections, the target host or IP address.
|
boolean |
hsmsPassive
Whether the HSMS interface is started as the TCP/IP server.
|
int |
hsmsPort
For HSMS, the TCP/IP socket port being served or being connected to.
|
boolean |
mult
For SECS-I whether multiple open transactions are allowed.
|
String |
name
the connection/object name, also a unique database table key
|
int |
rty
For SECS-I the maximum retry count
|
String |
serialDevice
For SECS-I the communication device such as COM1 or /dev/ttyS0
|
int |
t1
The SECS-I receive intercharacter timeout
|
int |
t2
The SECS-I protocol timeout for block transfer
|
int |
t3
Conversation reply timeout.
|
int |
t4
SECS-I inter-block timeout
|
int |
t5
HSMS connect separation timeout
|
int |
t6
HSMS control transaction timeout
|
int |
t7
HSMS not selected timeout
|
int |
t8
HSMS intercharacter timeout - (not used)
|
int |
traceBits
Diagnostic output setting
|
String |
traceDir
Directory for trace data logging files
|
int |
traceLogMaxWidth
Maximum characters per line in log file
|
int |
traceMax
Maximum number of logging day files
|
String |
traceZipCmd
Compression command for trace data logging files
|
Constructor and Description |
---|
EquipStartupData() |
EquipStartupData(String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCompressed() |
boolean |
isSaved() |
void |
setTRACE(int traceBits,
boolean save,
boolean compress) |
public boolean autoInstantiate
public int baud
public boolean commEnable
public int connectionType
public boolean controlIntentOnline
public boolean controlModeRemote
public int controlStateStartup
public int deviceID
public String hsmsHost
public boolean hsmsPassive
public int hsmsPort
public boolean mult
public String name
public int rty
public String serialDevice
public int t1
public int t2
public int t3
public int t4
public int t5
public int t6
public int t7
public int t8
public int traceBits
public String traceDir
public int traceLogMaxWidth
public int traceMax
public String traceZipCmd