using System.Collections.Generic;
using System;
using System.Web.UI.WebControls;
using Microsoft.Office.Interop.Word;
namespace BLL
{
public static class Enums
{
#region 培训考试
///
/// 培训效果
///
public enum Outcome
{
掌握 = 0,
熟悉 = 1,
了解 = 2,
}
///
/// 培训效果
///
public static Dictionary OutcomeMap = new Dictionary
{
{ "掌握" ,(int)Outcome.掌握},
{ "熟悉" ,(int)Outcome.熟悉},
{ "了解" ,(int)Outcome.了解}
};
///
/// 培训效果下拉框
///
///
///
public static void InitOutcomeDropDownList(FineUIPro.DropDownList dropName, bool isShowPlease)
{
dropName.DataValueField = "Value";
dropName.DataTextField = "Key";
dropName.DataSource = OutcomeMap;
dropName.DataBind();
if (isShowPlease)
{
Funs.FineUIPleaseSelect(dropName);
}
}
///
/// 检查重修计划类型
///
public enum RetakeCourseType
{
日常巡检 = 1,
专项检查 = 2,
领导带班检查 = 3,
}
#endregion
}
}