UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
Translate.h
1//
2// Translate.h
3// sdk_json_Objective-C
4//
5// Created by Realbuber on 2024/5/15.
6//
7
8#ifndef Translate_h
9#define Translate_h
10
11#import <Foundation/Foundation.h>
12
13#import <UniPRT/TSPL.h>
14#import <UniPRT/QRCodeModelEnum.h>
15#import <UniPRT/QRCodeErrorCorrectionEnum.h>
16#import <UniPRT/QRCodeManualEncodingEnum.h>
17#import <UniPRT/RfidMemBlockEnum.h>
18#import <UniPRT/RfidPasswordTypeEnum.h>
19#import <UniPRT/RotateEnum.h>
20#import <UniPRT/AlignEnum.h>
21#import <UniPRT/BarcodeTypeEnum_1D.h>
22
25@interface Translate : NSObject
26
27+ (TSPLRotation)rotationWithEnum:(RotateEnum)rotation;
28+ (TSPLAlignEnum)alignmentWithEnum:(AlignEnum)align;
29+ (TSPLBarcodeType1D)barcodeType1DWithEnum:(BarcodeTypeEnum1D)barcodeType;
30+ (int)qrCodeModelWithEnum:(QRCodeModelEnum)model;
31+ (int)qrCodeErrCorrectionWithEnum:(QRCodeErrorCorrectionEnum)errCorr;
32+ (char)qrCodeEncodingWithEnum:(QRCodeManualEncodingEnum)manualEncodeType;
33+ (NSString *)rfidMemBlockWithEnum:(RfidMemBlockEnum)memBlockSelect;
34+ (NSString *)rfidLockTypeWithEnum:(RfidPasswordTypeEnum)lockType;
35
36@end
37
40#endif /* Translate_h */
AlignEnum type/formats.
Error correction allows for barcodes to remain readable if damaged but increases the amount of data e...
QR Code data can be stored using different encoding types which affect the storage capacity of the ba...
QR barcodes have increased in capacity and readability. Model 1 is the original, and other models imp...
RFID memory block selection.
Passwords for accessing/securing memory areas on tags that support this feature.
Direction/Rotation for objects commands that support rotation.