Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\RecordEquipmentTimeSetting\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.RecordEquipmentTimeSetting.List1" %> <table class="g-table-comm" cellpadding="2px" cellspacing="0px"> <tr class="thead"> <th class="wd0"> </th> <th class="wd1 ckb"> <%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.??????????????????.Define(), Lang = ".listContainer .trsel" }%> </th> <th class="wd2"> </th> <% foreach (var field in this.Fields) { switch (field) { case "RecordEquipmentTimeSettingRecordEquipmentDomainName": //RecordEquipmentTimeSetting_RecordEquipmentDomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_RecordEquipment._Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentTimeSetting_RecordEquipmentDomainName_??????").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Name") %> </span> </th> <% break; case "RecordEquipmentTimeSettingRecordEquipmentDomainCode": //RecordEquipmentTimeSetting_RecordEquipmentDomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_RecordEquipment._Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentTimeSetting_RecordEquipmentDomainCode_??????").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Code") %> </span> </th> <% break; case "RecordEquipmentTimeSettingRecordEquipmentName": //RecordEquipmentTimeSetting_RecordEquipmentName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_RecordEquipment.Name").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentTimeSetting_RecordEquipmentName_??????").HtmlEncode() %> <%= OrderBy("_RecordEquipment.Name") %> </span> </th> <% break; case "IsWeek": //RecordEquipmentTimeSetting_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IsWeek").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentTimeSetting_??????").HtmlEncode() %> <%= OrderBy("IsWeek") %> </span> </th> <% break; case "StartTime": //RecordEquipmentTimeSetting_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"StartTime").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentTimeSetting_???????").HtmlEncode() %> <%= OrderBy("StartTime") %> </span> </th> <% break; case "EndTime": //RecordEquipmentTimeSetting_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"EndTime").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentTimeSetting_??????").HtmlEncode() %> <%= OrderBy("EndTime") %> </span> </th> <% break; case "Chatper": //RecordEquipmentTimeSetting_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Chatper").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentTimeSetting_??????").HtmlEncode() %> <%= OrderBy("Chatper") %> </span> </th> <% break; case "InterLockTime": //RecordEquipmentTimeSetting_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"InterLockTime").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentTimeSetting_?????????").HtmlEncode() %> <%= OrderBy("InterLockTime") %> </span> </th> <% break; case "SortNumber": //RecordEquipmentTimeSetting_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("RecordEquipmentTimeSetting_?????").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/RecordEquipmentTimeSetting/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 ckb"> <%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td class="wd2"> <nobr><a href="edit.aspx?guid=<%= item.Guid %>"><%= DefineEnum.???.Define() %></a></nobr> </td> <% foreach (var field in this.Fields) { switch (field) { case "RecordEquipmentTimeSettingRecordEquipmentDomainName": %> <td> <span title="<%= ViewData.Val("ParentRecordEquipment.ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Name", item) %> </span> </td> <% break; case "RecordEquipmentTimeSettingRecordEquipmentDomainCode": %> <td> <span title="<%= ViewData.Val("ParentRecordEquipment.ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Code", item) %> </span> </td> <% break; case "RecordEquipmentTimeSettingRecordEquipmentName": %> <td> <span title="<%= ViewData.Val("ParentRecordEquipment.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentRecordEquipment.Name", item) %> </span> </td> <% break; case "IsWeek": %> <td> <span title="<%= (item.IsWeek != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordEquipmentTimeSettingIsWeekEnum)item.IsWeek).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.IsWeek != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordEquipmentTimeSettingIsWeekEnum)item.IsWeek).Define() : null %> </span> </td> <% break; case "StartTime": %> <td> <span title="<%= item.StartTime.ToDateTimeN().ToTime() %>"> <%= item.StartTime.ToDateTimeN().ToTime()%> </span> </td> <% break; case "EndTime": %> <td> <span title="<%= item.EndTime.ToDateTimeN().ToTime() %>"> <%= item.EndTime.ToDateTimeN().ToTime() %> </span> </td> <% break; case "Chatper": %> <td> <span title="<%= item.Chatper.ToString(string.Empty).ToScriptTag() %>"> <%= item.Chatper %> </span> </td> <% break; case "InterLockTime": %> <td> <span title="<%= item.InterLockTime.ToString(string.Empty).ToScriptTag() %>"> <%= item.InterLockTime %> </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