Source code for RsSmw.Implementations.Source.Fsimulator.DsSimulation.TowerToAir.Speed

from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class SpeedCls:
	"""
	| Commands in total: 6
	| Subgroups: 0
	| Direct child commands: 6
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("speed", core, parent)

[docs] def get_cruise(self) -> float: """ ``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:SPEed:CRUise`` \n Snippet: ``value: float = driver.source.fsimulator.dsSimulation.towerToAir.speed.get_cruise()`` \n No help available """ response = self._core.io.query_str('SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:SPEed:CRUise?') return Conversions.str_to_float(response)
[docs] def set_cruise(self, speed_cruise: float) -> None: """ ``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:SPEed:CRUise`` \n Snippet: ``driver.source.fsimulator.dsSimulation.towerToAir.speed.set_cruise(speed_cruise = 1.0)`` \n No help available """ param = Conversions.decimal_value_to_str(speed_cruise) self._core.io.write(f'SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:SPEed:CRUise {param}')
[docs] def get_departure(self) -> float: """ ``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:SPEed:DEParture`` \n Snippet: ``value: float = driver.source.fsimulator.dsSimulation.towerToAir.speed.get_departure()`` \n No help available """ response = self._core.io.query_str('SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:SPEed:DEParture?') return Conversions.str_to_float(response)
[docs] def set_departure(self, speed_departure: float) -> None: """ ``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:SPEed:DEParture`` \n Snippet: ``driver.source.fsimulator.dsSimulation.towerToAir.speed.set_departure(speed_departure = 1.0)`` \n No help available """ param = Conversions.decimal_value_to_str(speed_departure) self._core.io.write(f'SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:SPEed:DEParture {param}')
[docs] def get_descent(self) -> float: """ ``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:SPEed:DESCent`` \n Snippet: ``value: float = driver.source.fsimulator.dsSimulation.towerToAir.speed.get_descent()`` \n No help available """ response = self._core.io.query_str('SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:SPEed:DESCent?') return Conversions.str_to_float(response)
[docs] def set_descent(self, speed_descent: float) -> None: """ ``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:SPEed:DESCent`` \n Snippet: ``driver.source.fsimulator.dsSimulation.towerToAir.speed.set_descent(speed_descent = 1.0)`` \n No help available """ param = Conversions.decimal_value_to_str(speed_descent) self._core.io.write(f'SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:SPEed:DESCent {param}')
[docs] def get_start(self) -> float: """ ``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:SPEed:STARt`` \n Snippet: ``value: float = driver.source.fsimulator.dsSimulation.towerToAir.speed.get_start()`` \n No help available """ response = self._core.io.query_str('SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:SPEed:STARt?') return Conversions.str_to_float(response)
[docs] def set_start(self, speed_start: float) -> None: """ ``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:SPEed:STARt`` \n Snippet: ``driver.source.fsimulator.dsSimulation.towerToAir.speed.set_start(speed_start = 1.0)`` \n No help available """ param = Conversions.decimal_value_to_str(speed_start) self._core.io.write(f'SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:SPEed:STARt {param}')
[docs] def get_takeoff(self) -> float: """ ``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:SPEed:TAKeoff`` \n Snippet: ``value: float = driver.source.fsimulator.dsSimulation.towerToAir.speed.get_takeoff()`` \n No help available """ response = self._core.io.query_str('SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:SPEed:TAKeoff?') return Conversions.str_to_float(response)
[docs] def set_takeoff(self, speed_takeoff: float) -> None: """ ``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:SPEed:TAKeoff`` \n Snippet: ``driver.source.fsimulator.dsSimulation.towerToAir.speed.set_takeoff(speed_takeoff = 1.0)`` \n No help available """ param = Conversions.decimal_value_to_str(speed_takeoff) self._core.io.write(f'SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:SPEed:TAKeoff {param}')
[docs] def get_touchdown(self) -> float: """ ``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:SPEed:TOUChdown`` \n Snippet: ``value: float = driver.source.fsimulator.dsSimulation.towerToAir.speed.get_touchdown()`` \n No help available """ response = self._core.io.query_str('SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:SPEed:TOUChdown?') return Conversions.str_to_float(response)
[docs] def set_touchdown(self, speed_touchdown: float) -> None: """ ``[SOURce<HW>]:FSIMulator:DSSimulation:TOWertoair:SPEed:TOUChdown`` \n Snippet: ``driver.source.fsimulator.dsSimulation.towerToAir.speed.set_touchdown(speed_touchdown = 1.0)`` \n No help available """ param = Conversions.decimal_value_to_str(speed_touchdown) self._core.io.write(f'SOURce<HwInstance>:FSIMulator:DSSimulation:TOWertoair:SPEed:TOUChdown {param}')