#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface TestMainViewController : UIViewController<UITableViewDelegate, UITableViewDataSource>

@end

@interface TestMainViewController(PosPrinter)
-(void) openPosPrinter:(NSIndexPath *)indexPath;
-(void) closePosPrinter:(NSIndexPath *)indexPath;
-(void) printWithLineMode;
-(void) printWithPageMode;
-(void) getCurrentPosPrinterStatus:(NSIndexPath *)indexPath;
-(void) updatePosPrinterStatusText:(NSIndexPath *)indexPath status:(NSInteger)status;
@end

@interface TestMainViewController(LabelPrinter)
-(void) openLabelPrinter:(NSIndexPath *)indexPath;
-(void) closeLabelPrinter:(NSIndexPath *)indexPath;
-(void) printLabel;
-(void) getCurrentLabelPrinterStatus:(NSIndexPath *)indexPath;
@end

@interface TestMainViewController (BarcodeScanner)
-(void) openBarcodeScanner:(NSIndexPath *)indexPath;
-(void) closeBarcodeScanner:(NSIndexPath *)indexPath;
@end

@interface TestMainViewController (UsbSerial)
-(void) openTTYUSBDevice:(NSIndexPath *)indexPath;
-(void) closeTTYUSBDevice:(NSIndexPath *)indexPath;
@end

@interface TestMainViewController (BgateConfig)
-(void) getSerialCommConfiguration;
-(void) setSerialCommConfiguration;
@end

@interface TestMainViewController (CustomerDisplay)
-(void) openCustomerDisplay:(NSIndexPath *)indexPath;
-(void) closeCustomerDisplay:(NSIndexPath *)indexPath;
-(void) textDisplay;
-(void) clearDisplay;
-(void) storeAndDisplayImage;
@end

NS_ASSUME_NONNULL_END
