UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
LabelMaker.PGL.RfidWrite.RfidWrite Class Reference

A class representing an RFID write operation for PGL. More...

Inheritance diagram for LabelMaker.PGL.RfidWrite.RfidWrite:
LabelMaker.Interfaces.IRfid.ARfidWrite LabelMaker.Interfaces.IRfid.IRfidBankSelect LabelMaker.Interfaces.IRfid.IRfidBitField LabelMaker.Interfaces.IRfid.IRfidPassword

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
 
- 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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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.

Parameters
mem_blockThe memory block to write to.
dataThe data to be written.
password_typeThe type of password used.
passwordThe password string.
offset_from_startThe offset from the start in bits.

Reimplemented from LabelMaker.Interfaces.IRfid.ARfidWrite.

Member Function Documentation

◆ __str__()

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.

Returns
A string description of the RfidWrite instance.

Reimplemented from LabelMaker.Interfaces.IRfid.ARfidWrite.

Member Data Documentation

◆ memory

LabelMaker.PGL.RfidWrite.RfidWrite.memory

◆ offset_from_start

LabelMaker.PGL.RfidWrite.RfidWrite.offset_from_start

◆ password

LabelMaker.PGL.RfidWrite.RfidWrite.password

◆ password_type

LabelMaker.PGL.RfidWrite.RfidWrite.password_type

The documentation for this class was generated from the following file: