A class representing an RFID write operation for PGL. More...
Public Member Functions | |
__init__ (self, Optional[RfidMemBlockEnum] mem_block=None, Optional[str] data=None, Optional[RfidPasswordTypeEnum] password_type=RfidPasswordTypeEnum.NONE, Optional[str] password="", int offset_from_start=0) | |
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 | |
offset_from_start | |
memory | |
![]() | |
memory | |
password_type | |
password | |
data | |
offset_from_start | |
Additional Inherited Members | |
![]() | |
RfidMemBlockEnum | memory |
![]() | |
int | offset_from_start |
str | data |
![]() | |
RfidPasswordTypeEnum | password_type |
str | password |
A class representing an RFID write operation for PGL.
This class inherits from ARfidWrite and provides functionality for initializing and describing an RFID write operation in PGL.
LabelMaker.PGL.RfidWrite.RfidWrite.__init__ | ( | self, | |
Optional[RfidMemBlockEnum] | mem_block = None, | ||
Optional[str] | data = None, | ||
Optional[RfidPasswordTypeEnum] | password_type = RfidPasswordTypeEnum.NONE, | ||
Optional[str] | password = "", | ||
int | offset_from_start = 0 ) |
Initializes a new instance of the RfidWrite class.
This constructor sets up a new RfidWrite object using the provided parameters such as memory block, data, password type, password, and offset from the start in bits. These parameters control the specifics of the RFID write operation.
mem_block | The memory block to write to. |
data | The data to be written. |
password_type | The type of password used. |
password | The password string. |
offset_from_start | The offset from the start in bits. |
Reimplemented from LabelMaker.Interfaces.IRfid.ARfidWrite.
str LabelMaker.PGL.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 the RFID write operation in PGL.
Reimplemented from LabelMaker.Interfaces.IRfid.ARfidWrite.
LabelMaker.PGL.RfidWrite.RfidWrite.memory |
LabelMaker.PGL.RfidWrite.RfidWrite.offset_from_start |
LabelMaker.PGL.RfidWrite.RfidWrite.password |
LabelMaker.PGL.RfidWrite.RfidWrite.password_type |