#####################################################################
# s12f05.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.
#####################################################################
"""Class for stream 12 function 05."""
from secsgem.secs.functions.base import SecsStreamFunction
from secsgem.secs.data_items import MID
from secsgem.secs.data_items import IDTYP
from secsgem.secs.data_items import MAPFT
from secsgem.secs.data_items import MLCL
[docs]class SecsS12F05(SecsStreamFunction):
"""
map transmit inquire.
**Data Items**
- :class:`MID <secsgem.secs.data_items.MID>`
- :class:`IDTYP <secsgem.secs.data_items.IDTYP>`
- :class:`MAPFT <secsgem.secs.data_items.MAPFT>`
- :class:`MLCL <secsgem.secs.data_items.MLCL>`
**Structure**::
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F05
{
MID: A/B[80]
IDTYP: B[1]
MAPFT: B[1]
MLCL: U1/U2/U4/U8
}
**Example**::
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F05({
... "MID": "materialID",
... "IDTYP": secsgem.secs.data_items.IDTYP.WAFER,
... "MAPFT": secsgem.secs.data_items.MAPFT.ARRAY,
... "MLCL": 0})
S12F5 W
<L [4]
<A "materialID">
<B 0x0>
<B 0x1>
<U1 0 >
> .
:param value: parameters for this function (see example)
:type value: dict
"""
_stream = 12
_function = 5
_data_format = [
MID,
IDTYP,
MAPFT,
MLCL
]
_to_host = True
_to_equipment = False
_has_reply = True
_is_reply_required = True
_is_multi_block = False