using System; using System.Collections.Generic; namespace UAS_PLCDataReader.Entity { class SystemInf { /// /// 当前岗位资源对应的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; /// /// 缓存数据的文件夹 /// public static string CacheFolder= Environment.GetEnvironmentVariable("windir").Substring(0, 1)+@":\UAS_MES\CacheFile\"; /// /// 日志文件的缓存路径 /// public static string LogFolder = Environment.GetEnvironmentVariable("windir").Substring(0, 1) + @":\UAS_MES\Log\"; /// /// 缓存的XML文件的路径和名称 /// public static string CacheFilePath= Environment.GetEnvironmentVariable("windir").Substring(0, 1) + @":\UAS_MES\CacheFile\CacheInfo.xml"; public static bool UpperCollection = true; public static DataOperate.DataHelper dh; public static string CheckedColumnName = "CHECKEDCOLUMN"; } }