//
//  DeviceSelectInfoDB.h
//  ATIDDemo
//
//  Created by ATID 
//  Copyright © 2016년 Alluser.net Corp. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DeviceSelectInfo : NSObject <NSCoding>

@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSString *address;

+ (id)itemWith:(NSString *)name address:(NSString *)address;

@end


@interface DeviceSelectInfoDB : NSObject
{
    DeviceSelectInfo * _info;
    NSMutableArray *aryDevices;
    NSMutableDictionary *mapDevices;
}

- (void) SaveBTInfo:(NSString *)name macaddress:(NSString*)address;
- (void) DeleteBTInfo:(NSString *)name macaddress:(NSString*)address;
- (NSString *)getBTInfoAddress;
- (NSString *)getBTInfoname;
- (void) SaveBTLEInfo:(NSString *)name;
- (void) initArray;
- (NSMutableArray *)getArrayData ;
@end
