CommandClassControlDetailView.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. //
  2. // CommandClassControlDetailView.h
  3. // kneet
  4. //
  5. // Created by Jason Lee on 4/29/15.
  6. // Copyright (c) 2015 ntels. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "CommandClassControlView.h"
  10. @class DeviceModel;
  11. @class CustomImageView;
  12. @interface CommandClassControlDetailView : CommandClassControlView {
  13. }
  14. @property (assign, nonatomic) BOOL isMendatoryNode;
  15. @end
  16. @class CustomSwitch;
  17. @class CustomButton;
  18. @interface CommandClassSwitchDetailView : CommandClassSwitchView {
  19. }
  20. @property (weak, nonatomic) IBOutlet CustomButton *btnNode;
  21. @property (weak, nonatomic) IBOutlet CustomButton *btnOn;
  22. @property (weak, nonatomic) IBOutlet CustomButton *btnOff;
  23. @property (weak, nonatomic) IBOutlet UIView *pcontainer;
  24. @property (weak, nonatomic) IBOutlet UIImageView *imgvProgress;
  25. - (IBAction)btnOnTouched:(id)sender;
  26. - (IBAction)btnOffTouched:(id)sender;
  27. @end
  28. @interface CommandClassValveDetailView : CommandClassValveView
  29. @property (weak, nonatomic) IBOutlet CustomButton *btnNode;
  30. @property (weak, nonatomic) IBOutlet CustomButton *btnClose;
  31. @property (weak, nonatomic) IBOutlet UIView *pcontainer;
  32. @property (weak, nonatomic) IBOutlet UIImageView *imgvProgress;
  33. - (IBAction)btnCloseTouched:(id)sender;
  34. @end
  35. #pragma mark - Sensors
  36. @class CustomLabel;
  37. @interface CommandClassSensorBinaryDetailView : CommandClassSensorBinaryView
  38. @property (weak, nonatomic) IBOutlet CustomButton *btnNode;
  39. @property (weak, nonatomic) IBOutlet CustomLabel *lblNodeName;
  40. @end
  41. @interface CommandClassSensorMultiLevelDetailView : CommandClassSensorMultiLevelView
  42. @property (weak, nonatomic) IBOutlet CustomButton *btnNode;
  43. @property (weak, nonatomic) IBOutlet CustomLabel *lblCondition;
  44. @property (weak, nonatomic) IBOutlet CustomLabel *lblNodeName;
  45. @end