77 lines
2.3 KiB
C#
77 lines
2.3 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Web;
|
||
|
||
namespace VRS.Util
|
||
{
|
||
|
||
public static class ConfigInfo
|
||
{
|
||
/// <summary>
|
||
/// 图片类型
|
||
/// </summary>
|
||
public static List<string> list_pic_type = new List<string>()
|
||
{
|
||
".jpg", ".png", ".bmp", ".jpeg", ".gif", ".tiff", ".tif", ".svg", ".webp", ".heif", ".heic"
|
||
};
|
||
|
||
/// <summary>
|
||
/// 视频类型
|
||
/// </summary>
|
||
public static List<string> list_video_type = new List<string>()
|
||
{
|
||
".mp4", ".avi", ".dat", ".3gp", ".mov", ".rmvb", ".mkv", ".flv", ".wmv", ".webm", ".mpeg", ".mpg", ".ts", ".ogv"
|
||
};
|
||
|
||
/// <summary>
|
||
/// 实践模式
|
||
/// </summary>
|
||
public static Dictionary<string, string> DicSjms = new Dictionary<string, string>()
|
||
{
|
||
/*
|
||
1.结构认知:不用选学生
|
||
2.现场教学:不用选学生
|
||
3.实操训练:不用选学生
|
||
4.实操考试:不用选学生
|
||
*/
|
||
{"1","结构认知"} , {"2","现场教学"} , {"3","实操训练"} , {"4","实操考试"}
|
||
};
|
||
|
||
/// <summary>
|
||
/// 考试模式
|
||
/// </summary>
|
||
public static List<string> DicSjms_KS = new List<string>()
|
||
{
|
||
/*
|
||
4.实操考试:
|
||
*/
|
||
"4"
|
||
};
|
||
|
||
/// <summary>
|
||
/// 实践模式
|
||
/// </summary>
|
||
public static Dictionary<string, string> DicRoomState = new Dictionary<string, string>()
|
||
{
|
||
/* 0未启动,1进行中,2已结束 */
|
||
{"0","未启动"} , {"1","进行中"} , {"2","已结束"}
|
||
};
|
||
|
||
/// <summary>
|
||
/// 角色
|
||
/// </summary>
|
||
public static Dictionary<string, string> DicRole = new Dictionary<string, string>()
|
||
{
|
||
|
||
{"0","超级管理员"} , {"1","老师"} , {"2","学生"} , {"3","学校管理员"}
|
||
};
|
||
|
||
#region cos配置
|
||
public static readonly string cos_type = "upload";
|
||
public static readonly string cos_appid = "1300932214";
|
||
public static readonly string cos_region = "ap-nanjing"; //地域
|
||
public static readonly string cos_buket_name = "lzy";//lzy
|
||
#endregion
|
||
}
|
||
} |