//
//  ThingsDetailViewController.h
//  kneet
//
//  Created by Jason Lee on 3/16/15.
//  Copyright (c) 2015 ntels. All rights reserved.
//

#import "JDViewController.h"

@class DeviceModel;

@interface ThingsDetailViewController : JDViewController


#pragma mark - Properties
@property (weak, nonatomic) DeviceModel *refDevice;

@property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
@property (weak, nonatomic) IBOutlet CustomTableView *tableView;


#pragma mark - Instance Methods
- (void)prepareViewDidLoad;
- (IBAction)btnOptionTouched:(id)sender;
- (IBAction)btnCloseTouched:(id)sender;

@end


@class CustomLabel;
@class CustomImageView;
@class CustomTextField2;

@interface ThingsDetailTitleTableViewCell : KNTableViewCell2
@property (weak, nonatomic) IBOutlet CustomLabel *lblDeviceName;
@property (weak, nonatomic) IBOutlet CustomImageView *imgvDevice;

@end

@interface ThingsDetailControlTableViewCell : KNTableViewCell2
@property (weak, nonatomic) IBOutlet UIScrollView *controlContainer;
@property (weak, nonatomic) IBOutlet UIPageControl *pageControl;

@end

@interface ThingsDetailOptionTableViewCell : KNTableViewCell2

@property (weak, nonatomic) IBOutlet CustomLabel *lblNodeName;
@property (weak, nonatomic) IBOutlet CustomLabel *lblNodeValue;

@end