|
@@ -99,21 +99,21 @@ namespace XHWK.WKTool
|
99
|
99
|
/// </summary>
|
100
|
100
|
public void LoadingVideoList()
|
101
|
101
|
{
|
102
|
|
- model_VideoList = new List<Model_Video>();
|
103
|
|
- foreach(Model_WKData Vdata in APP.WKDataList)
|
104
|
|
- {
|
105
|
|
- if (Vdata.VideoList == null)
|
106
|
|
- continue;
|
107
|
|
- foreach(Model_Video videoinfo in Vdata.VideoList)
|
108
|
|
- {
|
109
|
|
- if (string.IsNullOrWhiteSpace(videoinfo.VideoSize)|| videoinfo.VideoSize=="0 MB")
|
110
|
|
- {
|
111
|
|
- videoinfo.VideoSize = FileToolsCommon.GetFileSizeByMB(videoinfo.VideoPath).ToString() + " MB";
|
112
|
|
- }
|
113
|
|
- model_VideoList.Add(videoinfo);
|
114
|
102
|
|
115
|
|
- }
|
116
|
|
- }
|
|
103
|
+ //model_VideoList = new List<Model_Video>();
|
|
104
|
+ //foreach(Model_WKData Vdata in APP.WKDataList)
|
|
105
|
+ //{
|
|
106
|
+ // if (Vdata.VideoList == null)
|
|
107
|
+ // continue;
|
|
108
|
+ // foreach(Model_Video videoinfo in Vdata.VideoList)
|
|
109
|
+ // {
|
|
110
|
+ // if (string.IsNullOrWhiteSpace(videoinfo.VideoSize)|| videoinfo.VideoSize=="0 MB")
|
|
111
|
+ // {
|
|
112
|
+ // videoinfo.VideoSize = FileToolsCommon.GetFileSizeByMB(videoinfo.VideoPath).ToString() + " MB";
|
|
113
|
+ // }
|
|
114
|
+ // model_VideoList.Add(videoinfo);
|
|
115
|
+ // }
|
|
116
|
+ //}
|
117
|
117
|
}
|
118
|
118
|
/// <summary>
|
119
|
119
|
/// 关闭
|