public interface SerialToNetworkMapping
extends org.eclipse.emf.ecore.EObject
The following features are supported:
Modifier and Type | Method and Description |
---|---|
int |
getBaudRate()
Returns the value of the 'Baud Rate' attribute.
|
short |
getDataBits()
Returns the value of the 'Data Bits' attribute.
|
String |
getDevice()
Returns the value of the 'Device' attribute.
|
Parity |
getParity()
Returns the value of the 'Parity' attribute.
|
short |
getStopBits()
Returns the value of the 'Stop Bits' attribute.
|
int |
getTcpPort()
Returns the value of the 'Tcp Port' attribute.
|
int |
getTimeout()
Returns the value of the 'Timeout' attribute.
|
boolean |
isBreak()
Returns the value of the 'Break' attribute.
|
boolean |
isModemControl()
Returns the value of the 'Modem Control' attribute.
|
boolean |
isRtscts()
Returns the value of the 'Rtscts' attribute.
|
boolean |
isXonxoff()
Returns the value of the 'Xonxoff' attribute.
|
void |
setBaudRate(int value)
Sets the value of the '
Baud Rate ' attribute. |
void |
setBreak(boolean value)
Sets the value of the '
Break ' attribute. |
void |
setDataBits(short value)
Sets the value of the '
Data Bits ' attribute. |
void |
setDevice(String value)
Sets the value of the '
Device ' attribute. |
void |
setModemControl(boolean value)
Sets the value of the '
Modem Control ' attribute. |
void |
setParity(Parity value)
Sets the value of the '
Parity ' attribute. |
void |
setRtscts(boolean value)
Sets the value of the '
Rtscts ' attribute. |
void |
setStopBits(short value)
Sets the value of the '
Stop Bits ' attribute. |
void |
setTcpPort(int value)
Sets the value of the '
Tcp Port ' attribute. |
void |
setTimeout(int value)
Sets the value of the '
Timeout ' attribute. |
void |
setXonxoff(boolean value)
Sets the value of the '
Xonxoff ' attribute. |
String getDevice()
If the meaning of the 'Device' attribute isn't clear, there really should be more of a description here...
setDevice(String)
,
CommonPackage.getSerialToNetworkMapping_Device()
void setDevice(String value)
Device
' attribute.
value
- the new value of the 'Device' attribute.getDevice()
int getTcpPort()
"2000"
.
If the meaning of the 'Tcp Port' attribute isn't clear, there really should be more of a description here...
setTcpPort(int)
,
CommonPackage.getSerialToNetworkMapping_TcpPort()
void setTcpPort(int value)
Tcp Port
' attribute.
value
- the new value of the 'Tcp Port' attribute.getTcpPort()
int getTimeout()
"30"
.
If the meaning of the 'Timeout' attribute isn't clear, there really should be more of a description here...
setTimeout(int)
,
CommonPackage.getSerialToNetworkMapping_Timeout()
void setTimeout(int value)
Timeout
' attribute.
value
- the new value of the 'Timeout' attribute.getTimeout()
int getBaudRate()
"9600"
.
If the meaning of the 'Baud Rate' attribute isn't clear, there really should be more of a description here...
setBaudRate(int)
,
CommonPackage.getSerialToNetworkMapping_BaudRate()
void setBaudRate(int value)
Baud Rate
' attribute.
value
- the new value of the 'Baud Rate' attribute.getBaudRate()
Parity getParity()
Parity
.
If the meaning of the 'Parity' attribute isn't clear, there really should be more of a description here...
Parity
,
setParity(Parity)
,
CommonPackage.getSerialToNetworkMapping_Parity()
void setParity(Parity value)
Parity
' attribute.
value
- the new value of the 'Parity' attribute.Parity
,
getParity()
boolean isXonxoff()
"false"
.
If the meaning of the 'Xonxoff' attribute isn't clear, there really should be more of a description here...
setXonxoff(boolean)
,
CommonPackage.getSerialToNetworkMapping_Xonxoff()
void setXonxoff(boolean value)
Xonxoff
' attribute.
value
- the new value of the 'Xonxoff' attribute.isXonxoff()
boolean isRtscts()
"false"
.
If the meaning of the 'Rtscts' attribute isn't clear, there really should be more of a description here...
setRtscts(boolean)
,
CommonPackage.getSerialToNetworkMapping_Rtscts()
void setRtscts(boolean value)
Rtscts
' attribute.
value
- the new value of the 'Rtscts' attribute.isRtscts()
short getDataBits()
"8"
.
If the meaning of the 'Data Bits' attribute isn't clear, there really should be more of a description here...
setDataBits(short)
,
CommonPackage.getSerialToNetworkMapping_DataBits()
void setDataBits(short value)
Data Bits
' attribute.
value
- the new value of the 'Data Bits' attribute.getDataBits()
short getStopBits()
"1"
.
If the meaning of the 'Stop Bits' attribute isn't clear, there really should be more of a description here...
setStopBits(short)
,
CommonPackage.getSerialToNetworkMapping_StopBits()
void setStopBits(short value)
Stop Bits
' attribute.
value
- the new value of the 'Stop Bits' attribute.getStopBits()
boolean isModemControl()
If the meaning of the 'Modem Control' attribute isn't clear, there really should be more of a description here...
setModemControl(boolean)
,
CommonPackage.getSerialToNetworkMapping_ModemControl()
void setModemControl(boolean value)
Modem Control
' attribute.
value
- the new value of the 'Modem Control' attribute.isModemControl()
boolean isBreak()
If the meaning of the 'Break' attribute isn't clear, there really should be more of a description here...
setBreak(boolean)
,
CommonPackage.getSerialToNetworkMapping_Break()