Source code for secsgem.secs.data_items.strp

#####################################################################
# strp.py
#
# (c) Copyright 2021, Benjamin Parzella. All rights reserved.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#####################################################################
"""STRP data item."""

from secsgem.secs import variables

from .base import DataItemBase


[docs]class STRP(DataItemBase): """Starting position. :Types: - :class:`I1 <secsgem.secs.variables.I1>` - :class:`I2 <secsgem.secs.variables.I2>` - :class:`I4 <secsgem.secs.variables.I4>` - :class:`I8 <secsgem.secs.variables.I8>` :Length: 2 **Used In Function** - :class:`SecsS12F09 <secsgem.secs.functions.SecsS12F09>` - :class:`SecsS12F16 <secsgem.secs.functions.SecsS12F16>` """ name = "STRP" __type__ = variables.Dynamic __allowedtypes__ = [ variables.I1, variables.I2, variables.I4, variables.I8, ] __count__ = 2