seven365-zyprinter 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Package.swift +43 -0
- package/README.md +186 -0
- package/Seven365Zyprinter.podspec +27 -0
- package/android/build.gradle +58 -0
- package/android/src/main/AndroidManifest.xml +2 -0
- package/android/src/main/java/com/mycompany/plugins/example/Example.java +342 -0
- package/android/src/main/java/com/mycompany/plugins/example/ExamplePlugin.java +161 -0
- package/android/src/main/res/.gitkeep +0 -0
- package/dist/docs.json +229 -0
- package/dist/esm/definitions.d.ts +56 -0
- package/dist/esm/definitions.js +2 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +49 -0
- package/dist/esm/web.js +40 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +54 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +57 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Seven365Zyprinter.podspec +28 -0
- package/ios/Sources/Plugin/ZyprintPlugin.swift +161 -0
- package/ios/Sources/Plugin/ZywellSDK.swift +358 -0
- package/ios/Sources/Seven365Zyprinter-Umbrella.h +16 -0
- package/ios/Sources/module.modulemap +12 -0
- package/ios/Sources/sources/BLEManager.h +658 -0
- package/ios/Sources/sources/BLEManager.m +2842 -0
- package/ios/Sources/sources/GCD/Documentation.html +47 -0
- package/ios/Sources/sources/GCD/GCDAsyncSocket.h +1226 -0
- package/ios/Sources/sources/GCD/GCDAsyncSocket.m +8560 -0
- package/ios/Sources/sources/GCD/GCDAsyncUdpSocket.h +1036 -0
- package/ios/Sources/sources/GCD/GCDAsyncUdpSocket.m +5632 -0
- package/ios/Sources/sources/GCD/PrinterManager.h +91 -0
- package/ios/Sources/sources/GCD/PrinterManager.m +513 -0
- package/ios/Sources/sources/GCD/WifiManager.h +91 -0
- package/ios/Sources/sources/GCD/WifiManager.m +510 -0
- package/ios/Sources/sources/ImageTranster.h +38 -0
- package/ios/Sources/sources/ImageTranster.m +389 -0
- package/ios/Sources/sources/POSBLEManager.h +759 -0
- package/ios/Sources/sources/POSBLEManager.m +834 -0
- package/ios/Sources/sources/POSSDK.h +93 -0
- package/ios/Sources/sources/POSWIFIManager.h +116 -0
- package/ios/Sources/sources/POSWIFIManager.m +260 -0
- package/ios/Sources/sources/POSWIFIManagerAsync.h +745 -0
- package/ios/Sources/sources/POSWIFIManagerAsync.m +1847 -0
- package/ios/Sources/sources/PosCommand.h +633 -0
- package/ios/Sources/sources/PosCommand.m +1019 -0
- package/ios/Sources/sources/TscCommand.h +723 -0
- package/ios/Sources/sources/TscCommand.m +566 -0
- package/ios/Tests/ExamplePluginTests/ExamplePluginTests.swift +15 -0
- package/package.json +339 -0
|
@@ -0,0 +1,834 @@
|
|
|
1
|
+
//
|
|
2
|
+
// POSBLEManager.m
|
|
3
|
+
// Printer
|
|
4
|
+
//
|
|
5
|
+
// Created by ding on 16/7/19.
|
|
6
|
+
// Copyright © 2019年 ding. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "POSBLEManager.h"
|
|
10
|
+
#import "BLEManager.h"
|
|
11
|
+
|
|
12
|
+
static POSBLEManager *shareInstance = nil;
|
|
13
|
+
|
|
14
|
+
@interface POSBLEManager ()<BLEManagerDelegate>
|
|
15
|
+
@property (nonatomic,strong) BLEManager *manager;
|
|
16
|
+
@end
|
|
17
|
+
|
|
18
|
+
@implementation POSBLEManager
|
|
19
|
+
+ (instancetype)sharedInstance {
|
|
20
|
+
static dispatch_once_t onceToken;
|
|
21
|
+
dispatch_once(&onceToken, ^{
|
|
22
|
+
shareInstance = [[POSBLEManager alloc] init];
|
|
23
|
+
});
|
|
24
|
+
return shareInstance;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
- (instancetype)init {
|
|
28
|
+
if (self == [super init]) {
|
|
29
|
+
_manager = [BLEManager sharedBLEManager];
|
|
30
|
+
_manager.delegate = self;
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
return self;
|
|
34
|
+
}
|
|
35
|
+
- (void)setWritePeripheral:(CBPeripheral *)writePeripheral {
|
|
36
|
+
_writePeripheral = writePeripheral;
|
|
37
|
+
_manager.writePeripheral = writePeripheral;
|
|
38
|
+
}
|
|
39
|
+
#pragma mark - 开始扫描
|
|
40
|
+
- (void)POSstartScan {
|
|
41
|
+
// [_manager startScan];
|
|
42
|
+
[_manager reScan];
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
#pragma mark - 停止扫描
|
|
46
|
+
- (void)POSstopScan {
|
|
47
|
+
[_manager stopScan];
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
#pragma mark - 手动断开现连设备 不会重连
|
|
51
|
+
- (void)POSdisconnectRootPeripheral {
|
|
52
|
+
[_manager disconnectRootPeripheral];
|
|
53
|
+
_connectOK=NO;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
#pragma mark - 发送数据
|
|
57
|
+
- (void)POSsendDataToPeripheral:(CBPeripheral *)peripheral dataString:(NSString *)dataStr {
|
|
58
|
+
[_manager sendDataWithPeripheral:peripheral withString:dataStr coding:encodingType];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
//发送指令的方法
|
|
63
|
+
-(void)POSWriteCommandWithData:(NSData *)data{
|
|
64
|
+
[_manager writeCommadnToPrinterWthitData:data];
|
|
65
|
+
}
|
|
66
|
+
//发送指令,并带回调的方法
|
|
67
|
+
-(void)POSWriteCommandWithData:(NSData *)data callBack:(TSCCompletionBlock)block{
|
|
68
|
+
|
|
69
|
+
[_manager writeCommadnToPrinterWthitData:data withResponse:^(CBCharacteristic *characteristic) {
|
|
70
|
+
block(characteristic);
|
|
71
|
+
}];
|
|
72
|
+
}
|
|
73
|
+
#pragma mark - 发送TSC指令
|
|
74
|
+
//- (void)PosWriteTSCCommondWithData:(NSData *)data callBack:(PosTSCCompletionBlock)block {
|
|
75
|
+
// [_manager writeTSCCommndWithData:data withResponse:^(CBCharacteristic *characteristic) {
|
|
76
|
+
// block(characteristic);
|
|
77
|
+
// }];
|
|
78
|
+
//}
|
|
79
|
+
//#pragma mark - 发送POS指令
|
|
80
|
+
//- (void)PosWritePOSCommondWithData:(NSData *)data callBack:(PosTSCCompletionBlock)block {
|
|
81
|
+
// [_manager writePOSCommndWithData:data withResponse:^(CBCharacteristic *characteristic) {
|
|
82
|
+
// block(characteristic);
|
|
83
|
+
// }];
|
|
84
|
+
//}
|
|
85
|
+
#pragma mark - 连接指定设备
|
|
86
|
+
- (void)POSconnectDevice:(CBPeripheral *)peripheral {
|
|
87
|
+
[_manager connectPeripheral:peripheral completion:^(BOOL isConnected) {
|
|
88
|
+
if (isConnected) {
|
|
89
|
+
if ([self.delegate respondsToSelector:@selector(POSdidConnectPeripheral:)]) {
|
|
90
|
+
[self.delegate POSdidConnectPeripheral:peripheral];
|
|
91
|
+
self->_connectOK=YES;
|
|
92
|
+
}
|
|
93
|
+
}else {
|
|
94
|
+
if ([self.delegate respondsToSelector:@selector(POSdidFailToConnectPeripheral:error:)]) {
|
|
95
|
+
[self.delegate POSdidFailToConnectPeripheral:peripheral error:NULL];
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}];
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
#pragma mark - BLEManagerDelegate
|
|
102
|
+
/**
|
|
103
|
+
* 扫描到设备后
|
|
104
|
+
*/
|
|
105
|
+
- (void)BLEManagerDelegate:(BLEManager *)BLEmanager updatePeripheralList:(NSArray *)peripherals RSSIList:(NSArray *)RSSIArr{
|
|
106
|
+
if ([self.delegate respondsToSelector:@selector(POSdidUpdatePeripheralList:RSSIList:)]) {
|
|
107
|
+
[self.delegate POSdidUpdatePeripheralList:peripherals RSSIList:RSSIArr];
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* 连接上设备
|
|
112
|
+
*/
|
|
113
|
+
- (void)BLEManagerDelegate:(BLEManager *)BLEmanager connectPeripheral:(CBPeripheral *)peripheral {
|
|
114
|
+
|
|
115
|
+
// if ([self.delegate respondsToSelector:@selector(didConnectPeripheral:)]) {
|
|
116
|
+
// [self.delegate didConnectPeripheral:peripheral];
|
|
117
|
+
// }
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* 断开设备
|
|
122
|
+
*/
|
|
123
|
+
- (void)BLEManagerDelegate:(BLEManager *)BLEmanager disconnectPeripheral:(CBPeripheral *)peripheral isAutoDisconnect:(BOOL)isAutoDisconnect{
|
|
124
|
+
//这里在打印机主动断开连接时,会使APP闪退
|
|
125
|
+
// if ([self.delegate respondsToSelector:@selector(POSdidDisconnectPeripheral:isAutoDisconnect:)]) {
|
|
126
|
+
// [self.delegate POSdidDisconnectPeripheral:peripheral isAutoDisconnect:isAutoDisconnect];
|
|
127
|
+
// }
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
- (void)BLEManagerDelegate:(BLEManager *)BLEmanager didWriteValueForCharacteristic:(CBCharacteristic *)character error:(NSError *)error {
|
|
131
|
+
if ([self.delegate respondsToSelector:@selector(POSdidWriteValueForCharacteristic:error:)]) {
|
|
132
|
+
[self.delegate POSdidWriteValueForCharacteristic:character error:error];
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
- (void)BLEManagerDelegate:(BLEManager *)BLEmanager didFailToConnectPeripheral:(CBPeripheral *)peripheral error:(NSError *)error {
|
|
138
|
+
if ([self.delegate respondsToSelector:@selector(POSdidFailToConnectPeripheral:error:)]) {
|
|
139
|
+
[self.delegate POSdidFailToConnectPeripheral:peripheral error:error];
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
//#pragma mark - 其他方法
|
|
144
|
+
//#pragma mark - 水平定位
|
|
145
|
+
//- (void)PoshorizontalPosition {
|
|
146
|
+
// [_manager horizontalPosition];
|
|
147
|
+
//}
|
|
148
|
+
//
|
|
149
|
+
//#pragma mark - 打印并换行
|
|
150
|
+
//- (void)PosprintAndFeed {
|
|
151
|
+
// [_manager printAndFeed];
|
|
152
|
+
//}
|
|
153
|
+
//
|
|
154
|
+
//#pragma mark - 打印并回到标准模式
|
|
155
|
+
//- (void)PosPrintAndBackToNormalModel {
|
|
156
|
+
// [_manager printAndBackToNormalModel];
|
|
157
|
+
//}
|
|
158
|
+
//
|
|
159
|
+
//#pragma mark - 取消打印
|
|
160
|
+
//- (void)PosCancelPrintData {
|
|
161
|
+
// [_manager cancelPrintData];
|
|
162
|
+
//}
|
|
163
|
+
//
|
|
164
|
+
//#pragma mark - 实时状态传送
|
|
165
|
+
//- (void)PosUpdataPrinterState:(int)param completion:(PosPOSCompletionBlock)callBlock{
|
|
166
|
+
// [_manager updataPrinterState:param completion:^(CBCharacteristic *characteristic) {
|
|
167
|
+
// callBlock(characteristic);
|
|
168
|
+
// }];
|
|
169
|
+
//}
|
|
170
|
+
//
|
|
171
|
+
//#pragma mark - 实时请求打印机
|
|
172
|
+
//- (void)PosUpdataPrinterAnswer:(int)param {
|
|
173
|
+
// [_manager updataPrinterAnswer:param];
|
|
174
|
+
//}
|
|
175
|
+
//
|
|
176
|
+
//#pragma mark - 实时产生钱箱脉冲
|
|
177
|
+
//- (void)PosOpenBoxAndPulse:(int)n m:(int)m t:(int)t {
|
|
178
|
+
// [_manager openBoxAndPulse:n m:m t:t];
|
|
179
|
+
//}
|
|
180
|
+
//
|
|
181
|
+
//#pragma mark - 页模式下打印
|
|
182
|
+
//- (void)PosPrintOnPageModel {
|
|
183
|
+
// [_manager printOnPageModel];
|
|
184
|
+
//}
|
|
185
|
+
//
|
|
186
|
+
//#pragma mark - 设置字符右间距
|
|
187
|
+
//- (void)PosSetCharRightMargin:(int)n {
|
|
188
|
+
// [_manager setCharRightMargin:n];
|
|
189
|
+
//}
|
|
190
|
+
//
|
|
191
|
+
//#pragma mark - 选择打印模式
|
|
192
|
+
//- (void)PosSelectPrintModel:(int)n {
|
|
193
|
+
// [_manager selectPrintModel:n];
|
|
194
|
+
//}
|
|
195
|
+
//
|
|
196
|
+
///**
|
|
197
|
+
// * 11.设置绝对打印位置
|
|
198
|
+
// * 0 <= nL <= 255
|
|
199
|
+
// * 0 <= nh <= 255
|
|
200
|
+
// */
|
|
201
|
+
//- (void)PosSetPrintLocationWithParam:(int)nL nH:(int)nH
|
|
202
|
+
//{
|
|
203
|
+
// [_manager setPrintLocationWithParam:nL nH:nH];
|
|
204
|
+
//}
|
|
205
|
+
//
|
|
206
|
+
///**
|
|
207
|
+
// * 12.选择/取消用户自定义字符
|
|
208
|
+
// * 0 <= n <= 255
|
|
209
|
+
// */
|
|
210
|
+
//- (void)PosSelectOrCancelCustomCharacter:(int)n {
|
|
211
|
+
// [_manager selectOrCancelCustomCharacter:n];
|
|
212
|
+
//}
|
|
213
|
+
//
|
|
214
|
+
///**
|
|
215
|
+
// * 13.定义用户自定义字符
|
|
216
|
+
// */
|
|
217
|
+
//- (void)PosDefinCustomCharacter:(int)y c1:(int)c1 c2:(int)c2 dx:(NSArray *)points {
|
|
218
|
+
// [_manager definCustomCharacter:y c1:c1 c2:c2 dx:points];
|
|
219
|
+
//}
|
|
220
|
+
//
|
|
221
|
+
///**
|
|
222
|
+
// * 14.选择位图模式
|
|
223
|
+
// */
|
|
224
|
+
//- (void)PosSelectBitmapModel:(int)m nL:(int)nL nH:(int)nH dx:(NSArray *)points
|
|
225
|
+
//{
|
|
226
|
+
// [_manager selectBitmapModel:m nL:nL nH:nH dx:points];
|
|
227
|
+
//}
|
|
228
|
+
//
|
|
229
|
+
///**
|
|
230
|
+
// * 15.取消下划线模式
|
|
231
|
+
// */
|
|
232
|
+
//- (void)PosCancelUnderLineModelWith:(int)n {
|
|
233
|
+
// [_manager cancelUnderLineModel:n];
|
|
234
|
+
//}
|
|
235
|
+
//
|
|
236
|
+
///**
|
|
237
|
+
// * 16.设置默认行间距
|
|
238
|
+
// */
|
|
239
|
+
//- (void)PosSetDefaultLineMargin {
|
|
240
|
+
// [_manager setDefaultLineMargin];
|
|
241
|
+
//}
|
|
242
|
+
//
|
|
243
|
+
///**
|
|
244
|
+
// * 17.设置行间距
|
|
245
|
+
// */
|
|
246
|
+
//- (void)PosSetLineMarginWith:(int)n {
|
|
247
|
+
// [_manager setLineMargin:n];
|
|
248
|
+
//}
|
|
249
|
+
//
|
|
250
|
+
///**
|
|
251
|
+
// * 18.选择打印机
|
|
252
|
+
// */
|
|
253
|
+
//- (void)PosSelectPrinterWith:(int)n {
|
|
254
|
+
// [_manager selectPrinter:n];
|
|
255
|
+
//}
|
|
256
|
+
//
|
|
257
|
+
///**
|
|
258
|
+
// * 19.取消用户自定义字符
|
|
259
|
+
// */
|
|
260
|
+
//- (void)PosCancelCustomCharacterWith:(int)n {
|
|
261
|
+
// [_manager cancelCustomCharacter:n];
|
|
262
|
+
//}
|
|
263
|
+
//
|
|
264
|
+
///**
|
|
265
|
+
// * 20.初始化打印机
|
|
266
|
+
// */
|
|
267
|
+
//- (void)PosInitializePrinter {
|
|
268
|
+
// [_manager initializePrinter];
|
|
269
|
+
//}
|
|
270
|
+
//
|
|
271
|
+
///**
|
|
272
|
+
// * 21.设置横向跳格位置
|
|
273
|
+
// */
|
|
274
|
+
//- (void)PosSetTabLocationWith:(NSArray *)points {
|
|
275
|
+
// [_manager setTabLocationWith:points];
|
|
276
|
+
//}
|
|
277
|
+
///**
|
|
278
|
+
// * 22.选择/取消加粗模式
|
|
279
|
+
// */
|
|
280
|
+
//- (void)PosSelectOrCancelBoldModelWith:(int)n {
|
|
281
|
+
// [_manager selectOrCancelBoldModel:n];
|
|
282
|
+
//}
|
|
283
|
+
///**
|
|
284
|
+
// * 23.选择/取消双重打印模式
|
|
285
|
+
// */
|
|
286
|
+
//- (void)PosSelectOrCancelDoublePrintModel:(int)n {
|
|
287
|
+
// [_manager selectOrCancelDoublePrintModel:n];
|
|
288
|
+
//}
|
|
289
|
+
///**
|
|
290
|
+
// * 24.打印并走纸
|
|
291
|
+
// */
|
|
292
|
+
//- (void)PosPrintAndPushPageWith:(int)n {
|
|
293
|
+
// [_manager printAndPushPage:n];
|
|
294
|
+
//}
|
|
295
|
+
///**
|
|
296
|
+
// * 25.选择页模式
|
|
297
|
+
// */
|
|
298
|
+
//- (void)PosSelectPageModel {
|
|
299
|
+
// [_manager selectPageModel];
|
|
300
|
+
//}
|
|
301
|
+
///**
|
|
302
|
+
// * 26.选择字体
|
|
303
|
+
// */
|
|
304
|
+
//- (void)PosSelectFontWith:(int)n {
|
|
305
|
+
// [_manager selectFont:n];
|
|
306
|
+
//}
|
|
307
|
+
///**
|
|
308
|
+
// * 27.选择国际字符集
|
|
309
|
+
// */
|
|
310
|
+
//- (void)PosSelectINTL_CHAR_SETWith:(int)n {
|
|
311
|
+
// [_manager selectINTL_CHAR_SETWith:n];
|
|
312
|
+
//}
|
|
313
|
+
///**
|
|
314
|
+
// * 28.选择标准模式
|
|
315
|
+
// */
|
|
316
|
+
//- (void)PosSelectNormalModel {
|
|
317
|
+
// [_manager selectNormalModel];
|
|
318
|
+
//}
|
|
319
|
+
///**
|
|
320
|
+
// * 29.在页模式下选择打印区域方向
|
|
321
|
+
// */
|
|
322
|
+
//- (void)PosSelectPrintDirectionOnPageModel:(int)n {
|
|
323
|
+
// [_manager selectPrintDirectionOnPageModel:n];
|
|
324
|
+
//}
|
|
325
|
+
///**
|
|
326
|
+
// * 30.选择/取消顺时针旋转90度
|
|
327
|
+
// */
|
|
328
|
+
//- (void)PosSelectOrCancelRotationClockwise:(int)n {
|
|
329
|
+
// [_manager selectOrCancelRotationClockwise:n];
|
|
330
|
+
//}
|
|
331
|
+
///**
|
|
332
|
+
// * 31.页模式下设置打印区域
|
|
333
|
+
// */
|
|
334
|
+
//- (void)PosSetprintLocationOnPageModelWithXL:(int)xL
|
|
335
|
+
// xH:(int)xH
|
|
336
|
+
// yL:(int)yL
|
|
337
|
+
// yH:(int)yH
|
|
338
|
+
// dxL:(int)dxL
|
|
339
|
+
// dxH:(int)dxH
|
|
340
|
+
// dyL:(int)dyL
|
|
341
|
+
// dyH:(int)dyH
|
|
342
|
+
//{
|
|
343
|
+
// [_manager setprintLocationOnPageModelWithXL:xL xH:xH yL:yL yH:yH dxL:dxL dxH:dxH dyL:dyL dyH:dyH];
|
|
344
|
+
//}
|
|
345
|
+
//
|
|
346
|
+
///**
|
|
347
|
+
// * 32.设置横向打印位置
|
|
348
|
+
// */
|
|
349
|
+
//- (void)PosSetHorizonLocationWith:(int)nL nH:(int)nH {
|
|
350
|
+
// [_manager setHorizonLocationWith:nL nH:nH];
|
|
351
|
+
//}
|
|
352
|
+
///**
|
|
353
|
+
// * 33.选择对齐方式
|
|
354
|
+
// */
|
|
355
|
+
//- (void)PosSelectAlignmentWithN:(int)n {
|
|
356
|
+
// [_manager selectAlignmentWithN:n];
|
|
357
|
+
//}
|
|
358
|
+
///**
|
|
359
|
+
// * 34.选择打印纸传感器以输出信号
|
|
360
|
+
// */
|
|
361
|
+
//- (void)PosSelectSensorForOutputSignal:(int)n {
|
|
362
|
+
// [_manager selectSensorForOutputSignal:n];
|
|
363
|
+
//}
|
|
364
|
+
///**
|
|
365
|
+
// * 35.选择打印纸传感器以停止打印
|
|
366
|
+
// */
|
|
367
|
+
//- (void)PosSelectSensorForStopPrint:(int)n {
|
|
368
|
+
// [_manager selectSensorForStopPrint:n];
|
|
369
|
+
//}
|
|
370
|
+
///**
|
|
371
|
+
// * 36.允许/禁止按键
|
|
372
|
+
// */
|
|
373
|
+
//- (void)PosAllowOrDisableKeypress:(int)n {
|
|
374
|
+
// [_manager allowOrDisableKeypress:n];
|
|
375
|
+
//}
|
|
376
|
+
///**
|
|
377
|
+
// * 37.打印并向前走纸 N 行
|
|
378
|
+
// */
|
|
379
|
+
//- (void)PosPrintAndPushPageRow:(int)n {
|
|
380
|
+
// [_manager printAndPushPageRow:n];
|
|
381
|
+
//}
|
|
382
|
+
///**
|
|
383
|
+
// * 38.产生钱箱控制脉冲
|
|
384
|
+
// */
|
|
385
|
+
//- (void)PosMakePulseWithCashboxWithM:(int)m t1:(int)t1 t2:(int)t2 {
|
|
386
|
+
// [_manager makePulseWithCashboxWithM:m t1:t1 t2:t2];
|
|
387
|
+
//}
|
|
388
|
+
///**
|
|
389
|
+
// * 39.选择字符代码表
|
|
390
|
+
// */
|
|
391
|
+
//- (void)PosSelectCharacterTabN:(int)n {
|
|
392
|
+
// [_manager selectCharacterTabN:n];
|
|
393
|
+
//}
|
|
394
|
+
///**
|
|
395
|
+
// * 40.选择/取消倒置打印模式
|
|
396
|
+
// */
|
|
397
|
+
//- (void)PosSelectOrCancelInversionPrintModel:(int)n {
|
|
398
|
+
// [_manager selectOrCancelInversionPrintModel:n];
|
|
399
|
+
//}
|
|
400
|
+
///**
|
|
401
|
+
// * 41.打印下载到FLASH中的位图
|
|
402
|
+
// */
|
|
403
|
+
//- (void)PosPrintFlashBitmapWithN:(int)n m:(int)m {
|
|
404
|
+
// [_manager printFlashBitmapWithN:n m:m];
|
|
405
|
+
//}
|
|
406
|
+
///**
|
|
407
|
+
// * 42.定义FLASH位图
|
|
408
|
+
// */
|
|
409
|
+
//- (void)PosDefinFlashBitmapWithN:(int)n Points:(NSArray *)points {
|
|
410
|
+
// [_manager definFlashBitmapWithN:n Points:points];
|
|
411
|
+
//}
|
|
412
|
+
///**
|
|
413
|
+
// * 43.选择字符大小
|
|
414
|
+
// */
|
|
415
|
+
//- (void)PosSelectCharacterSize:(int)n {
|
|
416
|
+
// [_manager selectCharacterSize:n];
|
|
417
|
+
//}
|
|
418
|
+
///**
|
|
419
|
+
// * 44.页模式下设置纵向绝对位置
|
|
420
|
+
// */
|
|
421
|
+
//- (void)PosSetVertLocationOnPageModelWithnL:(int)nL nH:(int)nH {
|
|
422
|
+
// [_manager setVertLocationOnPageModelWithnL:nL nH:nH];
|
|
423
|
+
//}
|
|
424
|
+
///**
|
|
425
|
+
// * 45.定义下载位图
|
|
426
|
+
// */
|
|
427
|
+
//- (void)PosDefineLoadBitmapWithX:(int)x Y:(int)y Points:(NSArray *)points; {
|
|
428
|
+
// [_manager defineLoadBitmapWithX:x Y:y Points:points];
|
|
429
|
+
//}
|
|
430
|
+
///**
|
|
431
|
+
// * 46.执行打印数据十六进制转储
|
|
432
|
+
// */
|
|
433
|
+
//- (void)PosPrintDataAndSaveAsHexWithpL:(int)pL pH:(int)pH n:(int)n m:(int)m {
|
|
434
|
+
// [_manager printDataAndSaveAsHexWithpL:pL pH:pH n:n m:m];
|
|
435
|
+
//}
|
|
436
|
+
///**
|
|
437
|
+
// * 47.打印下载位图
|
|
438
|
+
// */
|
|
439
|
+
//- (void)PosPrintLoadBitmapM:(int)m {
|
|
440
|
+
// [_manager printLoadBitmapM:m];
|
|
441
|
+
//}
|
|
442
|
+
///**
|
|
443
|
+
// * 48.开始/结束宏定义
|
|
444
|
+
// */
|
|
445
|
+
//- (void)PosBeginOrEndDefine {
|
|
446
|
+
// [_manager beginOrEndDefine];
|
|
447
|
+
//}
|
|
448
|
+
///**
|
|
449
|
+
// * 49.选择/取消黑白反显打印模式
|
|
450
|
+
// */
|
|
451
|
+
//- (void)PosSelectORCancelBWPrintModel:(int)n {
|
|
452
|
+
// [_manager selectORCancelBWPrintModel:n];
|
|
453
|
+
//}
|
|
454
|
+
///**
|
|
455
|
+
// * 50.选择HRI字符的打印位置
|
|
456
|
+
// */
|
|
457
|
+
//- (void)PosSelectHRIPrintLocation:(int)n {
|
|
458
|
+
// [_manager selectHRIPrintLocation:n];
|
|
459
|
+
//}
|
|
460
|
+
///**
|
|
461
|
+
// * 51.设置左边距
|
|
462
|
+
// */
|
|
463
|
+
//- (void)PosSetLeftMarginWithnL:(int)nL nH:(int)nH {
|
|
464
|
+
// [_manager setLeftMarginWithnL:nL nH:nH];
|
|
465
|
+
//}
|
|
466
|
+
///**
|
|
467
|
+
// * 52.设置横向和纵向移动单位
|
|
468
|
+
// */
|
|
469
|
+
//- (void)PosSetHoriAndVertUnitXWith:(int)x y:(int)y {
|
|
470
|
+
// [_manager setHoriAndVertUnitXWith:x y:y];
|
|
471
|
+
//}
|
|
472
|
+
///**
|
|
473
|
+
// * 53.选择切纸模式并切纸
|
|
474
|
+
// */
|
|
475
|
+
//- (void)PosSelectCutPaperModelAndCutPaperWith:(int)m n:(int)n selectedModel:(int)model {
|
|
476
|
+
// [_manager selectCutPaperModelAndCutPaperWith:m n:n selectedModel:model];
|
|
477
|
+
//}
|
|
478
|
+
///**
|
|
479
|
+
// * 54.设置打印区域宽高
|
|
480
|
+
// */
|
|
481
|
+
//- (void)PosSetPrintLocationWith:(int)nL nH:(int)nH {
|
|
482
|
+
// [_manager setPrintLocationWith:nL nH:nH];
|
|
483
|
+
//}
|
|
484
|
+
///**
|
|
485
|
+
// * 55.页模式下设置纵向相对位置
|
|
486
|
+
// */
|
|
487
|
+
//- (void)PosSetVertRelativeLocationOnPageModelWith:(int)nL nH:(int)nH {
|
|
488
|
+
// [_manager setVertRelativeLocationOnPageModelWith:nL nH:nH];
|
|
489
|
+
//}
|
|
490
|
+
///**
|
|
491
|
+
// * 56.执行宏命令
|
|
492
|
+
// */
|
|
493
|
+
//- (void)PosRunMacroMommandWith:(int)r t:(int)t m:(int)m {
|
|
494
|
+
// [_manager runMacroMommandWith:r t:t m:m];
|
|
495
|
+
//}
|
|
496
|
+
///**
|
|
497
|
+
// * 57.打开/关闭自动状态反传功能(ASB)
|
|
498
|
+
// */
|
|
499
|
+
//- (void)PosOpenOrCloseASB:(int)n {
|
|
500
|
+
// [_manager openOrCloseASB:n];
|
|
501
|
+
//}
|
|
502
|
+
///**
|
|
503
|
+
// * 58.选择HRI使用字体
|
|
504
|
+
// */
|
|
505
|
+
//- (void)PosSelectHRIFontToUse:(int)n {
|
|
506
|
+
// [_manager selectHRIFontToUse:n];
|
|
507
|
+
//}
|
|
508
|
+
///**
|
|
509
|
+
// * 59. 选择条码高度
|
|
510
|
+
// */
|
|
511
|
+
//- (void)PosSelectBarcodeHeight:(int)n {
|
|
512
|
+
// [_manager selectBarcodeHeight:n];
|
|
513
|
+
//}
|
|
514
|
+
///**
|
|
515
|
+
// * 60.打印条码
|
|
516
|
+
// */
|
|
517
|
+
//- (void)PosPrintBarCodeWithPoints:(int)m n:(int)n points:(NSArray *)points selectModel:(int)model {
|
|
518
|
+
// [_manager printBarCodeWithPoints:m n:n points:points selectModel:model];
|
|
519
|
+
//}
|
|
520
|
+
///**
|
|
521
|
+
// * 61.返回状态
|
|
522
|
+
// */
|
|
523
|
+
//- (void)PosCallBackStatus:(int)n completion:(PosPOSCompletionBlock)block {
|
|
524
|
+
// [_manager callBackStatus:n completion:^(CBCharacteristic *characteristic) {
|
|
525
|
+
// block(characteristic);
|
|
526
|
+
// }];
|
|
527
|
+
//}
|
|
528
|
+
///**
|
|
529
|
+
// * 62.打印光栅位图
|
|
530
|
+
// */
|
|
531
|
+
//- (void)PosPrintRasterBitmapWith:(int)m
|
|
532
|
+
// xL:(int)xL
|
|
533
|
+
// xH:(int)xH
|
|
534
|
+
// yl:(int)yL
|
|
535
|
+
// yh:(int)yH
|
|
536
|
+
// points:(NSArray *)points
|
|
537
|
+
//{
|
|
538
|
+
// [_manager printRasterBitmapWith:m xL:xL xH:xH yl:yL yh:yH points:points];
|
|
539
|
+
//}
|
|
540
|
+
///**
|
|
541
|
+
// * 63.设置条码宽度
|
|
542
|
+
// */
|
|
543
|
+
//- (void)PosSetBarcodeWidth:(int)n {
|
|
544
|
+
// [_manager setBarcodeWidth:n];
|
|
545
|
+
//}
|
|
546
|
+
//#pragma mark - ============汉字字符控制命令============
|
|
547
|
+
///**
|
|
548
|
+
// * 64.设置汉字字符模式
|
|
549
|
+
// */
|
|
550
|
+
//- (void)PosSetChineseCharacterModel:(int)n {
|
|
551
|
+
// [_manager setChineseCharacterModel:n];
|
|
552
|
+
//}
|
|
553
|
+
///**
|
|
554
|
+
// * 65.选择汉字模式
|
|
555
|
+
// */
|
|
556
|
+
//- (void)PosSelectChineseCharacterModel {
|
|
557
|
+
// [_manager selectChineseCharacterModel];
|
|
558
|
+
//}
|
|
559
|
+
///**
|
|
560
|
+
// * 66.选择/取消汉字下划线模式
|
|
561
|
+
// */
|
|
562
|
+
//- (void)PosSelectOrCancelChineseUderlineModel:(int)n {
|
|
563
|
+
// [_manager selectOrCancelChineseUderlineModel:n];
|
|
564
|
+
//}
|
|
565
|
+
///**
|
|
566
|
+
// * 67.取消汉字模式
|
|
567
|
+
// */
|
|
568
|
+
//- (void)PosCancelChineseModel {
|
|
569
|
+
// [_manager cancelChineseModel];
|
|
570
|
+
//}
|
|
571
|
+
///**
|
|
572
|
+
// * 68.定义用户自定义汉字
|
|
573
|
+
// */
|
|
574
|
+
//- (void)PosDefineCustomChinesePointsC1:(int)c1 c2:(int)c2 points:(NSArray *)points {
|
|
575
|
+
// [_manager defineCustomChinesePointsC1:c1 c2:c2 points:points];
|
|
576
|
+
//}
|
|
577
|
+
///**
|
|
578
|
+
// * 69.设置汉字字符左右间距
|
|
579
|
+
// */
|
|
580
|
+
//- (void)PosSetChineseMarginWithLeftN1:(int)n1 n2:(int)n2 {
|
|
581
|
+
// [_manager setChineseMarginWithLeftN1:n1 n2:n2];
|
|
582
|
+
//}
|
|
583
|
+
///**
|
|
584
|
+
// * 70.选择/取消汉字倍高倍宽
|
|
585
|
+
// */
|
|
586
|
+
//- (void)PosSelectOrCancelChineseHModelAndWModel:(int)n {
|
|
587
|
+
// [_manager selectOrCancelChineseHModelAndWModel:n];
|
|
588
|
+
//}
|
|
589
|
+
//#pragma mark - ============打印机提示命令============
|
|
590
|
+
///**
|
|
591
|
+
// * 72.打印机来单打印蜂鸣提示
|
|
592
|
+
// */
|
|
593
|
+
//- (void)PosPrinterSound:(int)n t:(int)t {
|
|
594
|
+
// [_manager printerSound:n t:t];
|
|
595
|
+
//}
|
|
596
|
+
///**
|
|
597
|
+
// * 73.打印机来单打印蜂鸣提示及报警灯闪烁
|
|
598
|
+
// */
|
|
599
|
+
//- (void)PosPrinterSoundAndAlarmLight:(int)m t:(int)t n:(int)n {
|
|
600
|
+
// [_manager printerSoundAndAlarmLight:m t:t n:n];
|
|
601
|
+
//}
|
|
602
|
+
//
|
|
603
|
+
//#pragma mark - =========TSC指令==========
|
|
604
|
+
///**
|
|
605
|
+
// * 1.设置标签尺寸
|
|
606
|
+
// */
|
|
607
|
+
//- (void)PosaddSizeWidth:(int)width height:(int)height {
|
|
608
|
+
// [_manager PosaddSizeWidth:width height:height];
|
|
609
|
+
//}
|
|
610
|
+
///**
|
|
611
|
+
// * 2.设置间隙长度
|
|
612
|
+
// */
|
|
613
|
+
//- (void)PosaddGap:(int)gap {
|
|
614
|
+
// [_manager PosaddGap:gap];
|
|
615
|
+
//}
|
|
616
|
+
///**
|
|
617
|
+
// * 3.产生钱箱控制脉冲
|
|
618
|
+
// */
|
|
619
|
+
//- (void)PosaddCashDrwer:(int)m t1:(int)t1 t2:(int)t2 {
|
|
620
|
+
// [_manager PosaddCashDrwer:m t1:t1 t2:t2];
|
|
621
|
+
//}
|
|
622
|
+
///**
|
|
623
|
+
// * 4.控制每张标签的停止位置
|
|
624
|
+
// */
|
|
625
|
+
//- (void)PosaddOffset:(float)offset {
|
|
626
|
+
// [_manager PosaddOffset:offset];
|
|
627
|
+
//}
|
|
628
|
+
///**
|
|
629
|
+
// * 5.设置打印速度
|
|
630
|
+
// */
|
|
631
|
+
//- (void)PosaddSpeed:(float)speed {
|
|
632
|
+
// [_manager PosaddSpeed:speed];
|
|
633
|
+
//}
|
|
634
|
+
///**
|
|
635
|
+
// * 6.设置打印浓度
|
|
636
|
+
// */
|
|
637
|
+
//- (void)PosaddDensity:(int)n {
|
|
638
|
+
// [_manager PosaddDensity:n];
|
|
639
|
+
//}
|
|
640
|
+
///**
|
|
641
|
+
// * 7.设置打印方向和镜像
|
|
642
|
+
// */
|
|
643
|
+
//- (void)PosaddDirection:(int)n {
|
|
644
|
+
// [_manager PosaddDirection:n];
|
|
645
|
+
//}
|
|
646
|
+
///**
|
|
647
|
+
// * 8.设置原点坐标
|
|
648
|
+
// */
|
|
649
|
+
//- (void)PosaddReference:(int)x y:(int)y {
|
|
650
|
+
// [_manager PosaddReference:x y:y];
|
|
651
|
+
//}
|
|
652
|
+
///**
|
|
653
|
+
// * 9.清除打印缓冲区数据
|
|
654
|
+
// */
|
|
655
|
+
//- (void)PosaddCls {
|
|
656
|
+
// [_manager PosaddCls];
|
|
657
|
+
//}
|
|
658
|
+
///**
|
|
659
|
+
// * 10.走纸
|
|
660
|
+
// */
|
|
661
|
+
//- (void)PosaddFeed:(int)feed {
|
|
662
|
+
// [_manager PosaddFeed:feed];
|
|
663
|
+
//}
|
|
664
|
+
///**
|
|
665
|
+
// * 11.退纸
|
|
666
|
+
// */
|
|
667
|
+
//- (void)PosaddBackFeed:(int)feed {
|
|
668
|
+
// [_manager PosaddBackFeed:feed];
|
|
669
|
+
//}
|
|
670
|
+
///**
|
|
671
|
+
// * 12.走一张标签纸距离
|
|
672
|
+
// */
|
|
673
|
+
//- (void)PosaddFormFeed {
|
|
674
|
+
// [_manager PosaddFormFeed];
|
|
675
|
+
//}
|
|
676
|
+
///**
|
|
677
|
+
// * 13.标签位置进行一次校准
|
|
678
|
+
// */
|
|
679
|
+
//- (void)PosaddHome {
|
|
680
|
+
// [_manager PosaddHome];
|
|
681
|
+
//}
|
|
682
|
+
///**
|
|
683
|
+
// * 14.打印标签
|
|
684
|
+
// */
|
|
685
|
+
//- (void)PosaddPrint:(int)m {
|
|
686
|
+
// [_manager PosaddPrint:m];
|
|
687
|
+
//}
|
|
688
|
+
///**
|
|
689
|
+
// * 15.设置国际代码页
|
|
690
|
+
// */
|
|
691
|
+
//- (void)PosaddCodePage:(int)page {
|
|
692
|
+
// [_manager PosaddCodePage:page];
|
|
693
|
+
//}
|
|
694
|
+
///**
|
|
695
|
+
// * 16.设置蜂鸣器
|
|
696
|
+
// */
|
|
697
|
+
//- (void)PosaddSound:(int)level interval:(int)interval {
|
|
698
|
+
// [_manager PosaddSound:level interval:interval];
|
|
699
|
+
//}
|
|
700
|
+
///**
|
|
701
|
+
// * 17.设置打印机报错
|
|
702
|
+
// */
|
|
703
|
+
//- (void)PosaddLimitFeed:(int)feed {
|
|
704
|
+
// [_manager PosaddLimitFeed:feed];
|
|
705
|
+
//}
|
|
706
|
+
///**
|
|
707
|
+
// * 18.在打印缓冲区绘制黑块
|
|
708
|
+
// */
|
|
709
|
+
//- (void)PosaddBar:(int)x y:(int)y width:(int)width height:(int)height {
|
|
710
|
+
// [_manager PosaddBar:x y:y width:width height:height];
|
|
711
|
+
//}
|
|
712
|
+
///**
|
|
713
|
+
// * 19.在打印缓冲区绘制一维条码
|
|
714
|
+
// */
|
|
715
|
+
//- (void)Posadd1DBarcodeX:(int)x
|
|
716
|
+
// y:(int)y
|
|
717
|
+
// type:(NSString *)type
|
|
718
|
+
// height:(int)height
|
|
719
|
+
// readable:(int)readable
|
|
720
|
+
// rotation:(int)rotation
|
|
721
|
+
// narrow:(int)narrow
|
|
722
|
+
// wide:(int)wide
|
|
723
|
+
// content:(NSString *)content {
|
|
724
|
+
// [_manager Posadd1DBarcodeX:x y:y type:type height:height readable:readable rotation:rotation narrow:narrow wide:wide content:content];
|
|
725
|
+
//}
|
|
726
|
+
///**
|
|
727
|
+
// * 20.在打印缓冲区绘制矩形
|
|
728
|
+
// */
|
|
729
|
+
//- (void)PosaddBox:(int)x y:(int)y xend:(int)xend yend:(int)yend {
|
|
730
|
+
// [_manager PosaddBox:x y:y xend:xend yend:yend];
|
|
731
|
+
//}
|
|
732
|
+
///**
|
|
733
|
+
// * 21.在打印缓冲区绘制位图
|
|
734
|
+
// */
|
|
735
|
+
//- (void)PosaddBitmap:(int)x
|
|
736
|
+
// y:(int)y
|
|
737
|
+
// width:(int)width
|
|
738
|
+
// height:(int)height
|
|
739
|
+
// mode:(int)mode data:(int)data {
|
|
740
|
+
// [_manager PosaddBitmap:x y:y width:width height:height mode:mode data:data];
|
|
741
|
+
//}
|
|
742
|
+
///**
|
|
743
|
+
// * 22.擦除打印缓冲区中指定区域的数据
|
|
744
|
+
// */
|
|
745
|
+
//- (void)PosaddErase:(int)x y:(int)y xwidth:(int)xwidth yheight:(int)yheight {
|
|
746
|
+
// [_manager PosaddErase:x y:y xwidth:xwidth yheight:yheight];
|
|
747
|
+
//}
|
|
748
|
+
///**
|
|
749
|
+
// * 23.将指定区域的数据黑白反色
|
|
750
|
+
// */
|
|
751
|
+
//- (void)PosaddReverse:(int)x y:(int)y xwidth:(int)xwidth yheight:(int)yheight {
|
|
752
|
+
// [_manager PosaddReverse:x y:y xwidth:xwidth yheight:yheight];
|
|
753
|
+
//}
|
|
754
|
+
///**
|
|
755
|
+
// * 24.在打印缓冲区中绘制文字
|
|
756
|
+
// */
|
|
757
|
+
//- (void)PosaddText:(int)x y:(int)y font:(NSString *)font rotation:(int)rotation x_mul:(int)xmul y_mul:(int)ymul content:(NSString *)content {
|
|
758
|
+
// [_manager PosaddText:x y:y font:font rotation:rotation x_mul:xmul y_mul:ymul content:content];
|
|
759
|
+
//}
|
|
760
|
+
///**
|
|
761
|
+
// * 25.在打印缓冲区中绘制文字
|
|
762
|
+
// */
|
|
763
|
+
//- (void)PosaddQRCode:(int)x y:(int)y level:(int)level cellWidth:(int)cellWidth rotation:(int)totation data:(NSString *)dataStr {
|
|
764
|
+
// [_manager PosaddQRCode:x y:y level:level cellWidth:cellWidth rotation:totation data:dataStr];
|
|
765
|
+
//}
|
|
766
|
+
///**
|
|
767
|
+
// * 26.设置剥离功能是否开启
|
|
768
|
+
// */
|
|
769
|
+
//- (void)PosaddPeel:(NSString *)enable {
|
|
770
|
+
// [_manager PosaddPeel:enable];
|
|
771
|
+
//}
|
|
772
|
+
///**
|
|
773
|
+
// * 27.设置撕离功能是否开启
|
|
774
|
+
// */
|
|
775
|
+
//- (void)PosaddTear:(NSString *)enable {
|
|
776
|
+
// [_manager PosaddTear:enable];
|
|
777
|
+
//}
|
|
778
|
+
///**
|
|
779
|
+
// * 28.设置切刀功能是否开启
|
|
780
|
+
// */
|
|
781
|
+
//- (void)PosaddCut:(NSString *)enable {
|
|
782
|
+
// [_manager PosaddCut:enable];
|
|
783
|
+
//}
|
|
784
|
+
///**
|
|
785
|
+
// * 29.设置打印机出错时,是否打印上一张内容
|
|
786
|
+
// */
|
|
787
|
+
//- (void)PosaddReprint:(NSString *)enable {
|
|
788
|
+
// [_manager PosaddReprint:enable];
|
|
789
|
+
//}
|
|
790
|
+
///**
|
|
791
|
+
// * 30.设置是否按走纸键打印最近一张标签
|
|
792
|
+
// */
|
|
793
|
+
//- (void)PosaddPrintKeyEnable:(NSString *)enable {
|
|
794
|
+
// [_manager PosaddPrintKeyEnable:enable];
|
|
795
|
+
//}
|
|
796
|
+
///**
|
|
797
|
+
// * 31.设置按走纸键打印最近一张标签的份数
|
|
798
|
+
// */
|
|
799
|
+
//- (void)PosaddPrintKeyNum:(int)m {
|
|
800
|
+
// [_manager PosaddPrintKeyNum:m];
|
|
801
|
+
//}
|
|
802
|
+
|
|
803
|
+
-(NSArray*)POSGetBuffer
|
|
804
|
+
{
|
|
805
|
+
return [_manager GetBuffer];
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
-(void)POSClearBuffer
|
|
809
|
+
{
|
|
810
|
+
[_manager ClearBuffer];
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
-(void)sendCommand:(NSData *)data
|
|
814
|
+
{
|
|
815
|
+
[_manager sendCommand:data];
|
|
816
|
+
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
-(void)POSSendCommandBuffer
|
|
820
|
+
{
|
|
821
|
+
[_manager SendCommandBuffer];
|
|
822
|
+
[self POSClearBuffer];
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
- (void)POSSetCommandMode:(BOOL)Mode{
|
|
827
|
+
[_manager PosSetCommandMode:Mode];
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
-(void)POSSetDataCodingType:(NSStringEncoding) codingType
|
|
831
|
+
{
|
|
832
|
+
encodingType=codingType;
|
|
833
|
+
}
|
|
834
|
+
@end
|