from ...Internal.Core import Core
from ...Internal.CommandsGroup import CommandsGroup
from ...Internal import Conversions
from ...Internal.Utilities import trim_str_response
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class DisplayCls:
"""Display commands group definition. 12 total commands, 4 Subgroups, 1 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("display", core, parent)
@property
def afRf(self):
"""afRf commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_afRf'):
from .AfRf import AfRfCls
self._afRf = AfRfCls(self._core, self._cmd_group)
return self._afRf
@property
def gprfMeasurement(self):
"""gprfMeasurement commands group. 4 Sub-classes, 0 commands."""
if not hasattr(self, '_gprfMeasurement'):
from .GprfMeasurement import GprfMeasurementCls
self._gprfMeasurement = GprfMeasurementCls(self._core, self._cmd_group)
return self._gprfMeasurement
@property
def window(self):
"""window commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_window'):
from .Window import WindowCls
self._window = WindowCls(self._core, self._cmd_group)
return self._window
@property
def vse(self):
"""vse commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_vse'):
from .Vse import VseCls
self._vse = VseCls(self._core, self._cmd_group)
return self._vse
def clone(self) -> 'DisplayCls':
"""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 = DisplayCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group