Source code for RsSmw.Implementations.Source.Bb.Gnss.Obscuration.Rpl.Catalog

from typing import List

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


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

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

[docs] def get_predefined(self) -> List[str]: """ ``[SOURce<HW>]:BB:GNSS:OBSCuration:RPL:CATalog:PREDefined`` \n Snippet: ``value: List[str] = driver.source.bb.gnss.obscuration.rpl.catalog.get_predefined()`` \n Queries the names of predefined files in the system directory. Listed are only the following file types: \n - Obstacles description files (rs_obst) - Roadside buildings description files (rs_buil) """ response = self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:OBSCuration:RPL:CATalog:PREDefined?') return Conversions.str_to_str_list(response)
[docs] def get_user(self) -> List[str]: """ ``[SOURce<HW>]:BB:GNSS:OBSCuration:RPL:CATalog:USER`` \n Snippet: ``value: List[str] = driver.source.bb.gnss.obscuration.rpl.catalog.get_user()`` \n Queries the names of the user-defined files in the default directory. The default directory is set using command method ``RsSmw.massMemory.current_directory()`` . Listed are the following file types: \n - Obstacles description files (rs_obst) - Roadside buildings description files (rs_buil) """ response = self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:OBSCuration:RPL:CATalog:USER?') return Conversions.str_to_str_list(response)