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