diff options
| author | Tim Redfern <tim@Adaptics.local> | 2013-09-18 17:28:16 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@Adaptics.local> | 2013-09-18 17:28:16 +0100 |
| commit | 31b03c8a1234b966ec56f5da316d93a9259c5d71 (patch) | |
| tree | 765de64c5cb766703beac87bdccf61a739cd3be1 /sampleclient/ConnectionController.h | |
initial commit
Diffstat (limited to 'sampleclient/ConnectionController.h')
| -rwxr-xr-x | sampleclient/ConnectionController.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sampleclient/ConnectionController.h b/sampleclient/ConnectionController.h new file mode 100755 index 0000000..d8a7755 --- /dev/null +++ b/sampleclient/ConnectionController.h @@ -0,0 +1,32 @@ +// +// ConnectionController.h +// sampleterm +// +// Created by Michael Testa on 11/1/12. +// Copyright (c) Blueradios, Inc. All rights reserved. +// + +#import <UIKit/UIKit.h> +#import "AppDelegate.h" +#import "Waydio.h" + +@interface ConnectionController : UIViewController <UITextFieldDelegate, WaydioDelegate, CBCentralManagerDelegate> { + UITextField *_inputText; + NSMutableString *_outputText; //used as string data for textView to make string concatenations more efficient + NSArray *_allCommands; //All commands sent by the get settings button + NSMutableArray *_commandQueue; //An array of commands queued for sending +} + +@property (strong, nonatomic) Waydio *waydioObject; +@property (strong, nonatomic) IBOutlet UITextView *textView; + +@property (strong, nonatomic) IBOutlet UIButton *disconnectButton; + +@property (weak, nonatomic) IBOutlet UILabel *weightLabel; +@property (weak, nonatomic) IBOutlet UILabel *weightReading; +@property (weak, nonatomic) IBOutlet UILabel *batteryLabel; +@property (weak, nonatomic) IBOutlet UILabel *batteryReading; + +@property (weak, nonatomic) IBOutlet UILabel *buttonReading; + +@end |
