From 1a27ef122fb0a2b9f1c19dd609897728b795df5d Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 09 七月 2021 18:27:41 +0800
Subject: [PATCH] 2021-07-09 1.告警消息相关接口替换,改为河东管理

---
 EZSDK.IOS/EZSDK.IOS/ApiDefinition.cs |  219 ++++++++++++++++++++++++++----------------------------
 1 files changed, 107 insertions(+), 112 deletions(-)

diff --git a/EZSDK.IOS/EZSDK.IOS/ApiDefinition.cs b/EZSDK.IOS/EZSDK.IOS/ApiDefinition.cs
index 0046eca..9f04503 100644
--- a/EZSDK.IOS/EZSDK.IOS/ApiDefinition.cs
+++ b/EZSDK.IOS/EZSDK.IOS/ApiDefinition.cs
@@ -4,145 +4,140 @@
 
 namespace EZSDK.IOS
 {
-    // @interface EZDeviceInfo : NSObject
-    [BaseType(typeof(NSObject))]
-    interface EZDeviceInfo
-    {
-        // @property (nonatomic, strong) NSArray * cameraInfo;
-        [Export("cameraInfo", ArgumentSemantic.Strong)]
-        //[Verify(StronglyTypedNSArray)]
-        NSArray CameraInfo { get; set; }
+	// @interface EZDeviceInfo : NSObject
+	[BaseType(typeof(NSObject))]
+	interface EZDeviceInfo
+	{
+		// @property (nonatomic, strong) NSArray * cameraInfo;
+		[Export("cameraInfo", ArgumentSemantic.Strong)]
+		//[Verify(StronglyTypedNSArray)]
+		NSArray CameraInfo { get; set; }
 
-        // @property (nonatomic) NSInteger cameraNum;
-        [Export("cameraNum")]
-        int CameraNum { get; set; }
+		// @property (nonatomic) NSInteger cameraNum;
+		[Export("cameraNum")]
+		int CameraNum { get; set; }
 
-        // @property (nonatomic) NSInteger defence;
-        [Export("defence")]
-        int Defence { get; set; }
+		// @property (nonatomic) NSInteger defence;
+		[Export("defence")]
+		int Defence { get; set; }
 
-        // @property (nonatomic) NSInteger detectorNum;
-        [Export("detectorNum")]
-        int DetectorNum { get; set; }
+		// @property (nonatomic) NSInteger detectorNum;
+		[Export("detectorNum")]
+		int DetectorNum { get; set; }
 
-        // @property (nonatomic, strong) NSArray * detectorInfo;
-        [Export("detectorInfo", ArgumentSemantic.Strong)]
-        //[Verify(StronglyTypedNSArray)]
-        NSArray DetectorInfo { get; set; }
+		// @property (nonatomic, strong) NSArray * detectorInfo;
+		[Export("detectorInfo", ArgumentSemantic.Strong)]
+		//[Verify(StronglyTypedNSArray)]
+		NSArray DetectorInfo { get; set; }
 
-        // @property (copy, nonatomic) NSString * deviceCover;
-        [Export("deviceCover")]
-        string DeviceCover { get; set; }
+		// @property (copy, nonatomic) NSString * deviceCover;
+		[Export("deviceCover")]
+		string DeviceCover { get; set; }
 
-        // @property (copy, nonatomic) NSString * deviceName;
-        [Export("deviceName")]
-        string DeviceName { get; set; }
+		// @property (copy, nonatomic) NSString * deviceName;
+		[Export("deviceName")]
+		string DeviceName { get; set; }
 
-        // @property (copy, nonatomic) NSString * deviceSerial;
-        [Export("deviceSerial")]
-        string DeviceSerial { get; set; }
+		// @property (copy, nonatomic) NSString * deviceSerial;
+		[Export("deviceSerial")]
+		string DeviceSerial { get; set; }
 
-        // @property (copy, nonatomic) NSString * deviceType;
-        [Export("deviceType")]
-        string DeviceType { get; set; }
+		// @property (copy, nonatomic) NSString * deviceType;
+		[Export("deviceType")]
+		string DeviceType { get; set; }
 
-        // @property (copy, nonatomic) NSString * deviceVersion;
-        [Export("deviceVersion")]
-        string DeviceVersion { get; set; }
+		// @property (copy, nonatomic) NSString * deviceVersion;
+		[Export("deviceVersion")]
+		string DeviceVersion { get; set; }
 
-        // @property (nonatomic) BOOL isEncrypt;
-        [Export("isEncrypt")]
-        bool IsEncrypt { get; set; }
+		// @property (nonatomic) BOOL isEncrypt;
+		[Export("isEncrypt")]
+		bool IsEncrypt { get; set; }
 
-        // @property (nonatomic) NSInteger status;
-        [Export("status")]
-        int Status { get; set; }
+		// @property (nonatomic) NSInteger status;
+		[Export("status")]
+		nint Status { get; set; }
 
-        // @property (nonatomic) NSInteger isSupportTalk;
-        [Export("isSupportTalk")]
-        int IsSupportTalk { get; set; }
+		// @property (nonatomic) NSInteger isSupportTalk;
+		[Export("isSupportTalk")]
+		int IsSupportTalk { get; set; }
 
-        // @property (nonatomic) BOOL isSupportPTZ;
-        [Export("isSupportPTZ")]
-        bool IsSupportPTZ { get; set; }
+		// @property (nonatomic) BOOL isSupportPTZ;
+		[Export("isSupportPTZ")]
+		bool IsSupportPTZ { get; set; }
 
-        // @property (nonatomic) BOOL isSupportZoom;
-        [Export("isSupportZoom")]
-        bool IsSupportZoom { get; set; }
+		// @property (nonatomic) BOOL isSupportZoom;
+		[Export("isSupportZoom")]
+		bool IsSupportZoom { get; set; }
 
-        // @property (nonatomic) BOOL isSupportAudioOnOff;
-        [Export("isSupportAudioOnOff")]
-        bool IsSupportAudioOnOff { get; set; }
+		// @property (nonatomic) BOOL isSupportAudioOnOff;
+		[Export("isSupportAudioOnOff")]
+		bool IsSupportAudioOnOff { get; set; }
 
-        // @property (nonatomic) BOOL isSupportMirrorCenter;
-        [Export("isSupportMirrorCenter")]
-        bool IsSupportMirrorCenter { get; set; }
+		// @property (nonatomic) BOOL isSupportMirrorCenter;
+		[Export("isSupportMirrorCenter")]
+		bool IsSupportMirrorCenter { get; set; }
 
-        // @property (nonatomic) BOOL isSupportSoundWave;
-        [Export("isSupportSoundWave")]
-        bool IsSupportSoundWave { get; set; }
+		// @property (nonatomic) BOOL isSupportSoundWave;
+		[Export("isSupportSoundWave")]
+		bool IsSupportSoundWave { get; set; }
 
-        // @property (copy, nonatomic) NSString * category;
-        [Export("category")]
-        string Category { get; set; }
+		// @property (copy, nonatomic) NSString * category;
+		[Export("category")]
+		string Category { get; set; }
 
-        // @property (nonatomic, strong) NSDate * addTime;
-        [Export("addTime", ArgumentSemantic.Strong)]
-        NSDate AddTime { get; set; }
-    }
+		// @property (nonatomic, strong) NSDate * addTime;
+		[Export("addTime", ArgumentSemantic.Strong)]
+		NSDate AddTime { get; set; }
+	}
 
-    // @interface EZSDK : NSObject
-    [BaseType(typeof(NSObject))]
-    interface EZSDK
-    {
-        // +(BOOL)initLibWithAppKey:(NSString *)appKey globalAppKey:(NSString *)globalAppKey;
-        [Static]
-        [Export("initLibWithAppKey:globalAppKey:")]
-        bool InitLibWithAppKey(string appKey, string globalAppKey);
+	// @interface EZSDK : NSObject
+	[BaseType(typeof(NSObject))]
+	interface EZSDK
+	{
+		// +(instancetype)sharedInstance;
+		[Static]
+		[Export("sharedInstance")]
+		EZSDK SharedInstance();
 
-        // +(void)setEZAccessToken:(NSString *)accessToken;
-        [Static]
-        [Export("setEZAccessToken:")]
-        void SetEZAccessToken(string accessToken);
+		// -(BOOL)initLibWithAppKey:(NSString *)appKey globalAppKey:(NSString *)globalAppKey;
+		[Export("initLibWithAppKey:globalAppKey:")]
+		bool InitLibWithAppKey(string appKey, string globalAppKey);
 
-        // +(void)setHDlAccessToken:(NSString *)accessToken refreshToken:(NSString *)refreshToken;
-        [Static]
-        [Export("setHDlAccessToken:refreshToken:")]
-        void SetHDlAccessToken(string accessToken, string refreshToken);
+		// -(void)setEZAccessToken:(NSString *)accessToken;
+		[Export("setEZAccessToken:")]
+		void SetEZAccessToken(string accessToken);
 
-        // +(void)setRequestHttpsHostAndPlatform:(NSString *)requestHttpsHost platform:(int)platform homeId:(NSString *)homeId;
-        [Static]
-        [Export("setRequestHttpsHostAndPlatform:platform:homeId:")]
-        void SetRequestHttpsHostAndPlatform(string requestHttpsHost, int platform, string homeId);
+		// -(void)setHDlAccessToken:(NSString *)accessToken refreshToken:(NSString *)refreshToken;
+		[Export("setHDlAccessToken:refreshToken:")]
+		void SetHDlAccessToken(string accessToken, string refreshToken);
 
-        // +(void)go2EZvizMonitor;
-        [Static]
-        [Export("go2EZvizMonitor")]
-        void Go2EZvizMonitor();
+		// -(void)setRequestHttpsHostAndPlatform:(NSString *)requestHttpsHost platform:(int)platform homeId:(NSString *)homeId;
+		[Export("setRequestHttpsHostAndPlatform:platform:homeId:")]
+		void SetRequestHttpsHostAndPlatform(string requestHttpsHost, int platform, string homeId);
 
-        // +(void)addEzvizMonitor;
-        [Static]
-        [Export("addEzvizMonitor")]
-        void AddEzvizMonitor();
+		// -(void)go2EZvizMonitor;
+		[Export("go2EZvizMonitor")]
+		void Go2EZvizMonitor();
 
-        // +(void)Play:(EZDeviceInfo *)deviceInfo;
-        [Static]
-        [Export("Play:")]
-        void Play(EZDeviceInfo deviceInfo);
+		// -(void)addEzvizMonitor;
+		[Export("addEzvizMonitor")]
+		void AddEzvizMonitor();
 
-        // +(void)PlayWithDeviceSerial:(NSString *)deviceSerial;
-        [Static]
-        [Export("PlayWithDeviceSerial:")]
-        void PlayWithDeviceSerial(string deviceSerial);
+		// -(void)Play:(EZDeviceInfo *)deviceInfo;
+		[Export("Play:")]
+		void Play(EZDeviceInfo deviceInfo);
 
-        // +(void)setting:(EZDeviceInfo *)deviceInfo;
-        [Static]
-        [Export("setting:")]
-        void Setting(EZDeviceInfo deviceInfo);
+		// -(void)PlayWithDeviceSerial:(NSString *)deviceSerial;
+		[Export("PlayWithDeviceSerial:")]
+		void PlayWithDeviceSerial(string deviceSerial);
 
-        // +(void)playBackVideo:(EZDeviceInfo *)deviceInfo;
-        [Static]
-        [Export("playBackVideo:")]
-        void PlayBackVideo(EZDeviceInfo deviceInfo);
-    }
+		// -(void)setting:(EZDeviceInfo *)deviceInfo;
+		[Export("setting:")]
+		void Setting(EZDeviceInfo deviceInfo);
+
+		// -(void)playBackVideo:(EZDeviceInfo *)deviceInfo;
+		[Export("playBackVideo:")]
+		void PlayBackVideo(EZDeviceInfo deviceInfo);
+	}
 }

--
Gitblit v1.8.0