表示用於 PGL 的 RFID 寫操作的類。 更多...
公開方法(Public Methods) | |
| __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) | |
| 使用提供的參數初始化 RfidWrite 類的新實例。 | |
| str | __str__ (self) |
| 返回一個可以發送到打印機的字符串。 | |
公開屬性 | |
| password_type | |
| password | |
| offset_from_start | |
| memory | |
公開屬性 繼承自 LabelMaker.Interfaces.IRfid.ARfidWrite | |
| memory | |
| password_type | |
| password | |
| data | |
| offset_from_start | |
額外的繼承成員 | |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IRfid.IRfidBankSelect | |
| RfidMemBlockEnum | memory |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IRfid.IRfidBitField | |
| int | offset_from_start |
| str | data |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IRfid.IRfidPassword | |
| RfidPasswordTypeEnum | password_type |
| str | password |
表示用於 PGL 的 RFID 寫操作的類。
此類繼承自 ARfidWrite,並提供了用於初始化和描述 PGL 中的 RFID 寫操作的功能。
| 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 ) |
使用提供的參數初始化 RfidWrite 類的新實例。
此構造函數使用提供的參數(如內存塊、數據、密碼類型、密碼和從起始位置的偏移量(以位為單位))設置一個新的 RfidWrite 對象。 這些參數控制 RFID 寫操作的具體細節。
| mem_block | 要寫入的內存塊。 |
| data | 要寫入的數據。 |
| password_type | 使用的密碼類型。 |
| password | 密碼字符串。 |
| offset_from_start | 從起始位置的偏移量(以位為單位)。 |
| str LabelMaker.PGL.RfidWrite.RfidWrite.__str__ | ( | self | ) |
返回一個可以發送到打印機的字符串。
此方法生成 RfidWrite 實例的字符串表示形式,該字符串已格式化並準備發送到打印機。 字符串包括在 PGL 中執行 RFID 寫操作所需的所有命令和數據。
| LabelMaker.PGL.RfidWrite.RfidWrite.memory |
| LabelMaker.PGL.RfidWrite.RfidWrite.offset_from_start |
| LabelMaker.PGL.RfidWrite.RfidWrite.password |
| LabelMaker.PGL.RfidWrite.RfidWrite.password_type |