DbSensor.
from_inventory_instance
Create a DbSensor instance from a mss_data_server.geometry.inventory.Sensor instance.
DbSensor
mss_data_server.geometry.inventory.Sensor
parent_inventory (mss_data_server.geometry.inventory.Inventory) – The parent inventory to which the DbSensor is related.
mss_data_server.geometry.inventory.Inventory
instance (mss_data_server.geometry.inventory.Sensor) – The instance used to create the DbSensor instance.
The created sensor.