ifish/Ifish/controllers/IfishYooseeFile/IfishYooseeControlller/IfishP2PMonitorController.h

139 lines
5.3 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// IfishP2PMonitorController.h
// IfihYooeeDemo
//
// Created by imac on 16/6/7.
// Copyright © 2016年 xiang. All rights reserved.
//摄像头详情页面
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "TouchButton.h"
//#import "OpenGLView.h"
#import <GWP2P/GWP2P.h>
#import "CustomBorderButton.h"
#import "CustomView.h"
#import "ProgressImageView.h"
#import "AppDelegate.h"
#define FocalLength_Elongation_btnTag 300
#define FocalLength_Shorten_btnTag 301
#define FocalLength_Change_sliderTag 302
#import "MonitorBootmView.h"
#import "SongBaoViewController.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
#import "IfishCameraModel.h"
#import "AFNOHeaderHttpTool.h"
#define DOOR_BELLALERT 1001001
#define CAMERA_DEVICE_JIEBANG_ALERT 1001002
#define XUANDUO_GUANSHUIBENG_ALERT 1001003
#define WEIJIHUO_ALERT 1001004
//#define JHUOCHENGGONG_ALERT 1001005
#define ALERT_TAG_UPDATE 1
#define ALERT_UPDATE_SURE 1001006
#import "LXPopView.h"
#import "DXPopover.h"
#import "CameraBottomHView.h"
#import "IifshSegmentView.h"
@interface IfishP2PMonitorController : UIViewController<
AVCaptureVideoDataOutputSampleBufferDelegate,UIGestureRecognizerDelegate,TouchButtonDelegate,UIScrollViewDelegate,UIAlertViewDelegate,MonitorBottomCollcetionSelectDelegate,LxPopViewDelegate,CameraBottomHViewDelegate,IfishSegmentViewDelegate>
@property (nonatomic, strong) GWP2PVideoPlayer *player;//摄像头页面
@property (nonatomic) BOOL isReject;
@property (nonatomic) BOOL isFullScreen4B3;
@property (nonatomic) BOOL isShowControllerBar;
@property (nonatomic) BOOL isShowVToolBar;
@property (nonatomic) BOOL isVideoModeHD;
@property (nonatomic,strong) IfishCameraModel *contact;
@property (nonatomic,strong) UIScrollView *scrollView;//监控界面缩放
@property (nonatomic) BOOL isScale;//监控界面缩放
@property (strong, nonatomic) UIView *bottomView;//重新调整监控画面
@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;//重新调整监控画面
//GPIO 口控制参数记录
@property(strong, nonatomic) CustomBorderButton *customBorderButton;
@property(strong, nonatomic) CustomView *leftView;
@property(nonatomic) BOOL isShowLeftView;
@property(nonatomic) int lastGroup;
@property(nonatomic) int lastPin;
@property(nonatomic) int lastValue;
@property(nonatomic) int *lastTime;
@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, strong) UIButton *lightButton;
@property (nonatomic) BOOL isLightSwitchOn;
@property (strong, nonatomic) UIActivityIndicatorView *progressView;
@property (nonatomic) BOOL isSupportLightSwitch;
@property (strong, nonatomic) UIView *focalLengthView;
@property (nonatomic) BOOL isSupportFocalLength;
@property (strong, nonatomic) UIPinchGestureRecognizer *pinchGestureRecognizer;
//判断当前监控处于横屏还是竖屏界面
@property (assign,nonatomic) BOOL isFullScreen;
@property (strong, nonatomic) UIView *fullScreenBgView;
//竖屏控件
//@property (nonatomic,strong) CustomTopBar *topBar; //全屏时,隐藏
@property (nonatomic,strong) UIView *canvasView; //显示监控画面的载体
@property (assign,nonatomic) CGRect canvasframe;
@property (nonatomic,strong) UIButton *promptButton;
@property (strong, nonatomic) ProgressImageView *yProgressView;
@property (nonatomic,strong) UIView *midToolHView; //全屏时,隐藏
@property (nonatomic,strong) CameraBottomHView *bottomToolHView; //全屏时,隐藏
@property (nonatomic,strong) UIButton *defenceButtonH; //布防撤防按钮
//YES表示当前处于监控中且接收到推送点击观看监控
@property (assign,nonatomic) BOOL isIntoMonitorFromMonitor;
@property (nonatomic,strong) IifshSegmentView *segControl;
@property (nonatomic,strong) UIButton *stopBtnH;
@property (nonatomic,strong) UIImageView *stopImageViewH;
@property (nonatomic,strong) UIButton *switchScreenButtonH;
//@property (nonatomic,strong) UILabel *netStateLabel;
@property (nonatomic,strong) UIView *bottomFishHView; //全屏时,隐藏
@property(nonatomic,strong) UIButton *HorizontalStopBtn;
//底部水族箱view
@property (nonatomic,strong) MonitorBootmView *fishControlView;
//YES表示在当前界面用户向设备发送了远程消息请求
//@property (nonatomic) BOOL isSendRomoteMessageInCurrentInterface;//设备检查更新
@property (strong, nonatomic) UILabel *progressLabel;
@property (strong, nonatomic) UIView *progressMaskView;
@end