UniPRT SDK v1.0.0.0
 
載入中...
搜尋中...
無符合項目
RfidReport.h
1//
2// RfidReport.h
3// TSCPrinters SDK
4//
5// Created by Realbuber on 2024/4/13.
6//
7
8#ifndef RfidReport_h
9#define RfidReport_h
10
11
12#endif /* RfidReport_h */
13
14// RfidReport.h
15
16#import <Foundation/Foundation.h>
17
31typedef NS_ENUM(NSInteger, RfidDataType) {
42 EPC,
43
54 USR,
55
66 TID,
67
78 ACS,
79
90 Unknown
91};
92
109@interface RfidReport : NSObject
110
121@property (nonatomic, strong, readonly) NSDictionary<NSString *, NSString *> *rawReport;
122
139- (BOOL)failed;
140
157- (NSString *)data;
158
175- (RfidDataType)dataType;
176
193- (BOOL)isWriteOperation;
194
213- (void)setRawReport:(NSDictionary<NSString *, NSString *> *)rawReport;
214
217@end
基於從打印機接收到的 RFID 標籤消息的 RFID 報告。
Definition RfidReport.h:110
RfidDataType dataType()
數據中包含的 RFID 數據類型。
BOOL isWriteOperation()
如果報告結果是寫操作,則為真。讀操作則為假。
BOOL failed()
檢查 RFID 操作是否失敗。
NSDictionary< NSString *, NSString * > * rawReport
包含 RFID 詳細信息的原始報告字典。
Definition RfidReport.h:121
NSString * data()
RFID 數據的字符串表示形式。