From 1ebda09d954de4409c5a7f3ba3c3ee75626ec7c0 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 01 四月 2021 16:08:16 +0800 Subject: [PATCH] 2021-4-1-6 --- HDL_ON/UI/UI2/FuntionControlView/Video/VideoMethod.cs | 110 +----------------------------------------------------- 1 files changed, 3 insertions(+), 107 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Video/VideoMethod.cs b/HDL_ON/UI/UI2/FuntionControlView/Video/VideoMethod.cs index 4131181..b08335b 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Video/VideoMethod.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Video/VideoMethod.cs @@ -19,7 +19,7 @@ Loading loading = new Loading(); frameLayout.AddChidren(loading); loading.Start(); - List<VideoMethod.FlVideo> listESVideoInfo = new List<VideoMethod.FlVideo>(); + List<FlVideo> listESVideoInfo = new List<FlVideo>(); List<CallView> listCall = new List<CallView>(); new System.Threading.Thread(() => { @@ -37,7 +37,7 @@ Application.RunOnMainThread(() => { loading.Hide(); - var mainView = new MainView(); + var mainView = new VideoMainView(); MainPage.BasePageView.AddChidren(mainView); mainView.Show(listESVideoInfo, listCall, video); MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; @@ -218,111 +218,7 @@ System.DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new System.DateTime(1970, 1, 1)); // 褰撳湴鏃跺尯 return ((long)(DateTime.Now.AddDays(1) - startTime).TotalSeconds).ToString(); // 鐩稿樊绉掓暟 } - [Serializable] - public class VideoClouds - { - /// <summary> - /// 涓版灄缁戝畾id锛坒lBindId锛�(userKey) - /// </summary> - public string id = string.Empty; - /// <summary> - /// 浣忓畢id - /// </summary> - public string homeId = string.Empty; - /// <summary> - /// 铏氭嫙鎵嬫満鍙� - /// </summary> - public string phone = string.Empty; - /// <summary> - /// 铏氭嫙韬唤璇佸彿鐮� - /// </summary> - public string idCard = string.Empty; - /// <summary> - /// 绀惧尯涓婚敭Id - /// </summary> - public string communtiyId = string.Empty; - /// <summary> - /// 涓版灄妤兼爧鍙� - /// </summary> - public string flBuildingId = string.Empty; - /// <summary> - /// 涓版灄妤兼爧鍚嶇О - /// </summary> - public string flBuildingName = string.Empty; - /// <summary> - /// 涓版灄鎴块棿鍚嶇О - /// </summary> - public string flRoomId = string.Empty; - /// <summary> - /// 涓版灄瀹夊叏瀵嗛挜 - /// </summary> - public string flSecretKey = string.Empty; - /// <summary> - /// 涓版灄鐨勫皬鍖篒d - /// </summary> - public string flCmtId = string.Empty; - - } - [Serializable] - public class Call - { - /// <summary> - ///璁板綍涓婚敭Id - /// </summary> - public string id = string.Empty; - /// <summary> - /// 浣忓畢id - /// </summary> - public string homeId = string.Empty; - /// <summary> - /// 鍛煎彨鏃堕棿 - /// </summary> - public string callTime = string.Empty; - /// <summary> - /// 閫氳瘽鏃堕暱 - /// </summary> - public string callDuration = string.Empty; - /// <summary> - /// 鍛煎彨鐘舵�侊紙0锛氭湭鎺ワ紱1锛氬凡鎺ワ紱2锛氭嫆鎺ワ級 - /// </summary> - public string callStatus = string.Empty; - /// <summary> - /// 鏄惁寮�閿� - /// </summary> - public bool isUnlock; - /// <summary> - /// 鎴浘鍦板潃 - /// </summary> - public string screenshotUrl = string.Empty; - /// <summary> - ///涓版灄缁戝畾涓婚敭id锛堥棬鍙f満涓婚敭Id锛� - /// </summary> - public string flBindId = string.Empty; - } - [Serializable] - public class CallView - { - /// <summary> - ///骞� - /// </summary> - public string year = string.Empty; - - public List<Call> callList = new List<Call>(); - - } - [Serializable] - public class FlVideo - { - /// <summary> - /// 璁惧鍚嶇О - /// </summary> - public string aliasName = string.Empty; - /// <summary> - /// 璁惧绫诲瀷锛�(1瀹ゅ唴鏈�,2瀹ゅ鏈猴紝3鍥村鏈猴紝4绠$悊鏈�,5浜屾纭鏈�) - /// </summary> - public string devType = string.Empty; - public string uuid = string.Empty; - } + } } -- Gitblit v1.8.0