From 31b03c8a1234b966ec56f5da316d93a9259c5d71 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 18 Sep 2013 17:28:16 +0100 Subject: initial commit --- sampleclient/ConnectionController.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 sampleclient/ConnectionController.h (limited to 'sampleclient/ConnectionController.h') 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 +#import "AppDelegate.h" +#import "Waydio.h" + +@interface ConnectionController : UIViewController { + 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 -- cgit v1.2.3