%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.AgentServer.Select1" %>
<% foreach (var field in this.Fields) { switch (field) { case "Name": //AgentServer_服务器名称 %> | ',event)"> <%= Define.Get("AgentServer_服务器名称").HtmlEncode() %> <%= OrderBy("Name") %> | <% break; case "IPAddress": //AgentServer_服务器Web地址 %>',event)"> <%= Define.Get("AgentServer_服务器Web地址").HtmlEncode() %> <%= OrderBy("IPAddress") %> | <% break; case "DBUser": //AgentServer_转播SID %>',event)"> <%= Define.Get("AgentServer_转播SID").HtmlEncode() %> <%= OrderBy("DBUser") %> | <% break; case "FilePath": //AgentServer_存储文件路径 %>',event)"> <%= Define.Get("AgentServer_存储文件路径").HtmlEncode() %> <%= OrderBy("FilePath") %> | <% break; case "DefaultAgent": //AgentServer_默认转发类型 %>',event)"> <%= Define.Get("AgentServer_默认转发类型").HtmlEncode() %> <%= OrderBy("DefaultAgent") %> | <% break; } } %>|
---|---|---|---|---|---|---|
<% foreach (var field in this.Fields) { switch (field) { case "Name": %> | <%= item.Name %> | <% break; case "IPAddress": %><%= item.IPAddress %> | <% break; case "DBUser": %><%= item.DBUser %> | <% break; case "FilePath": %><%= item.FilePath %> | <% break; case "DefaultAgent": %><%= item.DefaultAgent != null ? ((AVA.ResourcesPlatform.Model.Pub.AgentServerDefaultAgentEnum)item.DefaultAgent).Define() : null %> | <% break; } } %>