from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal.Types import DataType
from ....Internal.ArgSingleList import ArgSingleList
from ....Internal.ArgSingle import ArgSingle
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class ItemCls:
"""Item commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("item", core, parent)
[docs] def set(self, item_name: str, filename: str) -> None:
"""SCPI: MMEMory:STORe:ITEM \n
Snippet: driver.massMemory.store.item.set(item_name = '1', filename = '1') \n
No command help available \n
:param item_name: No help available
:param filename: No help available
"""
param = ArgSingleList().compose_cmd_string(ArgSingle('item_name', item_name, DataType.String), ArgSingle('filename', filename, DataType.String))
self._core.io.write(f'MMEMory:STORe:ITEM {param}'.rstrip())