//
//  TriggerSelectPopupView.h
//  kneet2
//
//  Created by Jason Lee on 11/23/15.
//  Copyright (c) 2015 ntels. All rights reserved.
//

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

@class CustomButton;
@class CustomLabel;

@interface TriggerSelectPopupView : CustomAlertView

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

@property (strong, nonatomic) NSString *typeCode;

//properties
@property (weak, nonatomic) IBOutlet CustomLabel *lblTimer;
@property (weak, nonatomic) IBOutlet CustomLabel *lblSun;
@property (weak, nonatomic) IBOutlet CustomLabel *lblHeat;
@property (weak, nonatomic) IBOutlet CustomLabel *lblDevice;

//methods
- (id)initFromNib;

- (IBAction)btnTimerTouched:(id)sender;
- (IBAction)btnSunTouched:(id)sender;
- (IBAction)btnHeatTouched:(id)sender;
- (IBAction)btnDeviceTouched:(id)sender;


@end
