Initial commit
This commit is contained in:
+132
@@ -0,0 +1,132 @@
|
||||
//
|
||||
// ShopKanHuP2PViewController.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/26.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "TouchButton.h"
|
||||
#import "OpenGLView.h"
|
||||
#import "P2PClient.h"
|
||||
#import <AVFoundation/AVFoundation.h>
|
||||
#import "CustomBorderButton.h"
|
||||
#import "CustomView.h"
|
||||
#import "ProgressImageView.h"
|
||||
#import "KanHuListModel.h"
|
||||
//竖屏
|
||||
#define STOPBTN_TAG 1603227
|
||||
#define SOUND_BUTTON_H_TAG 1603221
|
||||
#define SWITCH_SCREEN_BUTTON_H_TAG 1603222
|
||||
#define DEFENCE_BUTTON_H_TAG 1603223
|
||||
#define TALK_BUTTON_H_TAG 1603224
|
||||
#define SCREENSHOT_BUTTON_H_TAG 1603225
|
||||
#define PROMPT_BUTTON_TAG 1603226
|
||||
#define SCREENSHOT_BUTTON_FLIE_TAG 1603228
|
||||
|
||||
#define VT_STOPBTN_TAG 1603229
|
||||
#define FocalLength_Elongation_btnTag 300
|
||||
#define FocalLength_Shorten_btnTag 301
|
||||
#define FocalLength_Change_sliderTag 302
|
||||
|
||||
#import "KanHuBaoGaoView.h"
|
||||
|
||||
@interface ShopKanHuP2PViewController : BaseVIewContorller <AVCaptureVideoDataOutputSampleBufferDelegate, UIGestureRecognizerDelegate,
|
||||
TouchButtonDelegate,
|
||||
OpenGLViewDelegate,
|
||||
UIScrollViewDelegate,
|
||||
UIAlertViewDelegate,
|
||||
P2PClientDelegate,
|
||||
KanHuBaoGaoViewDelegate>
|
||||
|
||||
|
||||
@property (nonatomic, strong) OpenGLView *remoteView;
|
||||
@property (nonatomic,strong) KanHuListModel *kanHuCamera;
|
||||
@property (nonatomic) BOOL isPlaying;
|
||||
@property (nonatomic) BOOL isReject;
|
||||
@property (nonatomic) BOOL isFullScreen4B3;
|
||||
@property (nonatomic) BOOL isShowControllerBar;
|
||||
@property (nonatomic) BOOL isVideoModeHD;
|
||||
@property (nonatomic) BOOL isShowVToolBar;
|
||||
|
||||
@property (nonatomic,strong) UIScrollView *scrollView;//监控界面缩放
|
||||
@property (nonatomic) BOOL isScale;//监控界面缩放
|
||||
|
||||
@property (strong, nonatomic) UIView *pressView;
|
||||
@property (nonatomic) BOOL isTalking;
|
||||
|
||||
@property (strong, nonatomic) UIView *controllerRight;
|
||||
@property (strong, nonatomic) UIView *controllerRightBg;//重新调整监控画面
|
||||
@property (strong, nonatomic) UIView *bottomBarView;//重新调整监控画面
|
||||
@property (strong, nonatomic) UIView *controllBar;
|
||||
|
||||
@property (nonatomic) BOOL isAlreadyShowResolution;//重新调整监控画面
|
||||
|
||||
@property (nonatomic) BOOL isDefenceOn;//重新调整监控画面
|
||||
|
||||
|
||||
@property (assign,nonatomic) BOOL isFullScreen;
|
||||
@property (strong, nonatomic) UIView *fullScreenBgView;
|
||||
|
||||
|
||||
//GPIO 口控制参数记录
|
||||
|
||||
@property(nonatomic, strong) UIButton *clickGPIO0_0Button;
|
||||
@property(nonatomic, strong) UIButton *clickGPIO0_1Button;
|
||||
@property(nonatomic, strong) UIButton *clickGPIO0_2Button;
|
||||
@property(nonatomic, strong) UIButton *clickGPIO0_3Button;
|
||||
@property(nonatomic, strong) UIButton *clickGPIO0_4Button;
|
||||
@property(nonatomic, strong) UIButton *clickGPIO2_6Button;
|
||||
|
||||
|
||||
@property(nonatomic) int lastGroup;
|
||||
@property(nonatomic) int lastPin;
|
||||
@property(nonatomic) int lastValue;
|
||||
@property(nonatomic) int *lastTime;
|
||||
|
||||
|
||||
@property(strong, nonatomic) CustomBorderButton *customBorderButton;
|
||||
@property(strong, nonatomic) CustomView *leftView;
|
||||
@property (strong, nonatomic) UIView *focalLengthView;
|
||||
@property (strong, nonatomic) UIPinchGestureRecognizer *pinchGestureRecognizer;
|
||||
@property (nonatomic) BOOL isLightSwitchOn;
|
||||
//竖屏控件
|
||||
|
||||
@property (nonatomic,strong) UIView *canvasView; //显示监控画面的载体
|
||||
@property (assign,nonatomic) CGRect canvasframe;
|
||||
@property (nonatomic,strong) UIButton *promptButton;
|
||||
|
||||
@property (nonatomic,strong) UILabel *labelTip;
|
||||
@property (strong, nonatomic) ProgressImageView *yProgressView;
|
||||
@property (nonatomic,strong) UIView *midToolHView; //全屏时,隐藏
|
||||
@property (nonatomic,strong) UIView *bottomToolHView; //全屏时,隐藏
|
||||
@property (nonatomic,strong) UIButton *defenceButtonH; //布防撤防按钮
|
||||
@property (strong, nonatomic) UIActivityIndicatorView *progressView;
|
||||
@property(nonatomic, strong) UIButton *lightButton;
|
||||
@property (nonatomic) BOOL isSupportLightSwitch;
|
||||
@property (nonatomic) BOOL isSupportFocalLength;
|
||||
//YES表示当前处于监控中,且接收到推送,点击观看监控
|
||||
@property (assign,nonatomic) BOOL isIntoMonitorFromMonitor;
|
||||
|
||||
//下半部生成报告部分 竖屏显示 全屏时,隐藏
|
||||
//@property (nonatomic,strong) KanHuBaoGaoView *baoGaoToolHView;
|
||||
@property (nonatomic,strong) UIView *HbootmView;
|
||||
@property (nonatomic,strong) NSDictionary*baGaoDic;
|
||||
@property (nonatomic,strong) NSArray *pinFenArray;
|
||||
@property (nonatomic,strong) NSData *imgData;
|
||||
@property (nonatomic,copy) NSString *suggetion;
|
||||
|
||||
@property (nonatomic,strong) UIButton *stopBtnH;
|
||||
@property (nonatomic,strong) UIImageView *stopImageViewH;
|
||||
@property (nonatomic,strong) UIButton *switchScreenButtonH;
|
||||
//底部
|
||||
@property(nonatomic,strong) UIButton *HorizontalStopBtn;
|
||||
|
||||
//关注人数加1
|
||||
-(void)popularityAdd:(int)onLineP;
|
||||
-(void)alreadyHaveLookP;
|
||||
-(void)disHideSubControlerBootomm;
|
||||
-(void)hideSubControlerBootomm;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user