pipeline.src.entities.pnos
Classes
Create a collection of name/value pairs. |
|
Create a collection of name/value pairs. |
|
Module Contents
- class pipeline.src.entities.pnos.PnoSource(*args, **kwds)[source]
Bases:
enum.EnumCreate a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- class pipeline.src.entities.pnos.PreRenderedPno[source]
-
- trip_gears: List[src.entities.fleet_segments.FishingGear][source]
- trip_segments: List[src.entities.fleet_segments.FleetSegment][source]
- last_control_infractions: List[src.entities.missions.Infraction][source]
- class pipeline.src.entities.pnos.ReturnToPortPurpose(*args, **kwds)[source]
Bases:
enum.EnumCreate a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- class pipeline.src.entities.pnos.PnoAddressee[source]
-
- communication_means: src.entities.communication_means.CommunicationMeans[source]
- class pipeline.src.entities.pnos.RenderedPno[source]
-
- control_units: List[src.entities.control_units.ControlUnit] | None = None[source]
- additional_addressees: List[PnoAddressee] = None[source]
- get_addressees(communication_means: src.entities.communication_means.CommunicationMeans) List[PnoAddressee][source]
- class pipeline.src.entities.pnos.PnoToSend[source]
- pno: RenderedPno[source]
- communication_means: src.entities.communication_means.CommunicationMeans[source]
- class pipeline.src.entities.pnos.PriorNotificationSentMessage[source]
-
- communication_means: src.entities.communication_means.CommunicationMeans[source]