<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.RecordEquipmentTimeSetting.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "RecordEquipmentTimeSettingRecordEquipmentDomainName": //RecordEquipmentTimeSetting_RecordEquipmentDomainName_平台名称 %> <% break; case "RecordEquipmentTimeSettingRecordEquipmentDomainCode": //RecordEquipmentTimeSetting_RecordEquipmentDomainCode_平台编码 %> <% break; case "RecordEquipmentTimeSettingRecordEquipmentName": //RecordEquipmentTimeSetting_RecordEquipmentName_设备名称 %> <% break; case "IsWeek": //RecordEquipmentTimeSetting_是否周末 %> <% break; case "StartTime": //RecordEquipmentTimeSetting_开始时间 %> <% break; case "EndTime": //RecordEquipmentTimeSetting_结束时间 %> <% break; case "Chatper": //RecordEquipmentTimeSetting_第几节课 %> <% break; case "InterLockTime": //RecordEquipmentTimeSetting_允许时间交错 %> <% break; case "SortNumber": //RecordEquipmentTimeSetting_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "RecordEquipmentTimeSettingRecordEquipmentDomainName": %> <% break; case "RecordEquipmentTimeSettingRecordEquipmentDomainCode": %> <% break; case "RecordEquipmentTimeSettingRecordEquipmentName": %> <% break; case "IsWeek": %> <% break; case "StartTime": %> <% break; case "EndTime": %> <% break; case "Chatper": %> <% break; case "InterLockTime": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("RecordEquipmentTimeSetting_RecordEquipmentDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Name") %> ',event)"> <%= Define.Get("RecordEquipmentTimeSetting_RecordEquipmentDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Code") %> ',event)"> <%= Define.Get("RecordEquipmentTimeSetting_RecordEquipmentName_设备名称").HtmlEncode() %> <%= OrderBy("_RecordEquipment.Name") %> ',event)"> <%= Define.Get("RecordEquipmentTimeSetting_是否周末").HtmlEncode() %> <%= OrderBy("IsWeek") %> ',event)"> <%= Define.Get("RecordEquipmentTimeSetting_开始时间").HtmlEncode() %> <%= OrderBy("StartTime") %> ',event)"> <%= Define.Get("RecordEquipmentTimeSetting_结束时间").HtmlEncode() %> <%= OrderBy("EndTime") %> ',event)"> <%= Define.Get("RecordEquipmentTimeSetting_第几节课").HtmlEncode() %> <%= OrderBy("Chatper") %> ',event)"> <%= Define.Get("RecordEquipmentTimeSetting_允许时间交错").HtmlEncode() %> <%= OrderBy("InterLockTime") %> ',event)"> <%= Define.Get("RecordEquipmentTimeSetting_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> "> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentRecordEquipment.Name", item) %> <%= item.IsWeek != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordEquipmentTimeSettingIsWeekEnum)item.IsWeek).Define() : null %> <%= item.StartTime.ToDateTimeN().ToTime()%> <%= item.EndTime.ToDateTimeN().ToTime() %> <%= item.Chatper %> <%= item.InterLockTime %> <%= item.SortNumber %>