%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.RecordEquipmentTimeSetting.Select1" %>
<% 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; } } %>|
---|---|---|---|---|---|---|---|---|---|---|
<% 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().ToAutoShortDate() %> | <% break; case "EndTime": %><%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "Chatper": %><%= item.Chatper %> | <% break; case "InterLockTime": %><%= item.InterLockTime %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>