from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class AngleCls:
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("angle", core, parent)
[docs]
def get_climb(self) -> float:
"""
``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:ANGLe:CLIMb`` \n
Snippet: ``value: float = driver.source.fsimulator.dsSimulation.towerToAir.angle.get_climb()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:ANGLe:CLIMb?')
return Conversions.str_to_float(response)
[docs]
def set_climb(self, angle_climb: float) -> None:
"""
``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:ANGLe:CLIMb`` \n
Snippet: ``driver.source.fsimulator.dsSimulation.towerToAir.angle.set_climb(angle_climb = 1.0)`` \n
No help available
"""
param = Conversions.decimal_value_to_str(angle_climb)
self._core.io.write(f'SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:ANGLe:CLIMb {param}')
[docs]
def get_descent(self) -> float:
"""
``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:ANGLe:DESCent`` \n
Snippet: ``value: float = driver.source.fsimulator.dsSimulation.towerToAir.angle.get_descent()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:ANGLe:DESCent?')
return Conversions.str_to_float(response)
[docs]
def set_descent(self, angle_descent: float) -> None:
"""
``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:ANGLe:DESCent`` \n
Snippet: ``driver.source.fsimulator.dsSimulation.towerToAir.angle.set_descent(angle_descent = 1.0)`` \n
No help available
"""
param = Conversions.decimal_value_to_str(angle_descent)
self._core.io.write(f'SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:ANGLe:DESCent {param}')