| | |
| | | |
| | | #import "EZSDK.h" |
| | | //#import "DeviceInfo.h" |
| | | #import "EZDeviceInfo.h" |
| | | #import "EZOpenSDK.h" |
| | | #import <EZOpenSDKFramework/EZDeviceInfo.h> |
| | | #import <EZOpenSDKFramework/EZOpenSDK.h> |
| | | #import "GlobalKit.h" |
| | | #import "EZAccessToken.h" |
| | | #import <EZOpenSDKFramework/EZAccessToken.h> |
| | | #import "NSArray+DDKit.h" |
| | | #import "EZAddByQRCodeViewController.h" |
| | | #import "EZLivePlayViewController.h" |
| | | #import "EZSettingViewController.h" |
| | | #import "EZPlaybackViewController.h" |
| | | #import "EZDeviceTableViewController.h" |
| | | #import "EZHCNetDeviceSDK.h" |
| | | #import <EZOpenSDKFramework/EZHCNetDeviceSDK.h> |
| | | #import "EZMessagePhotoViewController.h" |
| | | #import "HDLEZVisitorRecordViewController.h" |
| | | #import "HDLEZDeviceMsgListViewController.h" |
| | |
| | | instanceVC.filterTypes=filterTepes; |
| | | //push摄像头列表的viewController |
| | | [[self getCurrentVC] setNavigationBarHidden:NO]; |
| | | // [[self getCurrentVC].navigationBar setHidden:NO]; |
| | | [[self getCurrentVC] pushViewController:instanceVC animated:YES]; |
| | | } |
| | | |
| | |
| | | EZAddByQRCodeViewController *rootViewController = [addDeviceStoryBoard instantiateViewControllerWithIdentifier:@"AddByQRCode"]; |
| | | rootViewController.deviceType=type; |
| | | [[self getCurrentVC] setNavigationBarHidden:NO]; |
| | | [[self getCurrentVC].navigationBar setHidden:NO]; |
| | | [[self getCurrentVC] pushViewController:rootViewController animated:YES]; |
| | | } else { |
| | | // [UIView dd_showMessage:@"iOS 7.0以下扫码功能请自行实现"]; |
| | |
| | | rootViewController.deviceInfo=(EZDeviceInfo *)deviceInfo; |
| | | NSLog(@"play--iphone--deviceName -%@",rootViewController.deviceInfo.deviceName); |
| | | // rootViewController.cameraIndex=0; |
| | | [[self getCurrentVC] setNavigationBarHidden:NO]; |
| | | [[self getCurrentVC].navigationBar setHidden:NO]; |
| | | [[self getCurrentVC] pushViewController:rootViewController animated:YES]; |
| | | |
| | | |
| | |
| | | vc.deviceId=deviceId; |
| | | vc.deviceSerial=deviceSerial; |
| | | [[self getCurrentVC] setNavigationBarHidden:NO]; |
| | | [[self getCurrentVC].navigationBar setHidden:NO]; |
| | | [[self getCurrentVC] pushViewController:vc animated:YES]; |
| | | } |
| | | |
| | |
| | | EZSettingViewController *settingVC=[settingStoryBoard instantiateViewControllerWithIdentifier:@"EZSettingViewController"]; |
| | | settingVC.deviceInfo=(EZDeviceInfo *)deviceInfo; |
| | | [[self getCurrentVC] setNavigationBarHidden:NO]; |
| | | [[self getCurrentVC].navigationBar setHidden:NO]; |
| | | [[self getCurrentVC] pushViewController:settingVC animated:YES]; |
| | | } |
| | | |
| | |
| | | EZPlaybackViewController *playBackVC=[playBackStoryBoard instantiateViewControllerWithIdentifier:@"EZPlaybackViewController"]; |
| | | playBackVC.deviceInfo=(EZDeviceInfo *)deviceInfo; |
| | | [[self getCurrentVC] setNavigationBarHidden:NO]; |
| | | [[self getCurrentVC].navigationBar setHidden:NO]; |
| | | [[self getCurrentVC] pushViewController:playBackVC animated:YES]; |
| | | } |
| | | |
| | |
| | | - (void)toTemPassView:(NSString*)deviceId{ |
| | | HDLEZVisitorRecordViewController *vc=[[HDLEZVisitorRecordViewController alloc] init]; |
| | | vc.deviceId=deviceId; |
| | | [[self getCurrentVC] setNavigationBarHidden:YES]; |
| | | // [[self getCurrentVC] setNavigationBarHidden:YES]; |
| | | [[self getCurrentVC].navigationBar setHidden:YES]; |
| | | [[self getCurrentVC] pushViewController:vc animated:YES]; |
| | | } |
| | | |
| | |
| | | - (void)toDeviceMsgListView:(NSString*)deviceId{ |
| | | HDLEZDeviceMsgListViewController *vc=[[HDLEZDeviceMsgListViewController alloc] init]; |
| | | vc.deviceId=deviceId; |
| | | [[self getCurrentVC] setNavigationBarHidden:YES]; |
| | | // [[self getCurrentVC] setNavigationBarHidden:YES]; |
| | | [[self getCurrentVC].navigationBar setHidden:YES]; |
| | | [[self getCurrentVC] pushViewController:vc animated:YES]; |
| | | |
| | | } |