//
//  DeviceSelectPopupView.h
//  kneet2
//
//  Created by Jason Lee on 10/12/15.
//  Copyright (c) 2015 ntels. All rights reserved.
//

@import UIKit;
#import "CustomAlertView.h"
#import "JDViewController.h"

@class CustomImageView;
@class CustomCheckBox;
@class CustomRadioButton;

@interface DeviceSelectPopupView : CustomAlertView

@property (weak, nonatomic) NSMutableArray<ItemModel> *refDevices;
@property (weak, nonatomic, readonly) NSArray<ItemModel> *selectedDevices;

@property (strong, nonatomic) NSString *typeCode;

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


- (id)initFromNib;
- (id)initFromNibWithRefDevices:(NSMutableArray<ItemModel> *)refDevices
                       typeCode:(NSString*)typeCode;
@end


@interface DeviceSelectPopupTableViewCell : UITableViewCell

@property (weak, nonatomic) IBOutlet CustomImageView *imgvDevice;
@property (weak, nonatomic) IBOutlet CustomLabel *lblDeviceName;
@property (weak, nonatomic) IBOutlet CustomCheckBox *chkSelect;
@property (weak, nonatomic) IBOutlet CustomRadioButton *rdoSelect;

@end
