1 | |
---|
2 | |
---|
3 | |
---|
4 | |
---|
5 | |
---|
6 | |
---|
7 | |
---|
8 | |
---|
9 | #import <UIKit/UIKit.h> |
---|
10 | #import <AVFoundation/AVFoundation.h> |
---|
11 | #import "../SignalConverterDelegate.h" |
---|
12 | |
---|
13 | @interface FlightViewController : UIViewController <SignalConverterDelegate> { |
---|
14 | AVAudioPlayer *audioPlayer; |
---|
15 | } |
---|
16 | |
---|
17 | @property (nonatomic, retain) IBOutlet UILabel *status; |
---|
18 | @property (nonatomic, retain) IBOutlet UIProgressView *attention; |
---|
19 | @property (nonatomic, retain) IBOutlet UILabel *attentionPercent; |
---|
20 | @property (nonatomic, retain) IBOutlet UIProgressView *meditation; |
---|
21 | @property (nonatomic, retain) IBOutlet UILabel *meditationPercent; |
---|
22 | @property (nonatomic, retain) IBOutlet UIProgressView *signal; |
---|
23 | @property (nonatomic, retain) IBOutlet UILabel *signalPercent; |
---|
24 | @property (nonatomic, retain) IBOutlet UIProgressView *power; |
---|
25 | @property (nonatomic, retain) IBOutlet UILabel *powerPercent; |
---|
26 | @property (nonatomic, retain) IBOutlet UISlider *attentionThreshold; |
---|
27 | @property (nonatomic, retain) IBOutlet UISlider *meditationThreshold; |
---|
28 | @property (nonatomic, retain) IBOutlet UIBarButtonItem *connectButton; |
---|
29 | @property (nonatomic, retain) IBOutlet UIBarButtonItem *testButton; |
---|
30 | @property (nonatomic, retain) IBOutlet UIImageView *statusImage; |
---|
31 | |
---|
32 | - (IBAction) connectButtonPressed:(id) sender; |
---|
33 | - (IBAction) testButtonPressed:(id) sender; |
---|
34 | |
---|
35 | @end |
---|