//
|
// MyDeviceStatusView.h
|
// GoldRich
|
//
|
// Created by WindShan on 2017/2/13.
|
// Copyright © 2017年 WindShan. All rights reserved.
|
//
|
|
#import <UIKit/UIKit.h>
|
#import "MyDeviceStatus.h"
|
#import "GloriaLabel.h"
|
|
@protocol SelectedDelegate <NSObject>
|
|
@optional
|
|
- (void)didSelectedSection:(MyDeviceStatus*)model;
|
|
@end
|
|
@protocol SelDetailDelegate <NSObject>
|
|
@optional
|
|
- (void)didDetailSection:(MyDeviceStatus*)model;
|
|
@end
|
|
@interface MyDeviceStatusView : UIView
|
|
@property (nonatomic, strong) UITableView * tableView;
|
@property (nonatomic, strong) MyDeviceStatus * model;
|
@property (nonatomic, strong) NSMutableArray * modelArray;
|
@property (nonatomic, strong) NSString * uid;
|
@property (nonatomic, strong) NSString * type;
|
@property (nonatomic, strong) NSString * key;
|
@property (nonatomic, strong) NSString * hotel_id;
|
|
@property (nonatomic, strong) UIButton* _loadErrorBtn;
|
@property (nonatomic, strong) GloriaLabel *tipsLabel;
|
|
@property(nonatomic, assign)id<SelectedDelegate> delegate;
|
@property(nonatomic, assign)id<SelDetailDelegate> detailDelegate;
|
|
- (instancetype)initWithFrame:(CGRect)frame userId:(NSString*)uid devicetype:(NSString*)type searchkey:(NSString*)key;
|
- (void) reSetView:(NSString*)uid devicetype:(NSString*)type searchkey:(NSString*)key;
|
@end
|