HomeHubViewController.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. //
  2. // HomeHubViewController.h
  3. // kneet2
  4. //
  5. // Created by Jason Lee on 10/28/15.
  6. // Copyright © 2015 ntels. All rights reserved.
  7. //
  8. #import "JDViewController.h"
  9. @class CustomLabel;
  10. @class CustomImageView;
  11. @class CustomButton;
  12. @interface HomeHubViewController : JDViewController <BLEServiceHandlerDelegate>
  13. @property (weak, nonatomic) DeviceModel *selectHub;
  14. #pragma mark - Properties
  15. @property (weak, nonatomic) IBOutlet CustomTableView *tableView;
  16. @property (weak, nonatomic) IBOutlet CustomButton *btnEditTitle; // Head Title 명 수정 버튼
  17. @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle; // Head Title 명
  18. @property (weak, nonatomic) IBOutlet CustomButton *btnClose;
  19. #pragma mark - Instance Methods
  20. - (void)updateHomeHubStatus;
  21. - (IBAction)btnCloseTouched:(id)sender;
  22. @end
  23. @interface HomeHubTableViewCell : KNTableViewCell
  24. @property (weak, nonatomic) IBOutlet CustomLabel *lblNetworkStatus; // 네트워크 상태
  25. @property (weak, nonatomic) IBOutlet CustomLabel *lblBrokenTime; // 네트워크 끊긴 시간
  26. @property (weak, nonatomic) IBOutlet UIImageView *imgvStatus; // 네트워크 단절 이미지
  27. @property (weak, nonatomic) IBOutlet CustomButton *btnSet; // 설정 버튼
  28. @property (weak, nonatomic) IBOutlet CustomLabel *lblDeviceStatus; // 장치 연결 상태
  29. @end
  30. @interface HomeHubRegistTableViewCell : KNTableViewCell
  31. @property (weak, nonatomic) IBOutlet CustomLabel *lblDate;
  32. @property (weak, nonatomic) IBOutlet CustomLabel *lblFirmCurrentVer; // 펌웨어 현재 버전
  33. @property (weak, nonatomic) IBOutlet CustomLabel *lblFirmNewestVer; // 펌웨어 최신 버전
  34. @property (weak, nonatomic) IBOutlet CustomLabel *lblSoftCurrentVer; // 소프트웨어 현재 버전
  35. @property (weak, nonatomic) IBOutlet CustomLabel *lblSoftNewestVer; // 소프트웨어 최신 버전
  36. @property (weak, nonatomic) IBOutlet CustomButton *btnFirmUpdate;
  37. @property (weak, nonatomic) IBOutlet CustomButton *btnSoftUpdate;
  38. @end
  39. @interface HomeHubInfoTableViewCell : KNTableViewCell
  40. @property (weak, nonatomic) IBOutlet CustomLabel *lblModelName; // 모델명
  41. @property (weak, nonatomic) IBOutlet CustomLabel *lblSerialNum; // 시리얼 번호
  42. @end