ifish/Ifish/controllers/HotBar/IfishBaseVc.h

61 lines
1.4 KiB
Objective-C

//
// IfishBaseVc.h
// Ifish
//
// Created by 罗艺 on 2018/9/23.
// Copyright © 2018年 lianlian. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "MessageAlertView.h"
@interface IfishBaseVc : UIViewController
Strong MessageAlertView *popView;
-(void)socketDidGetBackmsgData:(NSData *)data onsoket:(AsyncSocket *)sock;
//已断开连接
- (void)ifishSocketDidDisconnect:(AsyncSocket *)sock;
//已经连接成功
-(void)ifishSocket:(AsyncSocket *)sock ifishSocketdidConnectToHost:(NSString *)host port:(UInt16)port;
//发送数据完成
- (void)ifishSocket:(AsyncSocket *)sock didWriteDataWithTag:(long)tag;
//错误断开
-(void)ifishSocket:(AsyncSocket *)sock willDisconnectWithError:(NSError *)err;
// 将要连接
- (BOOL)ifishSocketWillConnect:(AsyncSocket *)sock;
//新的soket
- (void)ifishSocket:(AsyncSocket *)sock didAcceptNewSocket:(AsyncSocket *)newSocket;
//设备登陆成功
-(void)ifishDeviceLogInSuccees;
//设备登陆失败
-(void)ifishDeviceLogInFail;
- (void)showLableAction:(NSString *)str;
@property(nonatomic,strong)DeviceModel*devicemodel;
-(void)InitSocket;
-(void)presentPopView;
-(void)deleteDeviceRequset;
-(void)deleteDeviceRequsetSus;
-(void)shezhiMingCheng;
-(void)wenduRequest;
@property(nonatomic,strong)UITableView *tableView;
@property(nonatomic,assign)BOOL isRefeshing;
@property(nonatomic,assign)BOOL isconnect;
-(void)creatRefreshView;
-(void)endRefreshing;
@end