| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using System;
- using System.Collections.Generic;
- namespace UAS_DeviceMonitor.Entity
- {
- class SystemInf
- {
- /// <summary>
- /// 当前岗位资源对应的Caller
- /// </summary>
- public static Dictionary<string, Dictionary<string, bool>> Caller = new Dictionary<string, Dictionary<string, bool>>();
- /// <summary>
- /// 打开的串口的名称
- /// </summary>
- public static List<string> OpenPort=new List<string>();
- /// <summary>
- /// 检测音频是否可用
- /// </summary>
- public static bool CheckAudioEnable=true;
- /// <summary>
- /// 导航宽度
- /// </summary>
- public static int NavWidth = 0;
- /// <summary>
- /// HeadBar的高度
- /// </summary>
- public static int HeadBarHeight = 0;
- /// <summary>
- /// 缓存数据的文件夹
- /// </summary>
- public static string CacheFolder= Environment.GetEnvironmentVariable("windir").Substring(0, 1)+@":\UAS_MES\CacheFile\";
- /// <summary>
- /// 日志文件的缓存路径
- /// </summary>
- public static string LogFolder = Environment.GetEnvironmentVariable("windir").Substring(0, 1) + @":\UAS_MES\Log\";
- /// <summary>
- /// 缓存的XML文件的路径和名称
- /// </summary>
- 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;
- }
- }
|