<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.RecordVideo.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "RecordVideoRecordEquipmentDomainName": //RecordVideo_RecordEquipmentDomainName_录播设备平台名称 %> <% break; case "RecordVideoRecordEquipmentDomainCode": //RecordVideo_RecordEquipmentDomainCode_录播设备平台编码 %> <% break; case "RecordVideoRecordEquipmentName": //RecordVideo_RecordEquipmentName_设备名称 %> <% break; case "RecordVideoPlaySaveServerName": //RecordVideo_PlaySaveServerName_服务器名称 %> <% break; case "IsHDVideo": //RecordVideo_是否发布高清视频 %> <% break; case "RecordVideoApplicationRecordEquipmentDomainName": //RecordVideo_ApplicationRecordEquipmentDomainName_预约平台名称 %> <% break; case "RecordVideoApplicationRecordEquipmentDomainCode": //RecordVideo_ApplicationRecordEquipmentDomainCode_预约平台编码 %> <%-- <% break; case "RecordVideoApplicationRecordEquipmentName": //RecordVideo_ApplicationRecordEquipmentName_录播设备名称 %> --%> <% break; case "RecordVideoUserDomainName": //RecordVideo_UserDomainName_用户平台名称 %> <% break; case "RecordVideoUserDomainCode": //RecordVideo_UserDomainCode_用户平台编码 %> <% break; case "RecordVideoUserUserTypeName": //RecordVideo_UserUserTypeName_用户类型名称 %> <% break; case "RecordVideoUserTrueName": //RecordVideo_UserTrueName_真实名称 %> <% break; case "RecordVideoUserUserName": //RecordVideo_UserUserName_用户名 %> <% break; case "FileName": //RecordVideo_视频文件名 %> <% break; case "FileType": //RecordVideo_视频文件类型 %> <% break; case "DownloadDescription": //RecordVideo_归档说明 %> <% break; case "RecID": //RecordVideo_设备RecID %> <% break; case "FileSize": //RecordVideo_文件大小 %> <% break; case "ExtType": //RecordVideo_文件扩展名类型 %> <% break; case "StartTime": //RecordVideo_文件录制开始时间 %> <% break; case "EndTime": //RecordVideo_文件录制结束时间 %> <% break; case "QueueTime": //RecordVideo_文件队列时间 %> <% break; case "RecLen": //RecordVideo_文件播放时长 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "RecordVideoRecordEquipmentDomainName": %> <% break; case "RecordVideoRecordEquipmentDomainCode": %> <% break; case "RecordVideoRecordEquipmentName": %> <% break; case "RecordVideoPlaySaveServerName": %> <% break; case "IsHDVideo": %> <% break; case "RecordVideoApplicationRecordEquipmentDomainName": %> <% break; case "RecordVideoApplicationRecordEquipmentDomainCode": %> <%-- <% break; case "RecordVideoApplicationRecordEquipmentName": %> --%> <% break; case "RecordVideoUserDomainName": %> <% break; case "RecordVideoUserDomainCode": %> <% break; case "RecordVideoUserUserTypeName": %> <% break; case "RecordVideoUserTrueName": %> <% break; case "RecordVideoUserUserName": %> <% break; case "FileName": %> <% break; case "FileType": %> <% break; case "DownloadDescription": %> <% break; case "RecID": %> <% break; case "FileSize": %> <% break; case "ExtType": %> <% break; case "StartTime": %> <% break; case "EndTime": %> <% break; case "QueueTime": %> <% break; case "RecLen": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("RecordVideo_文件归档状态").HtmlEncode() %> <%= OrderBy("DownloadStatus") %> ',event)"> <%= Define.Get("RecordVideo_RecordEquipmentDomainName_录播设备平台名称").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Name") %> ',event)"> <%= Define.Get("RecordVideo_RecordEquipmentDomainCode_录播设备平台编码").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Code") %> ',event)"> <%= Define.Get("RecordVideo_RecordEquipmentName_设备名称").HtmlEncode() %> <%= OrderBy("_RecordEquipment.Name") %> ',event)"> <%= Define.Get("RecordVideo_PlaySaveServerName_服务器名称").HtmlEncode() %> <%= OrderBy("_PlaySaveServer.Name") %> ',event)"> <%= Define.Get("RecordVideo_是否发布高清视频").HtmlEncode() %> <%= OrderBy("IsHDVideo") %> ',event)"> <%= Define.Get("RecordVideo_ApplicationRecordEquipmentDomainName_预约平台名称").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Name") %> ',event)"> <%= Define.Get("RecordVideo_ApplicationRecordEquipmentDomainCode_预约平台编码").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Code") %> ',event)"> <%= Define.Get("RecordVideo_ApplicationRecordEquipmentName_录播设备名称").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment.Name") %> ',event)"> <%= Define.Get("RecordVideo_UserDomainName_用户平台名称").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> ',event)"> <%= Define.Get("RecordVideo_UserDomainCode_用户平台编码").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> ',event)"> <%= Define.Get("RecordVideo_UserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> ',event)"> <%= Define.Get("RecordVideo_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> ',event)"> <%= Define.Get("RecordVideo_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> ',event)"> <%= Define.Get("RecordVideo_视频文件名").HtmlEncode() %> <%= OrderBy("FileName") %> ',event)"> <%= Define.Get("RecordVideo_视频文件类型").HtmlEncode() %> <%= OrderBy("FileType") %> ',event)"> <%= Define.Get("RecordVideo_归档说明").HtmlEncode() %>(录制和直播中会导致下载异常) <%= OrderBy("DownloadDescription") %> ',event)"> <%= Define.Get("RecordVideo_设备RecID").HtmlEncode() %> <%= OrderBy("RecID") %> ',event)"> <%= Define.Get("RecordVideo_文件大小").HtmlEncode() %> <%= OrderBy("FileSize") %> ',event)"> <%= Define.Get("RecordVideo_文件扩展名类型").HtmlEncode() %> <%= OrderBy("ExtType") %> ',event)"> <%= Define.Get("RecordVideo_文件录制开始时间").HtmlEncode() %> <%= OrderBy("StartTime") %> ',event)"> <%= Define.Get("RecordVideo_文件录制结束时间").HtmlEncode() %> <%= OrderBy("EndTime") %> ',event)"> <%= Define.Get("RecordVideo_文件队列时间").HtmlEncode() %> <%= OrderBy("QueueTime") %> ',event)"> <%= Define.Get("RecordVideo_文件播放时长").HtmlEncode() %> <%= OrderBy("RecLen") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= new HtmlHidden("",item.FileName){ Class="SpanFileName"} %> <%= DefineEnum.查看.Define() %> <%= item.DownloadStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordVideoDownloadStatusEnum)item.DownloadStatus).Define() : null %> "> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentRecordEquipment.Name", item) %> "> <%= ViewData.Val("ParentPlaySaveServer.Name", item) %> <%= item.IsHDVideo? "是" : "否" %> "> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.Name", item) %> "> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentUser.TrueName", item) %> "> <%= ViewData.Val("ParentUser.UserName", item) %> <%= item.FileName %> 下载 <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordVideoFileTypeEnum)item.FileType).Define() : null %> <%= item.DownloadDescription.ToFirstString(40,"...",true) %> <%= item.RecID %> <%= AVA.ResourcesPlatform.Config.Helper.FormatSize(item.FileSize==null?0:item.FileSize.Value) %> <%= item.ExtType != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordVideoExtTypeEnum)item.ExtType).Define() : null %> <%= item.StartTime.ToDateTimeN().ToAutoShortDate() %> <%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> <%= item.QueueTime.ToDateTimeN().ToAutoShortDate() %> <%= AVA.ResourcesPlatform.Config.Helper.SecondToTime(item.RecLen.ToDouble()) %>