45 lines
1.2 KiB
Objective-C
45 lines
1.2 KiB
Objective-C
//
|
||
// YooseeNextConnectViewController.h
|
||
// IfihYooeeDemo
|
||
//
|
||
// Created by imac on 16/5/31.
|
||
// Copyright © 2016年 xiang. All rights reserved.
|
||
//
|
||
|
||
#import <UIKit/UIKit.h>
|
||
#import "GCDAsyncUdpSocket.h"
|
||
#define ALERT_TAG_SET_FAILED 0
|
||
#define ALERT_TAG_SET_SUCCESS 1
|
||
#define ALERT_TAG_B_SURE 2
|
||
|
||
#import "MMProgressHUD.h"
|
||
#import "MMProgressHUDOverlayView.h"
|
||
enum
|
||
{
|
||
conectType_Intelligent,
|
||
conectType_qrcode
|
||
};
|
||
|
||
@interface YooseeNextConnectViewController : BaseVIewContorller
|
||
@property (nonatomic,strong) NSString *uuidString;
|
||
@property (nonatomic,strong) NSString *wifiPwd;
|
||
@property (strong, nonatomic) GCDAsyncUdpSocket *socket;
|
||
@property (nonatomic) BOOL isWaiting;//YES表示发包设置wifi后,在等待局域网添加设备
|
||
@property (nonatomic) BOOL isFinish;
|
||
@property (assign) BOOL isRun;
|
||
|
||
@property (assign) BOOL isPrepared;
|
||
//@property (nonatomic,strong) UIView *smartKeyPromptView;
|
||
|
||
@property(nonatomic,strong) UITextField *wifiSecFiled;
|
||
|
||
|
||
@property (nonatomic) int conectType; //1-二维码扫描 0-智能联机
|
||
|
||
@property (strong, nonatomic) NSString *lastSetPassword;
|
||
//点击确定绑定后 不让操作返回 和查看说明
|
||
@property (nonatomic) BOOL canDissMissController;
|
||
|
||
|
||
@end
|