<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.AgentServer.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "Name": //AgentServer_服务器名称 %> <% break; case "IPAddress": //AgentServer_服务器Web地址 %> <% break; case "DBUser": //AgentServer_转播SID %> <% break; case "FilePath": //AgentServer_存储文件路径 %> <% break; case "DefaultAgent": //AgentServer_默认转发类型 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Name": %> <% break; case "IPAddress": %> <% break; case "DBUser": %> <% break; case "FilePath": %> <% break; case "DefaultAgent": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> 服务状态 ',event)"> <%= Define.Get("AgentServer_服务器名称").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("AgentServer_服务器Web地址").HtmlEncode() %> <%= OrderBy("IPAddress") %> ',event)"> <%= Define.Get("AgentServer_转播SID").HtmlEncode() %> <%= OrderBy("DBUser") %> ',event)"> <%= Define.Get("AgentServer_存储文件路径").HtmlEncode() %> <%= OrderBy("FilePath") %> ',event)"> <%= Define.Get("AgentServer_默认转发类型").HtmlEncode() %> <%= OrderBy("DefaultAgent") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> 查看状态 <%= new HtmlAnchor("管理") { Target = "_blank", Href = item.IPAddress.ToString(string.Empty).ToScriptTag() }%> <%= item.Name %> <%= item.IPAddress %> <%= item.DBUser %> <%= item.FilePath %> <%= item.DefaultAgent != null ? ((AVA.ResourcesPlatform.Model.Pub.AgentServerDefaultAgentEnum)item.DefaultAgent).Define() : null %>