%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ApplicationVideo.List1" %>
<% foreach (var field in this.Fields) { switch (field) { case "ApplicationUserTrueName": //Application_UserTrueName_真实名称 %> | ',event)"> <%= Define.Get("Application_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> | <% break; case "ApplicationUserUserName": //Application_UserUserName_用户名 %>',event)"> <%= Define.Get("Application_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> | <% break; case "ApplicationRecordEquipmentDomainName": //Application_RecordEquipmentDomainName_平台名称 %>',event)"> <%= Define.Get("Application_RecordEquipmentDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Name") %> | <% break; case "ApplicationRecordEquipmentDomainCode": //Application_RecordEquipmentDomainCode_平台编码 %>',event)"> <%= Define.Get("Application_RecordEquipmentDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Code") %> | <% break; case "ApplicationRecordEquipmentName": //Application_RecordEquipmentName_设备名称 %>',event)"> <%= Define.Get("Application_RecordEquipmentName_设备名称").HtmlEncode() %> <%= OrderBy("_RecordEquipment.Name") %> | <% break; case "RecordEquipmentStatus": //RecordEquipment_设备状态 %><%# Define.Get("RecordEquipment_设备状态").HtmlEncode()%> | <% break; case "ApplicationDate": //Application_直播日期 %>',event)"> <%= Define.Get("Application_直播日期").HtmlEncode() %> <%= OrderBy("ApplicationDate") %> | <% break; case "StartTime": //Application_开始时间 %>',event)"> <%= Define.Get("Application_开始时间").HtmlEncode() %> <%= OrderBy("StartTime") %> | <% break; case "EndTime": //Application_结束时间 %>',event)"> <%= Define.Get("Application_结束时间").HtmlEncode() %> <%= OrderBy("EndTime") %> | <% break; case "RecordVideoCount": //RecordEquipment_录制数量 %><%= Define.Get("RecordEquipment_录制数量").HtmlEncode() %> | <% break; case "SortNumber": //Application_排序号 %>',event)"> <%= Define.Get("Application_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } %> <% } %>|
---|---|---|---|---|---|---|---|---|---|---|---|---|
<%-- | <% foreach (var field in this.Fields) { switch (field) { case "ApplicationUserTrueName": %> --%>"> <%= ViewData.Val("ParentUser.TrueName", item) %> | <% break; case "ApplicationUserUserName": %>"> <%= ViewData.Val("ParentUser.UserName", item) %> | <% break; case "ApplicationRecordEquipmentDomainName": %>"> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Name", item) %> | <% break; case "ApplicationRecordEquipmentDomainCode": %>"> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Code", item) %> | <% break; case "ApplicationRecordEquipmentName": %>"> <%= ViewData.Val("ParentRecordEquipment.Name", item) %> | <% break; case "RecordEquipmentStatus": %>获取中... | <% break; case "ApplicationDate": %><%= item.ApplicationDate.ToDateTimeN().ToAutoShortDate() %> | <% break; case "StartTime": %><%= item.StartTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "EndTime": %><%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "RecordVideoCount": %><%= CreateInstance.ApplicationDao.RecordVideoCount(item.Guid) %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>