From 3698c13aba988cd3e41b91b255e1c682c057e565 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期四, 23 三月 2023 11:49:58 +0800 Subject: [PATCH] 1.新增历史记录相关页面及功能 2.修改配网为热点配网 3.设备列表增加过滤门锁功能 4.增加添加设备通知功能 --- EZSDK/EZSDK/EZSDK.h | 43 ++++++++++++++++++++++++++++++++++++------- 1 files changed, 36 insertions(+), 7 deletions(-) diff --git a/EZSDK/EZSDK/EZSDK.h b/EZSDK/EZSDK/EZSDK.h index 2ae3791..5afdf36 100644 --- a/EZSDK/EZSDK/EZSDK.h +++ b/EZSDK/EZSDK/EZSDK.h @@ -8,13 +8,20 @@ #import <Foundation/Foundation.h> #import "EZDeviceInfo.h" -//璁惧绫诲瀷 -typedef enum { - HDLEZDeviceType_Default=0, //榛樿绫诲瀷 - HDLEZDeviceType_Door=1,//闂ㄩ攣 -}HDLEZDeviceType; + + +@protocol EZSDKDelegate <NSObject> + +//娣诲姞璁惧鎴愬姛 +-(void)addDeviceSuccessed; + +@end @interface EZSDK : NSObject + +@property (nonatomic, weak) id<EZSDKDelegate> delegate;//浠g悊 + + ///sharedInstance + (instancetype)sharedInstance; @@ -40,6 +47,13 @@ 鐩存帴璺宠浆鍒拌悿鐭虫憚鍍忓ご鍒楄〃 */ - (void)go2EZvizMonitor; + +/** + 鐩存帴璺宠浆鍒拌悿鐭虫憚鍍忓ご鍒楄〃(绛涙帀闂ㄩ攣璁惧) + @param filterTepes 杩囨护鍨嬪彿鏁扮粍 + */ +- (void)toEZDeviceListViewWithFilterTypes:(NSArray*)filterTepes; + /** 璺宠浆娣诲姞娣诲姞璁惧 */ @@ -47,17 +61,27 @@ /** 璺宠浆娣诲姞娣诲姞璁惧 - @param deviceType 璁惧绫诲瀷 + @param deviceType 璁惧spk(鐢ㄤ簬鍖哄垎鏄惁涓洪棬閿�) */ -- (void)addEzvizMonitorWithDeviceType:(HDLEZDeviceType)deviceType; +- (void)addEzvizMonitorWithDeviceType:(NSString *)deviceType; /** 鏌ョ湅瑙嗛鐩戞帶鐩存挱 */ - (void)Play:(EZDeviceInfo*)deviceInfo; + /// 鎸囧畾搴忓垪鍙� 鏌ョ湅瑙嗛鐩戞帶鐩存挱 /// @param deviceSerial 搴忓垪鍙� - (void)PlayWithDeviceSerial:(NSString *)deviceSerial; + +/** + 鏍规嵁spk杩涘叆闂ㄩ攣瑙嗛 + @param deviceSerial 搴忓垪鍙� + @param deviceId 璁惧id + @param deviceType 璁惧spk(鐢ㄤ簬鍖哄垎鏄惁涓洪棬閿�) + */ +-(void)PlayWithDeviceSerial:(NSString *)deviceSerial deviceId:(NSString*)deviceId deviceType:(NSString *)deviceType; + /** 鎵撳紑鎽勫儚澶磋缃〉闈� */ @@ -75,5 +99,10 @@ */ - (void)toTemPassView:(NSString*)deviceId; +/**璁惧鍘嗗彶璁板綍椤� + @param deviceId 璁惧id + */ +- (void)toDeviceMsgListView:(NSString*)deviceId; + @end -- Gitblit v1.8.0