Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\RecordEquipment\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.RecordEquipment.Select1" %> <table class="g-table-comm" cellpadding="2px" cellspacing="0px"> <tr class="thead"> <th class="wd0"> </th> <th class="wd1"> </th> <% foreach (var field in this.Fields) { switch (field) { case "Status": //RecordEquipment_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "RecordEquipmentDomainName": //RecordEquipment_DomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_DomainName_??????").HtmlEncode() %> <%= OrderBy("_Domain.Name") %> </span> </th> <% break; case "RecordEquipmentDomainCode": //RecordEquipment_DomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_DomainCode_??????").HtmlEncode() %> <%= OrderBy("_Domain.Code") %> </span> </th> <% break; case "Name": //RecordEquipment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_??????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "FactoryType": //RecordEquipment_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FactoryType").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_????????????").HtmlEncode() %> <%= OrderBy("FactoryType") %> </span> </th> <% break; case "RecordEquipmentPlaySaveServerName": //RecordEquipment_PlaySaveServerName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_PlaySaveServer.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_PlaySaveServerName_????????").HtmlEncode() %> <%= OrderBy("_PlaySaveServer.Name") %> </span> </th> <% break; case "ProductVersion": //RecordEquipment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ProductVersion").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_??????").HtmlEncode() %> <%= OrderBy("ProductVersion") %> </span> </th> <% break; case "IPAddress": //RecordEquipment_IP??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IPAddress").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_IP???").HtmlEncode() %> <%= OrderBy("IPAddress") %> </span> </th> <% break; case "WebPort": //RecordEquipment_Web??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"WebPort").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_Web???").HtmlEncode() %> <%= OrderBy("WebPort") %> </span> </th> <% break; case "ProgramID": //RecordEquipment_???ID %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ProgramID").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_???ID").HtmlEncode() %> <%= OrderBy("ProgramID") %> </span> </th> <% break; case "RecordPort": //RecordEquipment_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"RecordPort").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_????????").HtmlEncode() %> <%= OrderBy("RecordPort") %> </span> </th> <% break; case "LoginName": //RecordEquipment_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"LoginName").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_?????").HtmlEncode() %> <%= OrderBy("LoginName") %> </span> </th> <% break; case "Password": //RecordEquipment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Password").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_??????").HtmlEncode() %> <%= OrderBy("Password") %> </span> </th> <% break; case "RecordVideo1": //RecordEquipment_??????Video1 %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"RecordVideo1").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_??????Video1").HtmlEncode() %> <%= OrderBy("RecordVideo1") %> </span> </th> <% break; case "RecordVideo2": //RecordEquipment_??????Video2 %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"RecordVideo2").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_??????Video2").HtmlEncode() %> <%= OrderBy("RecordVideo2") %> </span> </th> <% break; case "RecordVGA": //RecordEquipment_???VGA %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"RecordVGA").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_???VGA").HtmlEncode() %> <%= OrderBy("RecordVGA") %> </span> </th> <% break; case "AutoRecord": //RecordEquipment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"AutoRecord").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_??????").HtmlEncode() %> <%= OrderBy("AutoRecord") %> </span> </th> <% break; case "Description": //RecordEquipment_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "ASHas": //RecordEquipment_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ASHas").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_????????").HtmlEncode() %> <%= OrderBy("ASHas") %> </span> </th> <% break; case "RecordEquipmentAgentServerName": //RecordEquipment_AgentServerName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_AgentServer.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_AgentServerName_????????").HtmlEncode() %> <%= OrderBy("_AgentServer.Name") %> </span> </th> <%-- <% break; case "AutoOpenTime": //RecordEquipment_?????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"AutoOpenTime").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_??????????").HtmlEncode() %> <%= OrderBy("AutoOpenTime") %> </span> </th> <% break; case "AutoCloseTime": //RecordEquipment_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"AutoCloseTime").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_?????????").HtmlEncode() %> <%= OrderBy("AutoCloseTime") %> </span> </th>--%> <% break; case "IsSwitchByOrder": //RecordEquipment_????????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IsSwitchByOrder").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_?????????????????").HtmlEncode() %> <%= OrderBy("IsSwitchByOrder") %> </span> </th> <% break; case "OnLiveCover": //RecordEquipment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"OnLiveCover").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_??????").HtmlEncode() %> <%= OrderBy("OnLiveCover") %> </span> </th> <% break; case "OffLiveCover": //RecordEquipment_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"OffLiveCover").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_????????").HtmlEncode() %> <%= OrderBy("OffLiveCover") %> </span> </th> <% break; case "PushRTMPUrl": //RecordEquipment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"PushRTMPUrl").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_??????").HtmlEncode() %> <%= OrderBy("PushRTMPUrl") %> </span> </th> <% break; case "PullRTMPUrl": //RecordEquipment_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"PullRTMPUrl").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_??????").HtmlEncode() %> <%= OrderBy("PullRTMPUrl") %> </span> </th> <% break; case "VideoRetentionDays": //RecordEquipment_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"VideoRetentionDays").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_????????????").HtmlEncode() %> <%= OrderBy("VideoRetentionDays") %> </span> </th> <% break; case "IsAgentHD": //RecordEquipment_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IsAgentHD").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_?????????").HtmlEncode() %> <%= OrderBy("IsAgentHD") %> </span> </th> <% break; case "EquipmentType": //RecordEquipment_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"EquipmentType").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_?????????").HtmlEncode() %> <%= OrderBy("EquipmentType") %> </span> </th> <% break; case "IsSaveInEquipment": //RecordEquipment_????????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IsSaveInEquipment").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_?????????????????").HtmlEncode() %> <%= OrderBy("IsSaveInEquipment") %> </span> </th> <% break; case "IsSaveInAgent": //RecordEquipment_????????????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IsSaveInAgent").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_?????????????????").HtmlEncode() %> <%= OrderBy("IsSaveInAgent") %> </span> </th> <% break; case "SortNumber": //RecordEquipment_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipment_?????").HtmlEncode() %> <%= OrderBy("SortNumber") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/RecordEquipment/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.Name.ToString(null).ToScriptTag() %>");if (typeof (window.parent.window.GetTimeRange) != 'undefined') {window.parent.window.GetTimeRange()};if (typeof (window.parent.window.GetDayOfWeekRecommend) != 'undefined') {window.parent.window.GetDayOfWeekRecommend()}; "><input type="checkbox" /></td> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <td> <span title="<%= (item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordEquipmentStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordEquipmentStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "RecordEquipmentDomainName": %> <td> <span title="<%= ViewData.Val("ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentDomain.Name", item) %> </span> </td> <% break; case "RecordEquipmentDomainCode": %> <td> <span title="<%= ViewData.Val("ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentDomain.Code", item) %> </span> </td> <% break; case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <% break; case "FactoryType": %> <td> <span title="<%= (item.FactoryType != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordEquipmentFactoryTypeEnum)item.FactoryType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.FactoryType != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordEquipmentFactoryTypeEnum)item.FactoryType).Define() : null %> </span> </td> <% break; case "RecordEquipmentPlaySaveServerName": %> <td> <span title="<%= ViewData.Val("ParentPlaySaveServer.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentPlaySaveServer.Name", item) %> </span> </td> <% break; case "ProductVersion": %> <td> <span title="<%= (item.ProductVersion != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordEquipmentProductVersionEnum)item.ProductVersion).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.ProductVersion != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordEquipmentProductVersionEnum)item.ProductVersion).Define() : null %> </span> </td> <% break; case "IPAddress": %> <td> <span title="<%= item.IPAddress.ToString(string.Empty).ToScriptTag() %>"> <%= item.IPAddress %> </span> </td> <% break; case "WebPort": %> <td> <span title="<%= item.WebPort.ToString(string.Empty).ToScriptTag() %>"> <%= item.WebPort %> </span> </td> <% break; case "ProgramID": %> <td> <span title="<%= item.ProgramID.ToString(string.Empty).ToScriptTag() %>"> <%= item.ProgramID %> </span> </td> <% break; case "RecordPort": %> <td> <span title="<%= item.RecordPort.ToString(string.Empty).ToScriptTag() %>"> <%= item.RecordPort %> </span> </td> <% break; case "LoginName": %> <td> <span title="<%= item.LoginName.ToString(string.Empty).ToScriptTag() %>"> <%= item.LoginName %> </span> </td> <% break; case "Password": %> <td> <span title="<%= item.Password.ToString(string.Empty).ToScriptTag() %>"> <%= item.Password %> </span> </td> <% break; case "RecordVideo1": %> <td> <span title="<%= item.RecordVideo1.ToString(string.Empty).ToScriptTag() %>"> <%= item.RecordVideo1 %> </span> </td> <% break; case "RecordVideo2": %> <td> <span title="<%= item.RecordVideo2.ToString(string.Empty).ToScriptTag() %>"> <%= item.RecordVideo2 %> </span> </td> <% break; case "RecordVGA": %> <td> <span title="<%= item.RecordVGA.ToString(string.Empty).ToScriptTag() %>"> <%= item.RecordVGA %> </span> </td> <% break; case "AutoRecord": %> <td> <span title="<%= item.AutoRecord.ToString(string.Empty).ToScriptTag() %>"> <%= item.AutoRecord %> </span> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "ASHas": %> <td> <span title="<%= item.ASHas.ToString(string.Empty).ToScriptTag() %>"> <%= item.ASHas %> </span> </td> <% break; case "RecordEquipmentAgentServerName": %> <td> <span title="<%= ViewData.Val("ParentAgentServer.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentAgentServer.Name", item) %> </span> </td> <%-- <% break; case "AutoOpenTime": %> <td> <span title="<%= item.AutoOpenTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.AutoOpenTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "AutoCloseTime": %> <td> <span title="<%= item.AutoCloseTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.AutoCloseTime.ToDateTimeN().ToAutoShortDate() %> </span> </td>--%> <% break; case "IsSwitchByOrder": %> <td> <span title="<%= item.IsSwitchByOrder.ToString(string.Empty).ToScriptTag() %>"> <%= item.IsSwitchByOrder %> </span> </td> <% break; case "OnLiveCover": %> <td> <%= IMG(SettingGroup.RecordEquipmentUploadPath, item.OnLiveCover) %> <%= item.OnLiveCover %> </td> <% break; case "OffLiveCover": %> <td> <%= IMG(SettingGroup.RecordEquipmentUploadPath, item.OffLiveCover) %> <%= item.OffLiveCover %> </td> <% break; case "PushRTMPUrl": %> <td> <span title="<%= item.PushRTMPUrl.ToString(string.Empty).ToScriptTag() %>"> <%= item.PushRTMPUrl %> </span> </td> <% break; case "PullRTMPUrl": %> <td> <span title="<%= item.PullRTMPUrl.ToString(string.Empty).ToScriptTag() %>"> <%= item.PullRTMPUrl %> </span> </td> <% break; case "VideoRetentionDays": %> <td> <span title="<%= item.VideoRetentionDays.ToString(string.Empty).ToScriptTag() %>"> <%= item.VideoRetentionDays %> </span> </td> <% break; case "IsAgentHD": %> <td> <span title="<%= item.IsAgentHD.ToString(string.Empty).ToScriptTag() %>"> <%= item.IsAgentHD %> </span> </td> <% break; case "EquipmentType": %> <td> <span title="<%= (item.EquipmentType != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordEquipmentEquipmentTypeEnum)item.EquipmentType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.EquipmentType != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordEquipmentEquipmentTypeEnum)item.EquipmentType).Define() : null %> </span> </td> <% break; case "IsSaveInEquipment": %> <td> <span title="<%= item.IsSaveInEquipment.ToString(string.Empty).ToScriptTag() %>"> <%= item.IsSaveInEquipment %> </span> </td> <% break; case "IsSaveInAgent": %> <td> <span title="<%= item.IsSaveInAgent.ToString(string.Empty).ToScriptTag() %>"> <%= item.IsSaveInAgent %> </span> </td> <% break; case "SortNumber": %> <td> <span title="<%= item.SortNumber.ToString(string.Empty).ToScriptTag() %>"> <%= item.SortNumber %> </span> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de