From f369d0b710357c933ed96e73fd337d22906bb0c8 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期五, 26 三月 2021 17:02:46 +0800
Subject: [PATCH] 2.新风bus控制命令转换

---
 HDL_ON/FengLinVideo/ESOnVideo.cs |  253 ++++++++++++++++++++++++++------------------------
 1 files changed, 130 insertions(+), 123 deletions(-)

diff --git a/HDL_ON/FengLinVideo/ESOnVideo.cs b/HDL_ON/FengLinVideo/ESOnVideo.cs
index a0c085f..4210edb 100644
--- a/HDL_ON/FengLinVideo/ESOnVideo.cs
+++ b/HDL_ON/FengLinVideo/ESOnVideo.cs
@@ -1,134 +1,141 @@
-锘縰sing System;
-using Android.Content;
+锘�//using System;
+//#if __IOS__
+//using Shared.IOS.ESVideoOnSDK;
+//using UIKit;
+//using Foundation;
+//#else
 
-namespace HDL_ON.FengLinVideo
-{
-    public class ESOnVideo
-    {
-        /// <summary>
-        /// 涓版灄鍙瀵硅
-        /// </summary>
-        private static ESOnVideo m_Current = null;
-        /// <summary>
-        /// 
-        /// </summary>
-        public static ESOnVideo Current
-        {
-            get
-            {
-                if (m_Current == null)
-                {
-                    m_Current = new ESOnVideo();
-                }
-                return m_Current;
-            }
-        }
+//using Android.Content;
 
-        public void InitESVideoSDK()
-        {
-            //ESVideo.
-        }
+//#endif
+//namespace HDL_ON.FengLinVideo
+//{
+//    public class ESOnVideo
+//    {
+//        /// <summary>
+//        /// 涓版灄鍙瀵硅
+//        /// </summary>
+//        private static ESOnVideo m_Current = null;
+//        /// <summary>
+//        /// 
+//        /// </summary>
+//        public static ESOnVideo Current
+//        {
+//            get
+//            {
+//                if (m_Current == null)
+//                {
+//                    m_Current = new ESOnVideo();
+//                }
+//                return m_Current;
+//            }
+//        }
 
-        /// <summary>
-        /// 鐩戞帶椤甸潰
-        /// </summary>
-        /// <param name="mESVideoInfo"></param>
-        public void ShowESVideoMonitor(ESVideoInfo mESVideoInfo)
-        {
+//        public void InitESVideoSDK()
+//        {
+//            //ESVideo.
+//        }
 
-            Intent intent = new Intent(Shared.Application.Activity, typeof(HDL_ON_Android.VideoActivity));
-            intent.PutExtra("ESVideoUUID", mESVideoInfo.ESVideoUUID);
-            intent.PutExtra("uuid", mESVideoInfo.uuid);
-            intent.PutExtra("DeviceName", mESVideoInfo.DeviceName);
-            intent.PutExtra("cmtID", mESVideoInfo.cmtID);
-            intent.PutExtra("roomno", mESVideoInfo.roomno);
-            intent.PutExtra("unitno", mESVideoInfo.unitno);
-            intent.PutExtra("HomeID", mESVideoInfo.HomeID);
-            intent.PutExtra("callId", mESVideoInfo.callId);
-            intent.PutExtra("Type", 0);
-            Shared.Application.Activity.StartActivity(intent);
+//        /// <summary>
+//        /// 鐩戞帶椤甸潰
+//        /// </summary>
+//        /// <param name="mESVideoInfo"></param>
+//        public void ShowESVideoMonitor(ESVideoInfo mESVideoInfo)
+//        {
 
-        }
+//            Intent intent = new Intent(Shared.Application.Activity, typeof(HDL_ON_Android.VideoActivity));
+//            intent.PutExtra("ESVideoUUID", mESVideoInfo.ESVideoUUID);
+//            intent.PutExtra("uuid", mESVideoInfo.uuid);
+//            intent.PutExtra("DeviceName", mESVideoInfo.DeviceName);
+//            intent.PutExtra("cmtID", mESVideoInfo.cmtID);
+//            intent.PutExtra("roomno", mESVideoInfo.roomno);
+//            intent.PutExtra("unitno", mESVideoInfo.unitno);
+//            intent.PutExtra("HomeID", mESVideoInfo.HomeID);
+//            intent.PutExtra("callId", mESVideoInfo.callId);
+//            intent.PutExtra("Type", 0);
+//            Shared.Application.Activity.StartActivity(intent);
 
-        /// <summary>
-        /// 琚懠鍙〉闈�
-        /// </summary>
-        /// <param name="mESVideoInfo"></param>
-        public void ShowESvideoVideoIntercom(ESVideoInfo mESVideoInfo)
-        {
+//        }
 
-            Intent intent = new Intent(Shared.Application.Activity, typeof(HDL_ON_Android.VideoActivity));
-            intent.PutExtra("ESVideoUUID", mESVideoInfo.ESVideoUUID);
-            intent.PutExtra("uuid", mESVideoInfo.uuid);
-            intent.PutExtra("DeviceName", mESVideoInfo.DeviceName);
-            intent.PutExtra("cmtID", mESVideoInfo.cmtID);
-            intent.PutExtra("roomno", mESVideoInfo.roomno);
-            intent.PutExtra("unitno", mESVideoInfo.unitno);
-            intent.PutExtra("HomeID", mESVideoInfo.HomeID);
-            intent.PutExtra("callId", mESVideoInfo.callId);
-            intent.PutExtra("Type", 1);
-            Shared.Application.Activity.StartActivity(intent);
-        }
+//        /// <summary>
+//        /// 琚懠鍙〉闈�
+//        /// </summary>
+//        /// <param name="mESVideoInfo"></param>
+//        public void ShowESvideoVideoIntercom(ESVideoInfo mESVideoInfo)
+//        {
 
-        /// <summary>
-        /// 娴嬭瘯鏂规硶
-        /// </summary>
-        /// <param name="isMonitor"></param>
-        public void Test(bool isMonitor = true)
-        {
-            ESVideoInfo eSVideoInfo = new ESVideoInfo()
-            {
-                DeviceName = "瀹ゅ鏈�88",
-                ESVideoUUID = "JJY000019VPLLF",
-            };
-            if (isMonitor)
-            {
-                ShowESVideoMonitor(eSVideoInfo);
-            }
-            else
-            {
-                ShowESvideoVideoIntercom(eSVideoInfo);
-            }
+//            Intent intent = new Intent(Shared.Application.Activity, typeof(HDL_ON_Android.VideoActivity));
+//            intent.PutExtra("ESVideoUUID", mESVideoInfo.ESVideoUUID);
+//            intent.PutExtra("uuid", mESVideoInfo.uuid);
+//            intent.PutExtra("DeviceName", mESVideoInfo.DeviceName);
+//            intent.PutExtra("cmtID", mESVideoInfo.cmtID);
+//            intent.PutExtra("roomno", mESVideoInfo.roomno);
+//            intent.PutExtra("unitno", mESVideoInfo.unitno);
+//            intent.PutExtra("HomeID", mESVideoInfo.HomeID);
+//            intent.PutExtra("callId", mESVideoInfo.callId);
+//            intent.PutExtra("Type", 1);
+//            Shared.Application.Activity.StartActivity(intent);
+//        }
 
-        }
-    }
+//        /// <summary>
+//        /// 娴嬭瘯鏂规硶
+//        /// </summary>
+//        /// <param name="isMonitor"></param>
+//        public void Test(bool isMonitor = true)
+//        {
+//            ESVideoInfo eSVideoInfo = new ESVideoInfo()
+//            {
+//                DeviceName = "瀹ゅ鏈�88",
+//                ESVideoUUID = "JJY000019VPLLF",
+//            };
+//            if (isMonitor)
+//            {
+//                ShowESVideoMonitor(eSVideoInfo);
+//            }
+//            else
+//            {
+//                ShowESvideoVideoIntercom(eSVideoInfo);
+//            }
 
-    public class ESVideoInfo
-    {
-        /// <summary>
-        /// 瀹ゅ鏈虹殑UUID
-        /// 渚嬶細JJY000007FSEYX
-        /// </summary>
-        public string ESVideoUUID = string.Empty;
-        /// <summary>
-        /// 瀹ゅ鏈虹殑鍚嶇О
-        /// 渚嬶細瀹ゅ鏈�
-        /// </summary>
-        public string DeviceName = string.Empty;
-        /// <summary>
-        /// 涓版灄璇锋眰鐨勫敮涓�id
-        /// </summary>
-        public string uuid;
-        /// <summary>
-        /// 涓版灄绀惧尯id
-        /// </summary>
-        public string cmtID;
-        /// <summary>
-        /// 涓版灄鎴块棿鍙�
-        /// </summary>
-        public string roomno;
-        /// <summary>
-        /// 涓版灄妤兼爧鍙�
-        /// </summary>
-        public string unitno;
-        /// <summary>
-        /// 涓版灄浣忓畢Id
-        /// </summary>
-        public string HomeID;
-        /// <summary>
-        /// 鍛煎彨璁板綍Id
-        /// </summary>
-        public string callId;
+//        }
+//    }
 
-    }
-}
\ No newline at end of file
+//    public class ESVideoInfo
+//    {
+//        /// <summary>
+//        /// 瀹ゅ鏈虹殑UUID
+//        /// 渚嬶細JJY000007FSEYX
+//        /// </summary>
+//        public string ESVideoUUID = string.Empty;
+//        /// <summary>
+//        /// 瀹ゅ鏈虹殑鍚嶇О
+//        /// 渚嬶細瀹ゅ鏈�
+//        /// </summary>
+//        public string DeviceName = string.Empty;
+//        /// <summary>
+//        /// 涓版灄璇锋眰鐨勫敮涓�id
+//        /// </summary>
+//        public string uuid;
+//        /// <summary>
+//        /// 涓版灄绀惧尯id
+//        /// </summary>
+//        public string cmtID;
+//        /// <summary>
+//        /// 涓版灄鎴块棿鍙�
+//        /// </summary>
+//        public string roomno;
+//        /// <summary>
+//        /// 涓版灄妤兼爧鍙�
+//        /// </summary>
+//        public string unitno;
+//        /// <summary>
+//        /// 涓版灄浣忓畢Id
+//        /// </summary>
+//        public string HomeID;
+//        /// <summary>
+//        /// 鍛煎彨璁板綍Id
+//        /// </summary>
+//        public string callId;
+
+//    }
+//}
\ No newline at end of file

--
Gitblit v1.8.0