From d6fb0646531172f23648441c224cdcccd721b894 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期一, 14 十二月 2020 09:59:01 +0800
Subject: [PATCH] 请合并代码,完成晾衣架最终功能。

---
 ZigbeeApp/Elian.iOS/ApiDefinition.cs |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/ZigbeeApp/Elian.iOS/ApiDefinition.cs b/ZigbeeApp/Elian.iOS/ApiDefinition.cs
new file mode 100755
index 0000000..4bb0279
--- /dev/null
+++ b/ZigbeeApp/Elian.iOS/ApiDefinition.cs
@@ -0,0 +1,31 @@
+锘縰sing System;
+
+using UIKit;
+using Foundation;
+using ObjCRuntime;
+using CoreGraphics;
+
+namespace Com.Mediatek.Elian
+{
+    // @interface HDLElian : NSObject
+    [BaseType(typeof(NSObject))]
+    interface ElianNative
+    {
+        // +(int)InitSmartConnection:(NSString * _Nonnull)Target sendV1:(int)sendV1 sendV4:(int)sendV4;
+        [Static]
+        [Export("InitSmartConnection:sendV1:sendV4:")]
+        int InitSmartConnection(string Target, int sendV1, int sendV4);
+
+        // +(int)StartSmartConnection:(NSString * _Nonnull)SSID Password:(NSString * _Nonnull)Password Custom:(NSString * _Nonnull)Custom;
+        [Static]
+        [Export("StartSmartConnection:Password:Custom:")]
+        int StartSmartConnection(string SSID, string Password, string Custom);
+
+        // +(int)StopSmartConnection;
+        [Static]
+        [Export("StopSmartConnection")]
+        //[Verify(MethodToProperty)]
+        int StopSmartConnection();
+    }
+
+}

--
Gitblit v1.8.0