using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace UAS_DXFORM { class SystemInf { /// /// 连接字符串,用户登录的时候选择了数据库之后会使用该字符串作为连接字符串 /// public static string ConnectionString; /// /// 用户登录的时间 /// public static string LoginTime; /// /// 当前的连接数据库 /// public static string CurrentDB; /// /// 配置文件默认的数据库 /// public static string DefaultDB; /// /// 屏幕的宽度 /// public static int ScreenWidth; /// /// 屏幕的高度 /// public static int ScreenHeight; /// /// 当前岗位资源对应的Caller /// public static Dictionary> Caller = new Dictionary>(); /// /// 打开的串口的名称 /// public static List OpenPort = new List(); /// /// 检测音频是否可用 /// public static bool CheckAudioEnable = true; /// /// 导航宽度 /// public static int NavWidth = 0; /// /// HeadBar的高度 /// public static int HeadBarHeight = 0; /// /// 当前程序进程ID /// public static int ProcessesID; /// /// 是否允许打印程序 /// public static bool EnablePrint; /// /// 日志文件的缓存路径 /// public static string LogFolder = Environment.GetEnvironmentVariable("windir").Substring(0, 1) + @":\UAS_DXMES\Log\"; public static bool UpperCollection = true; } }