MenuTableViewController.h 1.07 KB
//
//  MenuTableViewController.h
//  DUREX Vendor Control
//
//  Created by Imanol Barba on 5/23/14.
//  Copyright (c) 2014 Emmoco. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EMFramework.h"
#import "CommunicationProtocol.h"

#define num(x) [NSNumber numberWithUnsignedInt:x]

#define MENU_ELEMENTS                   @"Maintenance",@"Basic Configuration",@"Sending a Report"
#define MENU_CELLS_PER_SECTION          num(3)

#define MAINTENANCE_ELEMENTS            @"General Status",@"Sensor Report"
#define MAINTENANCE_CELLS_PER_SECTION   num(2)

#define STATUS_ELEMENTS                 @"Time",@"20€ Notes",@"10€ Notes",@"5€ Notes",@"2€ Coins",@"1€ Coins",@"50c Coins",@"CPP_TABLE",@"1€ Change",@"50c Change"
#define STATUS_CELLS_PER_SECTION        num(10)

#define CELL_IDENTIFIERS                @"MenuCell",@"MaintenanceCell",@"ConfigCell",@"ReportCell"

#define NUM_CHANNELS                    8

enum {
    MENU = 0,
    MAINTENANCE,
    STATUS,
    BASIC_CONFIGURATION,
    REPORT
} navigationLevel;

@interface MenuTableViewController : UITableViewController

@end