UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
PglForm.h
1//
2// PglForm.h
3// sdk_json_Objective-C
4//
5// Created by Realbuber on 2024/5/23.
6//
7
8#ifndef PglForm_h
9#define PglForm_h
10
11#import <Foundation/Foundation.h>
12
13#import <UniPRT/PGL.h>
14#import <UniPRT/PglBarcode1DProperties.h>
15#import <UniPRT/PglBarcode2DProperties.h>
16#import <UniPRT/PglRfidWriteProperties.h>
17#import <UniPRT/PglRfidWriteBitField.h>
18#import <UniPRT/PglRfidReadProperties.h>
19#import <UniPRT/PglRfidReadBitField.h>
20#import <UniPRT/PglBarcode1DProperties.h>
21#import <UniPRT/PglBarcode1D.h>
22#import <UniPRT/PglBarcode2DProperties.h>
23#import <UniPRT/PglBarcode2D.h>
24
25
26NS_ASSUME_NONNULL_BEGIN
27
30@interface PglForm : NSObject
31
32@property (nonatomic, copy) NSString *name;
33@property (nonatomic, assign) BOOL deleteAfterUse;
34@property (nonatomic, strong) NSMutableArray *pglObjects;
35
36- (instancetype)initWithName:(NSString *)formName;
37- (void)rawContent:(NSString *)rawContent;
38- (void)scaleWithUnits:(PGLScaleUnits)units horzRes:(int)horzRes vertRes:(int)vertRes;
39- (void)boxWithLineThickness:(int)lineThickness startRow:(int)startRow startCol:(int)startCol endRow:(int)endRow endCol:(int)endCol;
40- (void)lineWithLineThickness:(int)lineThickness startRow:(int)startRow startCol:(int)startCol endRow:(int)endRow endCol:(int)endCol;
41- (void)textWithStartRow:(int)startRow startCol:(int)startCol vertExpand:(int)vertExpand horzExpand:(int)horzExpand data:(NSString *)data;
42- (void)barcode1DWithType:(PGLBarcodeType1D)bcdType startRow:(int)startRow startCol:(int)startCol bcdData:(NSString *)bcdData;
43- (void)barcode1DWithSetup:(PglBarcode1DProperties *)bcdSetup startRow:(int)startRow startCol:(int)startCol bcdData:(NSString *)bcdData;
44- (void)barcode2DWithType:(PGLBarcodeType2D)bcdType startRow:(int)startRow startCol:(int)startCol bcdData:(NSString *)bcdData;
45- (void)barcode2DWithSetup:(PglBarcode2DProperties *)bcdSetup startRow:(int)startRow startCol:(int)startCol bcdData:(NSString *)bcdData;
46- (void)rfidWriteWithProps:(PglRfidWriteProperties *)writeProps bitField:(PglRfidWriteBitField *)bitField;
47- (void)rfidWriteWithMemBank:(PGLRfidMemBlock)memBank dataFormat:(PGLRfidFormat)dataFormat bitCount:(int)bitCount data:(NSString *)data;
48- (void)addPglObject:(id)pglObject;
49- (void)rfidVerifyWithProps:(PglRfidReadProperties *)readProps readBitField:(PglRfidReadBitField *)readBitField;
50- (NSString *)getAsString;
51
52@end
53
57NS_ASSUME_NONNULL_END
58
59#endif /* PglForm_h */