/  Python Yamcs Client  /  Mission Database  /  Model

Model

class yamcs.mdb.model.Algorithm(proto)
property aliases: List[Tuple[str, str]]

List of (namespace, name) pairs, as 2-tuples

property description: Optional[str]

Short description.

property long_description: Optional[str]

Long description.

property name: str

Short name

property qualified_name: str

Full name (incl. space system)

class yamcs.mdb.model.ArrayType(proto)
property array_type: Optional[ArrayType]

In case the elements of an array of this type are also of type array, this returns type info of the elements’ array type.

Note

This is an uncommon use case. Multi-dimensional arrays are more prevalent.

property dimensions: int

The number of dimensions in case of a multi-dimensional array.

property members: List[Member]

In case the elements of this array are of type aggregate, this returns an ordered list of its direct sub-members.

property name: str

Short name of this type.

class yamcs.mdb.model.Command(proto)
property abstract: bool

Whether this is an abstract command. Abstract commands are intended for inheritance and cannot be issued directly.

property aliases: List[Tuple[str, str]]

List of (namespace, name) pairs, as 2-tuples

property base_command: Optional[Command]
property description: Optional[str]

Short description.

property long_description: Optional[str]

Long description.

property name: str

Short name

property qualified_name: str

Full name (incl. space system)

property significance: Optional[Significance]
class yamcs.mdb.model.Container(proto)
property aliases: List[Tuple[str, str]]

List of (namespace, name) pairs, as 2-tuples

property description: Optional[str]

Short description.

property long_description: Optional[str]

Long description.

property name: str

Short name

property qualified_name: str

Full name (incl. space system)

class yamcs.mdb.model.DataEncoding(proto)
property bitlength: int

The size in bits

property encoding: Optional[str]

Encoding detail

property little_endian: bool

True if little-endian

property type: str

Raw type

class yamcs.mdb.model.EnumValue(proto)
property description: Optional[str]

State description

property label: str

String value

property value: int

Numeric value

class yamcs.mdb.model.Member(proto)

A member is a data structure for a specific field of a parent data type (either another member, or a parameter of type aggregate).

This is similar to C structs. The top-level of a member hierarchy is a parameter of type aggregate.

property array_type: Optional[ArrayType]

In case this member is of type array, this returns array-specific type info.

property members: List[Member]

In case this member is of type aggregate, this returns an ordered list of its direct sub-members.

property name: str

Short name

property type: str

Engineering type.

class yamcs.mdb.model.Parameter(proto)

From XTCE:

A Parameter is a description of something that can have a value. It is not the value itself.

property aliases: List[Tuple[str, str]]

List of (namespace, name) pairs, as 2-tuples

property array_type: Optional[ArrayType]

In case this parameter is of type array, this returns array-specific type info.

property data_encoding: Optional[DataEncoding]

Information on the raw encoding of this parameter, if applicable.

property data_source: str

TELEMETERED)

Type:

Specifies how this parameter originated (example

property description: Optional[str]

Short description.

property enum_values: List[EnumValue]

In case this parameter is of type enumeration, this returns an ordered list of possible values.

property long_description: Optional[str]

Long description.

property members: List[Member]

In case this parameter is of type aggregate, this returns an ordered list of its direct members.

property name: str

Short name

property qualified_name: str

Full name (incl. space system)

property type: str

Engineering type.

property units: List[str]

Engineering unit(s)

class yamcs.mdb.model.Significance(proto)
property consequence_level: str

One of NONE, WATCH, WARNING, DISTRESS, CRITICAL or SEVERE.

property reason: Optional[str]

Message attached to this significance.

class yamcs.mdb.model.SpaceSystem(proto)

From XTCE:

A SpaceSystem is a collection of SpaceSystem(s) including space assets, ground assets, multi-satellite systems and sub-systems. A SpaceSystem is the root element for the set of data necessary to monitor and command an arbitrary space device - this includes the binary decomposition of the data streams going into and out of a device.

property aliases: List[Tuple[str, str]]

List of (namespace, name) pairs, as 2-tuples

property description: Optional[str]

Short description.

property long_description: Optional[str]

Long description.

property name: str

Short name

property qualified_name: str

Full name (incl. space system)