%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.RecordEquipment.Select1" %>
<% foreach (var field in this.Fields) { switch (field) { case "Status": //RecordEquipment_状态 %> | ',event)"> <%= Define.Get("RecordEquipment_状态").HtmlEncode() %> <%= OrderBy("Status") %> | <% break; case "RecordEquipmentDomainName": //RecordEquipment_DomainName_平台名称 %>',event)"> <%= Define.Get("RecordEquipment_DomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Domain.Name") %> | <% break; case "RecordEquipmentDomainCode": //RecordEquipment_DomainCode_平台编码 %>',event)"> <%= Define.Get("RecordEquipment_DomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Domain.Code") %> | <% break; case "Name": //RecordEquipment_设备名称 %>',event)"> <%= Define.Get("RecordEquipment_设备名称").HtmlEncode() %> <%= OrderBy("Name") %> | <% break; case "FactoryType": //RecordEquipment_录播设备厂家类型 %>',event)"> <%= Define.Get("RecordEquipment_录播设备厂家类型").HtmlEncode() %> <%= OrderBy("FactoryType") %> | <% break; case "RecordEquipmentPlaySaveServerName": //RecordEquipment_PlaySaveServerName_服务器名称 %>',event)"> <%= Define.Get("RecordEquipment_PlaySaveServerName_服务器名称").HtmlEncode() %> <%= OrderBy("_PlaySaveServer.Name") %> | <% break; case "ProductVersion": //RecordEquipment_产品类别 %>',event)"> <%= Define.Get("RecordEquipment_产品类别").HtmlEncode() %> <%= OrderBy("ProductVersion") %> | <% break; case "IPAddress": //RecordEquipment_IP地址 %>',event)"> <%= Define.Get("RecordEquipment_IP地址").HtmlEncode() %> <%= OrderBy("IPAddress") %> | <% break; case "WebPort": //RecordEquipment_Web端口 %>',event)"> <%= Define.Get("RecordEquipment_Web端口").HtmlEncode() %> <%= OrderBy("WebPort") %> | <% break; case "ProgramID": //RecordEquipment_节目ID %>',event)"> <%= Define.Get("RecordEquipment_节目ID").HtmlEncode() %> <%= OrderBy("ProgramID") %> | <% break; case "RecordPort": //RecordEquipment_录播端口号 %>',event)"> <%= Define.Get("RecordEquipment_录播端口号").HtmlEncode() %> <%= OrderBy("RecordPort") %> | <% break; case "LoginName": //RecordEquipment_登录名 %>',event)"> <%= Define.Get("RecordEquipment_登录名").HtmlEncode() %> <%= OrderBy("LoginName") %> | <% break; case "Password": //RecordEquipment_登录密码 %>',event)"> <%= Define.Get("RecordEquipment_登录密码").HtmlEncode() %> <%= OrderBy("Password") %> | <% break; case "RecordVideo1": //RecordEquipment_是否录制Video1 %>',event)"> <%= Define.Get("RecordEquipment_是否录制Video1").HtmlEncode() %> <%= OrderBy("RecordVideo1") %> | <% break; case "RecordVideo2": //RecordEquipment_是否录制Video2 %>',event)"> <%= Define.Get("RecordEquipment_是否录制Video2").HtmlEncode() %> <%= OrderBy("RecordVideo2") %> | <% break; case "RecordVGA": //RecordEquipment_录制VGA %>',event)"> <%= Define.Get("RecordEquipment_录制VGA").HtmlEncode() %> <%= OrderBy("RecordVGA") %> | <% break; case "AutoRecord": //RecordEquipment_自动录制 %>',event)"> <%= Define.Get("RecordEquipment_自动录制").HtmlEncode() %> <%= OrderBy("AutoRecord") %> | <% break; case "Description": //RecordEquipment_描述 %>',event)"> <%= Define.Get("RecordEquipment_描述").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "ASHas": //RecordEquipment_转播重编码 %>',event)"> <%= Define.Get("RecordEquipment_转播重编码").HtmlEncode() %> <%= OrderBy("ASHas") %> | <% break; case "RecordEquipmentAgentServerName": //RecordEquipment_AgentServerName_服务器名称 %>',event)"> <%= Define.Get("RecordEquipment_AgentServerName_服务器名称").HtmlEncode() %> <%= OrderBy("_AgentServer.Name") %> | <%-- <% break; case "AutoOpenTime": //RecordEquipment_自动开机时间 %>',event)"> <%= Define.Get("RecordEquipment_自动开机时间").HtmlEncode() %> <%= OrderBy("AutoOpenTime") %> | <% break; case "AutoCloseTime": //RecordEquipment_自动关机时间 %>',event)"> <%= Define.Get("RecordEquipment_自动关机时间").HtmlEncode() %> <%= OrderBy("AutoCloseTime") %> | --%> <% break; case "IsSwitchByOrder": //RecordEquipment_是否根据预约时间开关机 %>',event)"> <%= Define.Get("RecordEquipment_是否根据预约时间开关机").HtmlEncode() %> <%= OrderBy("IsSwitchByOrder") %> | <% break; case "OnLiveCover": //RecordEquipment_直播封面 %>',event)"> <%= Define.Get("RecordEquipment_直播封面").HtmlEncode() %> <%= OrderBy("OnLiveCover") %> | <% break; case "OffLiveCover": //RecordEquipment_未直播封面 %>',event)"> <%= Define.Get("RecordEquipment_未直播封面").HtmlEncode() %> <%= OrderBy("OffLiveCover") %> | <% break; case "PushRTMPUrl": //RecordEquipment_推流地址 %>',event)"> <%= Define.Get("RecordEquipment_推流地址").HtmlEncode() %> <%= OrderBy("PushRTMPUrl") %> | <% break; case "PullRTMPUrl": //RecordEquipment_拉流地址 %>',event)"> <%= Define.Get("RecordEquipment_拉流地址").HtmlEncode() %> <%= OrderBy("PullRTMPUrl") %> | <% break; case "VideoRetentionDays": //RecordEquipment_录播视频保留天数 %>',event)"> <%= Define.Get("RecordEquipment_录播视频保留天数").HtmlEncode() %> <%= OrderBy("VideoRetentionDays") %> | <% break; case "IsAgentHD": //RecordEquipment_是否转发高清 %>',event)"> <%= Define.Get("RecordEquipment_是否转发高清").HtmlEncode() %> <%= OrderBy("IsAgentHD") %> | <% break; case "EquipmentType": //RecordEquipment_录播设备类型 %>',event)"> <%= Define.Get("RecordEquipment_录播设备类型").HtmlEncode() %> <%= OrderBy("EquipmentType") %> | <% break; case "IsSaveInEquipment": //RecordEquipment_录制文件是否保存在录播 %>',event)"> <%= Define.Get("RecordEquipment_录制文件是否保存在录播").HtmlEncode() %> <%= OrderBy("IsSaveInEquipment") %> | <% break; case "IsSaveInAgent": //RecordEquipment_录制文件是否保存在转发 %>',event)"> <%= Define.Get("RecordEquipment_录制文件是否保存在转发").HtmlEncode() %> <%= OrderBy("IsSaveInAgent") %> | <% break; case "SortNumber": //RecordEquipment_排序号 %>',event)"> <%= Define.Get("RecordEquipment_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<% foreach (var field in this.Fields) { switch (field) { case "Status": %> | <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordEquipmentStatusEnum)item.Status).Define() : null %> | <% break; case "RecordEquipmentDomainName": %>"> <%= ViewData.Val("ParentDomain.Name", item) %> | <% break; case "RecordEquipmentDomainCode": %>"> <%= ViewData.Val("ParentDomain.Code", item) %> | <% break; case "Name": %><%= item.Name %> | <% break; case "FactoryType": %><%= item.FactoryType != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordEquipmentFactoryTypeEnum)item.FactoryType).Define() : null %> | <% break; case "RecordEquipmentPlaySaveServerName": %>"> <%= ViewData.Val("ParentPlaySaveServer.Name", item) %> | <% break; case "ProductVersion": %><%= item.ProductVersion != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordEquipmentProductVersionEnum)item.ProductVersion).Define() : null %> | <% break; case "IPAddress": %><%= item.IPAddress %> | <% break; case "WebPort": %><%= item.WebPort %> | <% break; case "ProgramID": %><%= item.ProgramID %> | <% break; case "RecordPort": %><%= item.RecordPort %> | <% break; case "LoginName": %><%= item.LoginName %> | <% break; case "Password": %><%= item.Password %> | <% break; case "RecordVideo1": %><%= item.RecordVideo1 %> | <% break; case "RecordVideo2": %><%= item.RecordVideo2 %> | <% break; case "RecordVGA": %><%= item.RecordVGA %> | <% break; case "AutoRecord": %><%= item.AutoRecord %> | <% break; case "Description": %><%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "ASHas": %><%= item.ASHas %> | <% break; case "RecordEquipmentAgentServerName": %>"> <%= ViewData.Val("ParentAgentServer.Name", item) %> | <%-- <% break; case "AutoOpenTime": %><%= item.AutoOpenTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "AutoCloseTime": %><%= item.AutoCloseTime.ToDateTimeN().ToAutoShortDate() %> | --%> <% break; case "IsSwitchByOrder": %><%= item.IsSwitchByOrder %> | <% break; case "OnLiveCover": %><%= IMG(SettingGroup.RecordEquipmentUploadPath, item.OnLiveCover) %> <%= item.OnLiveCover %> | <% break; case "OffLiveCover": %><%= IMG(SettingGroup.RecordEquipmentUploadPath, item.OffLiveCover) %> <%= item.OffLiveCover %> | <% break; case "PushRTMPUrl": %><%= item.PushRTMPUrl %> | <% break; case "PullRTMPUrl": %><%= item.PullRTMPUrl %> | <% break; case "VideoRetentionDays": %><%= item.VideoRetentionDays %> | <% break; case "IsAgentHD": %><%= item.IsAgentHD %> | <% break; case "EquipmentType": %><%= item.EquipmentType != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordEquipmentEquipmentTypeEnum)item.EquipmentType).Define() : null %> | <% break; case "IsSaveInEquipment": %><%= item.IsSaveInEquipment %> | <% break; case "IsSaveInAgent": %><%= item.IsSaveInAgent %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>