|
1
2
3
4
5
6
7
8
9
10
11
|
//
// 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"
|
|
12
|
#import "Stack.h"
|
|
13
14
15
16
17
|
#define num(x) [NSNumber numberWithUnsignedInt:x]
#define MENU_ELEMENTS @"Maintenance",@"Basic Configuration",@"Sending a Report"
#define MENU_CELLS_PER_SECTION num(3)
|
|
18
|
#define MENU_HEADERS nil
|
|
19
|
|
|
20
|
#define MAINTENANCE_ELEMENTS @"Time",@"20€ Notes",@"10€ Notes",@"5€ Notes",@"2€ Coins",@"1€ Coins",@"50c Coins",@"CPP_TABLE",@"1€ Change",@"50c Change"
|
|
21
22
|
#define MAINTENANCE_CELLS_PER_SECTION num(10),num(0)
#define MAINTENANCE_HEADERS @"Status",@"Sensors"
|
|
23
24
25
26
27
28
29
30
31
|
#define CELL_IDENTIFIERS @"MenuCell",@"MaintenanceCell",@"ConfigCell",@"ReportCell"
#define NUM_CHANNELS 8
enum {
MENU = 0,
MAINTENANCE,
BASIC_CONFIGURATION,
|
|
32
|
REPORT,
|
|
33
34
35
36
|
} navigationLevel;
@interface MenuTableViewController : UITableViewController
|
|
37
38
|
@property (strong,nonatomic) Stack *parentLayout;
|
|
39
40
|
- (void) navBack;
|
|
41
|
@end
|