from ........Internal.Core import Core
from ........Internal.CommandsGroup import CommandsGroup
from ........Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class WaasCls:
"""
| Commands in total: 3
| Subgroups: 0
| Direct child commands: 3
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("waas", core, parent)
[docs]
def get_offset(self) -> float:
"""
``[SOURce<HW>]:BB:GNSS:TIME:STARt:SBAS:WAAS:OFFSet`` \n
Snippet: ``value: float = driver.source.bb.gnss.time.start.sbas.waas.get_offset()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:TIME:STARt:SBAS:WAAS:OFFSet?')
return Conversions.str_to_float(response)
[docs]
def get_to_week(self) -> float:
"""
``[SOURce<HW>]:BB:GNSS:TIME:STARt:SBAS:WAAS:TOWeek`` \n
Snippet: ``value: float = driver.source.bb.gnss.time.start.sbas.waas.get_to_week()`` \n
Queries the time of week at the simulation start of the selected navigation standard.
:return: tow: float Range: 0 to 604799.999
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:TIME:STARt:SBAS:WAAS:TOWeek?')
return Conversions.str_to_float(response)
[docs]
def get_wnumber(self) -> int:
"""
``[SOURce<HW>]:BB:GNSS:TIME:STARt:SBAS:WAAS:WNUMber`` \n
Snippet: ``value: int = driver.source.bb.gnss.time.start.sbas.waas.get_wnumber()`` \n
Queries the week number at the simulation start of the selected navigation standard.
:return: system_week_number: integer Range: 0 to 10000
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:TIME:STARt:SBAS:WAAS:WNUMber?')
return Conversions.str_to_int(response)