from_inventory_instance¶
-
classmethod
DbSensorComponentParameter.
from_inventory_instance
(parent_component, instance)[source]¶ Create a
DbSensorComponentParameter
instance from amss_data_server.geometry.inventory.SensorComponentParameter
instance.- Parameters
parent_component (
mss_data_server.geometry.db_inventory.DbSensorComponent
) – The parent sensor component to which the sensor component parameter is related.instance (
mss_data_server.geometry.inventory.SensorComponentParameter
) – The instance used to create theDbSensorComponentParameter
instance.
- Returns
The created sensor component parameter.
- Return type