QuickConfigurationView.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // QuickConfigurationView.h
  3. // FunSDKDemo
  4. //
  5. // Created by wujiangbo on 2018/11/15.
  6. // Copyright © 2018年 wujiangbo. All rights reserved.
  7. //
  8. /**
  9. 快速配置界面视图
  10. */
  11. #import <UIKit/UIKit.h>
  12. #import "MyRadarView.h"
  13. NS_ASSUME_NONNULL_BEGIN
  14. @interface QuickConfigurationView : UIView
  15. @property (nonatomic, copy) void(^startConfig)(NSString *ssid,NSString *password); //开始快速配置
  16. @property (nonatomic, copy) void(^stopConfig)(void); //停止快速配置
  17. @property (nonatomic, copy) void(^addDevice)(void); //点击设备按钮添加设备
  18. @property(nonatomic,strong) UITextField *wifiTF; //wifi名
  19. @property(nonatomic,strong) UITextField *passwordTF; //wifi密码
  20. @property(nonatomic,strong) UIButton *configurationBtn; //确定按钮
  21. @property(nonatomic,strong) UILabel *wifiLab; //wifi名
  22. @property(nonatomic,strong) UILabel *passwordLab; //wifi密码
  23. @property(nonatomic,strong) UILabel *tipsLab; //快速配置提示语
  24. @property(nonatomic,strong) UIButton *startBtn; //开始快速配置按钮
  25. @property(nonatomic,strong) MyRadarView *radarView; //快速配置动画界面
  26. @property(nonatomic,strong) UILabel *configTipsLab; //快速配置提示语
  27. @property(nonatomic,strong) UILabel *countLab; //倒计时
  28. @property(nonatomic,strong) NSMutableArray *btnArray; //设备按钮数组
  29. @property(nonatomic,strong) NSMutableArray *deviceArray; //快速配置搜索到得设备
  30. //创建快速配置视图,有设备则显示设备按钮
  31. -(void)createPlayView;
  32. //快速配置成功,停止计时
  33. -(void)stopTiming;
  34. @end
  35. NS_ASSUME_NONNULL_END