//
//  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 (strong, nonatomic) DeviceModel *device;

@property (weak, nonatomic) IBOutlet UITableView *tableView;
@property (weak, nonatomic) IBOutlet UIView *containerView;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintContainerHeight;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintContainerBottom;

#pragma mark - Instance Methods
- (void)prepareViewDidLoad;


@end


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

@interface ThingsDetailImageViewCell : UITableViewCell

@property (weak, nonatomic) IBOutlet CustomImageView *imgvDevice;
@property (weak, nonatomic) IBOutlet CustomLabel *lblDeviceName;
@property (weak, nonatomic) IBOutlet CustomTextField2 *txtDeviceName;

@end



@class CustomLabel;
@class CommandClassControlView;

@interface ThingsDetailControlViewCell : UITableViewCell

@property (weak, nonatomic) IBOutlet CustomLabel *lblNodeTitle;
@property (weak, nonatomic) IBOutlet UIView *controlContainerView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintContainerTop;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintContainerHeight;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintNodeTitleTop;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintNodeTitleLeft;

@end
