//
//  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"

#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         selectedSearchPrinter;

@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 *Cut;
@property (retain, nonatomic) IBOutlet UIButton *QRPrint;
@property (retain, nonatomic) IBOutlet UIButton *FeedLine;
@property (retain, nonatomic) IBOutlet UIButton *SearchPrinterButton;
@property (retain, nonatomic) IBOutlet UIButton *ImageRAMorFlash;
@property (retain, nonatomic) IBOutlet UIButton *QueryButton;
@property (retain, nonatomic) IBOutlet UIButton *TextRasterPrintButton;
@property (retain, nonatomic) IBOutlet UIButton *UserDefinedCharacterButton;
@property (retain, nonatomic) IBOutlet UIButton *DownloadFileButton;


@end
