DbRecorderStream¶
-
class
mss_dataserver.geometry.db_inventory.
DbRecorderStream
(orm=None, **kwargs)[source]¶ Bases:
mss_dataserver.geometry.inventory.RecorderStream
The database recorder stream.
- Parameters
orm (
mss_data_server.geometry.databaseFactory.GeomRecorderStream
) – The sqlalchemy table mapper class.- Keyword Arguments
**kwargs – The keyword arguments passed to the __init__ method of the parent class
mss_dataserver.geoemetry.inventory.RecorderStream
.
Properties¶
assigned_channels
list
ofChannel
: The channels to which the stream is assigned to.
id
int: The database id.
model
str: The model of the parent recorder.
parent_inventory
Inventory
: The inventory containing the stream.
producer
str: The producer of the parent recorder.
serial
str: The serial number of the parent recorder.
Methods¶
|
Initialize the instance. |
|
Add a sensor component to the stream. |
|
Add a parameter to the recorder_stream. |
|
Get a dictionary representation of the instance. |
|
DEPRECATED Change the sensor deployment end time |
|
DEPRECATED Change the sensor deployment start time |
|
Create a |
|
Create a |
|
Get a component from the stream. |
|
Get a free time slot for a component. |
|
Get a free time slot for a parameter. |
|
Get parameter for a given timespan. |
|
Merge a stream. |
|
Remove a component from the stream. |
|
Remove a parameter. |