BleControl.h 927バイト
//
//  BleControl.h
//  jacket_ios
//
//  Created by ドラッサル 亜嵐 on 2016/04/27.
//  Copyright © 2016年 ドラッサル 亜嵐. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BleProtocol.h"
#import "BLE.h"

@interface BleControl : UIViewController <BLEProtocolDelegate> {
    IBOutlet UILabel *currentTime;
    IBOutlet UILabel *currentState;
    IBOutlet UILabel *currentUsetime;
    IBOutlet UILabel *currentWalking;
    IBOutlet UILabel *currentSleep;
    IBOutlet UILabel *currentWake;
    bool stateCurrentWalking;
}

@property (strong, nonatomic) BLE *ble;
@property (strong, nonatomic) BleProtocol *protocol;

- (IBAction)btnEditState:(id)sender;
- (IBAction)btnEditTime:(id)sender;
- (IBAction)btnEditSleep:(id)sender;
- (IBAction)btnEditWake:(id)sender;
- (IBAction)btnEditWalking:(id)sender;
- (IBAction)btnResetUsetime:(id)sender;
- (IBAction)btnUsetime:(id)sender;
- (void)getNextSlot;

@end