using Org.BouncyCastle.Asn1.Crmf; using System.Collections.Generic; using System.Windows; using System.Windows.Input; using XHWK.Model; namespace XHWK.WKTool { /// /// 文件目录 /// public partial class FileDirectoryWindow : Window { /// /// 视频模型 /// List model_VideoList =null; /// /// 文件目录 /// public FileDirectoryWindow() { InitializeComponent(); Initialize(); } /// /// 初始化 /// public void Initialize() { //加载视频列表 LoadingVideoList(); //显示视频 foreach (Model_Video videoinfo in model_VideoList) { //是否已上传 //videoinfo.IsUpload; //录制时间 //videoinfo.RSTime; //文件大小 //videoinfo.VideoSize; //文件缩略图路径 //videoinfo.ThumbnailPath; //文件唯一标示 上传事件筛选需要上传的视频 //videoinfo.FileGuid; //文件存储路径 //videoinfo.VidePath; } } /// /// 加载视频列表 /// public void LoadingVideoList() { model_VideoList = new List(); foreach(Model_WKData Vdata in APP.WKDataList) { if (Vdata.VideoList == null) continue; foreach(Model_Video videoinfo in Vdata.VideoList) { model_VideoList.Add(videoinfo); } } } /// /// 关闭 /// /// /// private void btnDown_Click(object sender, RoutedEventArgs e) { this.Hide(); } /// /// 窗口移动 /// /// /// private void Window_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { DragMove(); } } }