1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using System;
- using System.Collections.Generic;
- namespace UAS_PLCDataReader.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;
- public static string CheckedColumnName = "CHECKEDCOLUMN";
- }
- }
|