//
//  HomeModeSettingsViewController.h
//  kneet2
//
//  Created by Jason Lee on 11/3/15.
//  Copyright © 2015 ntels. All rights reserved.
//

#import "JDViewController.h"

@class ModeModel;
@class CustomImageView;
@class CustomLabel;

@interface HomeModeSettingsViewController : JDViewController


#pragma mark - Properties
@property (weak, nonatomic) ModeModel *mode;
@property (strong, nonatomic) NSMutableArray<ItemModel> *items;

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


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

@end


@interface HomeSettingsTitleTableViewCell : KNTableViewCell

@property (weak, nonatomic) IBOutlet CustomImageView *imgvMode;
@property (weak, nonatomic) IBOutlet CustomLabel *lblModeTitle;

@end

@interface HomeSettingsDeviceTableViewCell : KNTableViewCell

@property (weak, nonatomic) IBOutlet CustomImageView *imgvDevice;
@property (weak, nonatomic) IBOutlet CustomLabel *lblDeviceName;
@property (weak, nonatomic) IBOutlet CustomLabel *lblNodeName;
@property (weak, nonatomic) IBOutlet CustomLabel *lblActionName;

@property (weak, nonatomic) IBOutlet CustomButton *btnDelete;

@end

@interface HomeSettingsAppendTableViewCell : KNTableViewCell

@property (weak, nonatomic) IBOutlet CustomButton *btnAppend;

@end
