//
//  POSSDKViewController.h
//  POSSDKFORIOS2013
//
//  Created by liangchenying on 12-4-6.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PortIO.h"
#import "WIFIPort.h"
#import "POSSDK.h"
#import "BlueToothPort.h"
#import "BluetoothMFI.h"

#define ButtonEnableAndAlpha(button, i, j)	[button setEnabled:i];[button setAlpha:j];

@interface POSSDKViewController : UIViewController<UITextFieldDelegate>

@property (nonatomic, retain) NSMutableArray    *array_SearchPrinter;
@property (nonatomic, assign) NSInteger         selectedPortType;
@property (nonatomic, assign) NSInteger         selectedSearchPrinter;
@property (nonatomic, assign) NSInteger         selectedProtocolIndex;
@property (nonatomic, retain) NSMutableArray    *array_DeviceList;
@property (nonatomic, assign) NSInteger         selectedBlueToothDevice;


@property (retain, nonatomic) IBOutlet UIButton *ConnectPrinter;
@property (retain, nonatomic) IBOutlet UIButton *TextPrint;
@property (retain, nonatomic) IBOutlet UIButton *BarcodePrint;
@property (retain, nonatomic) IBOutlet UIButton *PDF417Print;
@property (retain, nonatomic) IBOutlet UITextField *IPAddr;
@property (retain, nonatomic) IBOutlet UIButton *MaxicodePrint;
@property (retain, nonatomic) IBOutlet UIButton *GS1DataBarPrint;
@property (retain, nonatomic) IBOutlet UIButton *standardModePrint;
@property (retain, nonatomic) IBOutlet UIButton *pageModePrint;
@property (retain, nonatomic) IBOutlet UIButton *RasterImageprint;
@property (retain, nonatomic) IBOutlet UIButton *ImagePrint;
@property (retain, nonatomic) IBOutlet UIButton *QRPrint;
@property (retain, nonatomic) IBOutlet UIButton *SearchPrinterButton;
@property (retain, nonatomic) IBOutlet UIButton *ImageRAMorFlash;
@property (retain, nonatomic) IBOutlet UIButton *TextRasterPrintButton;
@property (retain, nonatomic) IBOutlet UIButton *UserDefinedCharacterButton;
@property (retain, nonatomic) IBOutlet UIButton *DownloadFileButton;
@property (retain, nonatomic) IBOutlet UISegmentedControl *selectPortTypeSegmented;
@property (retain, nonatomic) IBOutlet UIButton *ToCustomButton;

@end
