x4Trace Documentation v1.0
|
Represents a port of block. More...
Public Member Functions | |
Port (Block block, int number) | |
Constructor. | |
void | AddConnection (Connection connection) |
Adds connection to port. | |
void | RemoveConnection (Connection connection) |
Removes connection. | |
void | DeleteAllConnections () |
Deletes all connection of port. | |
Connection | GetConnectionByDestination (Port destinationPort) |
returns connection by destination port. | |
Properties | |
string | Text [get, set] |
Text of port. | |
int | Number [get, set] |
Number of port. | |
string | PortKey [get, set] |
Key of port. | |
int | Count [get] |
Count of connections. | |
Connection | this[int index] [get] |
Indexer of connections. | |
Block | Block [get] |
Parent block. | |
int | IsDefault [get, set] |
Is default port. | |
int | IsEnabled [get, set] |
Is enabled port. | |
string | TypeText [get, set] |
Text of type. | |
object | Tag [get, set] |
Tag. | |
decimal | SamplingPercentage [get, set] |
Percentage of sampling inspection. | |
Private Attributes | |
int | number = 0 |
Number of port. | |
string | text = "" |
Text of port. | |
string | typeText = "" |
Text of port type. | |
string | portKey = "" |
Key of port. | |
int | isDefault = 0 |
Is default port. | |
int | isEnabled = 1 |
Is enabled port. | |
decimal | samplingPercentage = 0 |
Percentage of sampling inspection. | |
Block | block |
Parent block. | |
List< Connection > | connections |
Connection list to other blocks. | |
object | tag |
Tag of port. | |
Represents a port of block.
FlowLib.Engine.Port.Port | ( | Block | block, |
int | number ) |
Constructor.
block | Parent block. |
number | Number of block. |
void FlowLib.Engine.Port.AddConnection | ( | Connection | connection | ) |
Adds connection to port.
connection | Connection to add. |
Connection FlowLib.Engine.Port.GetConnectionByDestination | ( | Port | destinationPort | ) |
returns connection by destination port.
destinationPort | Port of destination. |
void FlowLib.Engine.Port.RemoveConnection | ( | Connection | connection | ) |
Removes connection.
connection | Connection to remove. |
|
get |
Indexer of connections.
index | Index of connection. |