NodePort

class geojson_modelica_translator.model_connectors.couplings.diagram.NodePort(node, port)

Bases: tuple

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

node

Alias for field number 0

port

Alias for field number 1

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

property node

Alias for field number 0

property port

Alias for field number 1