A class representing an RFID write operation for TSPL. More...
Public Member Functions | |
| __init__ (self, Optional[RfidMemBlockEnum] mem_block=None, Optional[str] data=None) | |
| Initializes a new instance of the RfidWrite class. | |
| str | __str__ (self) |
| Returns a string that can be sent to the printer. | |
Public Attributes | |
| password_type | |
| password | |
| memory | |
| data | |
Public Attributes inherited from LabelMaker.Interfaces.IRfid.ARfidWrite | |
| memory | |
| password_type | |
| password | |
| data | |
| offset_from_start | |
Additional Inherited Members | |
Static Public Attributes inherited from LabelMaker.Interfaces.IRfid.IRfidBankSelect | |
| RfidMemBlockEnum | memory |
Static Public Attributes inherited from LabelMaker.Interfaces.IRfid.IRfidBitField | |
| int | offset_from_start |
| str | data |
Static Public Attributes inherited from LabelMaker.Interfaces.IRfid.IRfidPassword | |
| RfidPasswordTypeEnum | password_type |
| str | password |
A class representing an RFID write operation for TSPL.
This class inherits from ARfidWrite and provides functionality for initializing and describing an RFID write operation in TSPL.
| LabelMaker.TSPL.RfidWrite.RfidWrite.__init__ | ( | self, | |
| Optional[RfidMemBlockEnum] | mem_block = None, | ||
| Optional[str] | data = None ) |
Initializes a new instance of the RfidWrite class.
| mem_block | The memory block to write to. |
| data | The data to be written. |
Reimplemented from LabelMaker.Interfaces.IRfid.ARfidWrite.
| str LabelMaker.TSPL.RfidWrite.RfidWrite.__str__ | ( | self | ) |
Returns a string that can be sent to the printer.
This method generates a string representation of the RfidWrite instance that is formatted and ready to be sent to a printer. The string includes all the necessary commands and data required for printing in TSPL.
Reimplemented from LabelMaker.Interfaces.IRfid.ARfidWrite.
| LabelMaker.TSPL.RfidWrite.RfidWrite.data |
| LabelMaker.TSPL.RfidWrite.RfidWrite.memory |
| LabelMaker.TSPL.RfidWrite.RfidWrite.password |
| LabelMaker.TSPL.RfidWrite.RfidWrite.password_type |