ThingsViewController.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. //
  2. // ThingsViewController.h
  3. // kneet
  4. //
  5. // Created by Jason Lee on 3/10/15.
  6. // Copyright (c) 2015 ntels. All rights reserved.
  7. //
  8. #import "JDViewController.h"
  9. @class DeviceModel;
  10. @class CustomLabel;
  11. @interface ThingsViewController : JDViewController
  12. #pragma mark - Properties
  13. @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
  14. @property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
  15. @property (weak, nonatomic) IBOutlet UIImageView *imgvHubAlert;
  16. @property (weak, nonatomic) IBOutlet CustomButton *btnOption;
  17. //add hub
  18. @property (weak, nonatomic) IBOutlet UIView *addHubContainerView;
  19. @property (weak, nonatomic) IBOutlet UIImageView *imgvConnectHub;
  20. @property (weak, nonatomic) IBOutlet CustomLabel *lblConnectHub;
  21. @property (weak, nonatomic) IBOutlet CustomLabel *lblSimpleMemberInfo;
  22. @property (weak, nonatomic) IBOutlet CustomLabel *lblLeaveAccount;
  23. #pragma mark - Instance Methods
  24. - (void)prepareViewDidLoad;
  25. - (void)updateHomeHubStatusToDevices;
  26. - (IBAction)btnOptionTouched:(id)sender;
  27. - (void)requestPollingCommandStatusOfDeviceInBackground:(DeviceModel *)device;
  28. - (void)releaseDevicesTimer;
  29. @end
  30. @class CustomButton;
  31. @class CustomLabel;
  32. @class CustomImageView;
  33. @class CustomCheckBox;
  34. @interface ThingsCollectionViewCell : UICollectionViewCell
  35. @property (weak, nonatomic) IBOutlet CustomButton *btnDevice;
  36. @property (weak, nonatomic) IBOutlet CustomLabel *lblDeviceName;
  37. @property (weak, nonatomic) IBOutlet CustomLabel *lblDeviceStatus;
  38. @property (weak, nonatomic) IBOutlet UIView *controlContainer;
  39. @property (weak, nonatomic) IBOutlet UIView *pcontainerView;
  40. @property (weak, nonatomic) IBOutlet UIImageView *imgvProgress;
  41. @property (weak, nonatomic) IBOutlet UIView *vline;
  42. @end