PredefinedDeviceViewController.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. //
  2. // RulesRegisterDeviceViewController.h
  3. // kneet
  4. //
  5. // Created by Jason Lee on 3/20/15.
  6. // Copyright (c) 2015 ntels. All rights reserved.
  7. //
  8. #import "JDViewController.h"
  9. #import "CustomCheckBox.h"
  10. @class ItemModel;
  11. @class CustomButton;
  12. @interface PredefinedDeviceViewController: JDViewController
  13. #pragma mark - Properties
  14. @property (assign, nonatomic) BOOL isCustomCreation;
  15. @property (strong, nonatomic) ItemModel *tmpItem;
  16. @property (strong, nonatomic) NSString *predRuleId;
  17. @property (strong, nonatomic) NSString *predSceneId;
  18. @property (weak, nonatomic) IBOutlet UITableView *tableView;
  19. @property (weak, nonatomic) IBOutlet CustomButton *btnSelect;
  20. @property (weak, nonatomic) IBOutlet CustomButton *btnCancel;
  21. #pragma mark - Instance Methods
  22. - (IBAction)btnSelectTouched:(id)sender;
  23. - (IBAction)btnCancelTouched:(id)sender;
  24. @end
  25. @class CustomImageView;
  26. @class CustomLabel;
  27. @class CustomRadioButton;
  28. @interface RulesDeviceTitleViewCell : UITableViewCell
  29. @property (weak, nonatomic) IBOutlet CustomButton *btnActionTitle;
  30. @property (weak, nonatomic) IBOutlet CustomLabel *lblSelectCount;
  31. @end
  32. @interface RulesDeviceTableViewCell : UITableViewCell
  33. @property (weak, nonatomic) IBOutlet CustomImageView *imgvItem;
  34. @property (weak, nonatomic) IBOutlet CustomLabel *lblItemName;
  35. @property (weak, nonatomic) IBOutlet CustomLabel *lblSubItems;
  36. @property (weak, nonatomic) IBOutlet UIView *controlContainerView;
  37. @property (weak, nonatomic) IBOutlet CustomRadioButton *rdoSelect;
  38. @property (weak, nonatomic) IBOutlet CustomCheckBox *chkSelect;
  39. @end