UniPRT SDK v1.0.0.0
 
载入中...
搜索中...
未找到
TsplForm.h
1//
2// TsplForm.h
3// sdk_json_Objective-C
4//
5// Created by Realbuber on 2024/5/14.
6//
7
8#ifndef TsplForm_h
9#define TsplForm_h
10
11#import <Foundation/Foundation.h>
12
13#import <UniPRT/TSPL.h>
14#import <UniPRT/Barcode1DProperties.h>
15#import <UniPRT/Barcode2DProperties.h>
16#import <UniPRT/RfidWriteProperties.h>
17#import <UniPRT/RfidReadBitField.h>
18#import <UniPRT/RfidReadProperties.h>
19#import <UniPRT/RfidWriteBitField.h>
20
23@interface TsplForm : NSObject
24
25@property (nonatomic, strong) NSMutableArray *tsplObjects;
26@property (nonatomic, strong) NSString *name;
27
28
29
30- (instancetype)initWithName:(NSString *)formName;
31
32- (void)rawContent:(NSString *)rawContent;
33- (void)addTsplObject:(id)pglObject;
34
35#if HIDE_PGL_INTERFACES
36- (void)scaleWithUnits:(TSPLScaleUnits)units horzRes:(int)horzRes vertRes:(int)vertRes;
37- (void)boxWithLineThickness:(int)lineThickness startRow:(int)startRow startCol:(int)startCol endRow:(int)endRow endCol:(int)endCol;
38- (void)lineWithLineThickness:(int)lineThickness startRow:(int)startRow startCol:(int)startCol endRow:(int)endRow endCol:(int)endCol;
39- (void)textWithStartRow:(int)startRow startCol:(int)startCol vertExpand:(int)vertExpand horzExpand:(int)horzExpand data:(NSString *)data;
40- (void)barcode1DWithType:(TSPLBarcodeType1D)bcdType startRow:(int)startRow startCol:(int)startCol bcdData:(NSString *)bcdData;
41- (void)barcode1DWithSetup:(Barcode1DProperties *)bcdSetup startRow:(int)startRow startCol:(int)startCol bcdData:(NSString *)bcdData;
42- (void)barcode2DWithType:(TSPLBarcodeType2D)bcdType startRow:(int)startRow startCol:(int)startCol bcdData:(NSString *)bcdData;
43- (void)barcode2DWithSetup:(Barcode2DProperties *)bcdSetup startRow:(int)startRow startCol:(int)startCol bcdData:(NSString *)bcdData;
44- (void)rfidWriteWithProps:(RfidWriteProperties *)writeProps bitField:(RfidWriteBitField *)bitField;
45- (void)rfidWriteWithMemBank:(TSPLRfidMemBlock)memBank dataFormat:(TSPLRfidFormat)dataFormat bitCount:(int)bitCount data:(NSString *)data;
46- (void)rfidVerifyWithProps:(RfidReadProperties *)readProps readBitField:(RfidReadBitField *)readBitField;
47
48#endif
49
50@end
51
54#endif /* TsplForm_h */