单军华
2018-03-28 f99cf1d5cc50407394501853be06cb39f38a092c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//
//  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