public record ZplRfidCommand
One RFID-related command of a rendered label, in format order, as the renderer saw it: ^RF, ^RQ, ^WT and ^WF fields with their resolved field data (after ^FN, ^FH, ^SN), the setup commands ^RB, ^RS, ^RR, ^RW, ^RZ, ^RL, ^HV, ^RU, ^RM and data of other ^FN fields (for ^HV). Used by the RFID consistency check and the tag simulation.
Constructors
| Signature | Description |
# ZplRfidCommand(string Command, string Parameters, string Data, int? FieldNumber, int Offset, int Length) | One RFID-related command of a rendered label, in format order, as the renderer saw it: ^RF, ^RQ, ^WT and ^WF fields with their resolved field data (after ^FN, ^FH, ^SN), the setup commands ^RB, ^RS, ^RR, ^RW, ^RZ, ^RL, ^HV, ^RU, ^RM and data of other ^FN fields (for ^HV). Used by the RFID consistency check and the tag simulation. Command: Command name without prefix: "RF", "RB", "RS", "HV" …; "FN" for a non-RFID field with a field number. · Parameters: Raw parameters of the command. · Data: Resolved field data (^RF write data, ^FN field text); null for setup commands and reads. · FieldNumber: ^FN number of the field, if any. · Offset: Source offset of the field (its first command) or of the command; -1 when unknown. · Length: Length of the field's source block (up to ^FS) or of the command. |
Properties
| Property | Type | Description |
Command { get; init; } | string | Command name without prefix: "RF", "RB", "RS", "HV" …; "FN" for a non-RFID field with a field number. |
Data { get; init; } | string | Resolved field data (^RF write data, ^FN field text); null for setup commands and reads. |
EpcLayout { get; init; } | string | ^RB layout in effect for this command (persistent printer setting, TDS-independent); null when none was set. |
FieldNumber { get; init; } | int? | ^FN number of the field, if any. |
HexIndicator { get; init; } | char? | ^FH indicator of the field (for ^HV header/terminator), if any. |
Length { get; init; } | int | Length of the field's source block (up to ^FS) or of the command. |
Offset { get; init; } | int | Source offset of the field (its first command) or of the command; -1 when unknown. |
Parameters { get; init; } | string | Raw parameters of the command. |
Methods
| Method Signature | Returns | Description |
# Arg(int i) | string | Argument i (comma-separated, trimmed) or "". |
# Deconstruct(out string Command, out string Parameters, out string Data, out int? FieldNumber, out int Offset, out int Length) | void | |