from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class FlengthCls:
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("flength", core, parent)
[docs]
def get_landing(self) -> float:
"""
``[SOURce<HW>]:CEMulation:DSSimulation:TOWertoair:FLENgth:LANDing`` \n
Snippet: ``value: float = driver.source.cemulation.dsSimulation.towerToAir.flength.get_landing()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:CEMulation:DSSimulation:TOWertoair:FLENgth:LANDing?')
return Conversions.str_to_float(response)
[docs]
def set_landing(self, flen_landing: float) -> None:
"""
``[SOURce<HW>]:CEMulation:DSSimulation:TOWertoair:FLENgth:LANDing`` \n
Snippet: ``driver.source.cemulation.dsSimulation.towerToAir.flength.set_landing(flen_landing = 1.0)`` \n
No help available
"""
param = Conversions.decimal_value_to_str(flen_landing)
self._core.io.write(f'SOURce<HwInstance>:CEMulation:DSSimulation:TOWertoair:FLENgth:LANDing {param}')
[docs]
def get_takeoff(self) -> float:
"""
``[SOURce<HW>]:CEMulation:DSSimulation:TOWertoair:FLENgth:TAKeoff`` \n
Snippet: ``value: float = driver.source.cemulation.dsSimulation.towerToAir.flength.get_takeoff()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:CEMulation:DSSimulation:TOWertoair:FLENgth:TAKeoff?')
return Conversions.str_to_float(response)
[docs]
def set_takeoff(self, flen_takeoff: float) -> None:
"""
``[SOURce<HW>]:CEMulation:DSSimulation:TOWertoair:FLENgth:TAKeoff`` \n
Snippet: ``driver.source.cemulation.dsSimulation.towerToAir.flength.set_takeoff(flen_takeoff = 1.0)`` \n
No help available
"""
param = Conversions.decimal_value_to_str(flen_takeoff)
self._core.io.write(f'SOURce<HwInstance>:CEMulation:DSSimulation:TOWertoair:FLENgth:TAKeoff {param}')