Source code for RsSmbv.Implementations.Source.Bb.Gnss.Sv.ImportPy.Sbas.Egnos

from typing import List

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class EgnosCls: """Egnos commands group definition. 6 total commands, 3 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("egnos", core, parent) @property def add(self): """add commands group. 0 Sub-classes, 2 commands.""" if not hasattr(self, '_add'): from .Add import AddCls self._add = AddCls(self._core, self._cmd_group) return self._add @property def execute(self): """execute commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_execute'): from .Execute import ExecuteCls self._execute = ExecuteCls(self._core, self._cmd_group) return self._execute @property def remove(self): """remove commands group. 2 Sub-classes, 0 commands.""" if not hasattr(self, '_remove'): from .Remove import RemoveCls self._remove = RemoveCls(self._core, self._cmd_group) return self._remove
[docs] def get_list_py(self) -> List[str]: """SCPI: [SOURce<HW>]:BB:GNSS:SV:IMPort:SBAS:EGNOS:LIST \n Snippet: value: List[str] = driver.source.bb.gnss.sv.importPy.sbas.egnos.get_list_py() \n Queries all *.ems files for EGNOS correction data *.nstb files for WAAS correction data of the import file list in a comma separated list. \n :return: gnss_dcw_in_files: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:SV:IMPort:SBAS:EGNOS:LIST?') return Conversions.str_to_str_list(response)
def clone(self) -> 'EgnosCls': """Clones the group by creating new object from it and its whole existing subgroups Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group""" new_group = EgnosCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group