TriggerSelectPopupView.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // TriggerSelectPopupView.h
  3. // kneet2
  4. //
  5. // Created by Jason Lee on 11/23/15.
  6. // Copyright (c) 2015 ntels. All rights reserved.
  7. //
  8. @import UIKit;
  9. #import "CustomAlertView.h"
  10. #import "JDViewController.h"
  11. @class CustomButton;
  12. @class CustomLabel;
  13. @class CustomLabelButton;
  14. @interface TriggerSelectPopupView : CustomAlertView
  15. @property (weak, nonatomic) NSMutableArray<ItemModel> *refTriggers;
  16. @property (weak, nonatomic) NSMutableArray<ItemModel> *refDevices;
  17. @property (weak, nonatomic) NSMutableArray<ItemModel> *refConditions;
  18. @property (weak, nonatomic, readonly) NSArray<ItemModel> *selectedItems;
  19. @property (strong, nonatomic) NSString *typeCode;
  20. //properties
  21. @property (weak, nonatomic) IBOutlet CustomLabelButton *lblTimer;
  22. @property (weak, nonatomic) IBOutlet CustomLabelButton *lblDaylight;
  23. @property (weak, nonatomic) IBOutlet CustomLabelButton *lblHeat;
  24. @property (weak, nonatomic) IBOutlet CustomLabelButton *lblDevice;
  25. //methods
  26. - (id)initFromNib;
  27. - (IBAction)btnTimerTouched:(id)sender;
  28. - (IBAction)btnDaylightTouched:(id)sender;
  29. - (IBAction)btnHeatTouched:(id)sender;
  30. - (IBAction)btnDeviceTouched:(id)sender;
  31. @end