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

#import "JDViewController.h"
#import "CustomCheckBox.h"

@class ItemModel;
@class CustomButton;

@interface PredefinedDeviceViewController: JDViewController


#pragma mark - Properties
@property (assign, nonatomic) BOOL isCustomCreation;
@property (strong, nonatomic) ItemModel *tmpItem;
@property (strong, nonatomic) NSString *predRuleId;
@property (strong, nonatomic) NSString *predSceneId;

@property (weak, nonatomic) IBOutlet UITableView *tableView;
@property (weak, nonatomic) IBOutlet CustomButton *btnSelect;
@property (weak, nonatomic) IBOutlet CustomButton *btnCancel;

#pragma mark - Instance Methods
- (IBAction)btnSelectTouched:(id)sender;
- (IBAction)btnCancelTouched:(id)sender;

@end

@class CustomImageView;
@class CustomLabel;
@class CustomRadioButton;

@interface RulesDeviceTitleViewCell : UITableViewCell

@property (weak, nonatomic) IBOutlet CustomButton *btnActionTitle;
@property (weak, nonatomic) IBOutlet CustomLabel *lblSelectCount;

@end

@interface RulesDeviceTableViewCell : UITableViewCell

@property (weak, nonatomic) IBOutlet CustomImageView *imgvItem;
@property (weak, nonatomic) IBOutlet CustomLabel *lblItemName;
@property (weak, nonatomic) IBOutlet CustomLabel *lblSubItems;
@property (weak, nonatomic) IBOutlet UIView *controlContainerView;
@property (weak, nonatomic) IBOutlet CustomRadioButton *rdoSelect;
@property (weak, nonatomic) IBOutlet CustomCheckBox *chkSelect;

@end

