DiagramLine

class geojson_modelica_translator.model_connectors.couplings.utils.DiagramLine(a_name, a_port, b_name, b_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

a_name

Alias for field number 0

a_port

Alias for field number 1

b_name

Alias for field number 2

b_port

Alias for field number 3

property a_name

Alias for field number 0

property a_port

Alias for field number 1

property b_name

Alias for field number 2

property b_port

Alias for field number 3

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.