using JY.Model; using System.Collections.Generic; using System.IO; namespace JY.Inspection { public class Global { /// /// 错误日志路径 /// public static string strErrorLogspath = System.Windows.Forms.Application.StartupPath + "\\Logs\\ErrorLogs"; public static string strSystemLogspath = System.Windows.Forms.Application.StartupPath + "\\Logs\\SystemLogs"; /// /// MES路径日志 /// public static string strMesLogspath = System.Windows.Forms.Application.StartupPath + "\\Logs\\MesLogs"; /// /// PLC读取寄存器配置文件路径 /// public static string ConfigPath = Path.Combine(System.Windows.Forms.Application.StartupPath, "ini\\PlcConfig.ini"); /// /// 系统程序配置文件路径 /// public static string iniFilePath = Path.Combine(System.Windows.Forms.Application.StartupPath, "ini\\Configure.ini"); public static string CollectItemCfgPath = Path.Combine(System.Windows.Forms.Application.StartupPath, @"Config/采集项参照表.xlsx"); public static SystemConfig systemConfig = new SystemConfig(); public static List Instructions = new List(); } }