// // ThingsViewController.h // kneet // // Created by Jason Lee on 3/10/15. // Copyright (c) 2015 ntels. All rights reserved. // #import "JDViewController.h" @class DeviceModel; @class CustomLabel; @interface ThingsViewController : JDViewController #pragma mark - Properties @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle; @property (weak, nonatomic) IBOutlet UICollectionView *collectionView; @property (weak, nonatomic) IBOutlet UIImageView *imgvHubAlert; @property (weak, nonatomic) IBOutlet CustomButton *btnOption; //add hub @property (weak, nonatomic) IBOutlet UIView *addHubContainerView; @property (weak, nonatomic) IBOutlet UIImageView *imgvConnectHub; @property (weak, nonatomic) IBOutlet CustomLabel *lblConnectHub; @property (weak, nonatomic) IBOutlet CustomLabel *lblSimpleMemberInfo; @property (weak, nonatomic) IBOutlet CustomLabel *lblLeaveAccount; #pragma mark - Instance Methods - (void)prepareViewDidLoad; - (void)updateHomeHubStatusToDevices; - (IBAction)btnOptionTouched:(id)sender; - (void)requestPollingCommandStatusOfDeviceInBackground:(DeviceModel *)device; - (void)releaseDevicesTimer; @end @class CustomButton; @class CustomLabel; @class CustomImageView; @class CustomCheckBox; @interface ThingsCollectionViewCell : UICollectionViewCell @property (weak, nonatomic) IBOutlet CustomButton *btnDevice; @property (weak, nonatomic) IBOutlet CustomLabel *lblDeviceName; @property (weak, nonatomic) IBOutlet CustomLabel *lblDeviceStatus; @property (weak, nonatomic) IBOutlet UIView *controlContainer; @property (weak, nonatomic) IBOutlet UIView *pcontainerView; @property (weak, nonatomic) IBOutlet UIImageView *imgvProgress; @property (weak, nonatomic) IBOutlet UIView *vline; @end