DbRecorderStreamParameter

class mss_dataserver.geometry.db_inventory.DbRecorderStreamParameter(orm=None, **kwargs)[source]

Bases: mss_dataserver.geometry.inventory.RecorderStreamParameter

The database recorder stream parameter.

Parameters

orm (mss_data_server.geometry.databaseFactory.GeomRecorderStreamParameter) – The sqlalchemy table mapper class.

Keyword Arguments

**kwargs – The keyword arguments passed to the __init__ method of the parent class mss_dataserver.geoemetry.inventory.RecorderStreamParameter.

Properties

end_time_string

str: The end time of the parameter.

id

int: The database id.

parent_inventory

Inventory: The inventory containing the parameter.

rec_stream_id

int: The databases id of the parent recorder stream.

start_time_string

str: The start time of the parameter.

Methods

__init__([orm])

Initialize the instance.

from_inventory_instance(…)

Create a DbRecorderStreamParameter instance from a mss_data_server.geometry.inventory.RecorderStreamParameter instance.

from_sqlalchemy_orm(parent_recorder_stream, orm)

Create a DbRecorderStreamParameter instance from a mss_data_server.geometry.databaseFactory.GeomRecorderStreamParameter table mapper class.

Inheritence diagram

Inheritance diagram of mss_dataserver.geometry.db_inventory.DbRecorderStreamParameter