|
|
|
@ -24,6 +24,8 @@ namespace Mesnac.Gui.Run.Global
|
|
|
|
|
|
|
|
|
|
private static AppConfigHandler instance = null;
|
|
|
|
|
|
|
|
|
|
public string IsNormalUser { get; set; }
|
|
|
|
|
|
|
|
|
|
private string _mesnacPlugInPath = String.Empty; //自定义插件目录
|
|
|
|
|
private string _mcProjectPath = String.Empty; //组态工程目录
|
|
|
|
|
private string _sysConfigPath = String.Empty; //系统工程配置目录
|
|
|
|
@ -37,6 +39,7 @@ namespace Mesnac.Gui.Run.Global
|
|
|
|
|
|
|
|
|
|
private AppConfigHandler()
|
|
|
|
|
{
|
|
|
|
|
this.IsNormalUser = ConfigurationManager.AppSettings["IsNormalUser"];
|
|
|
|
|
this._mesnacPlugInPath = ConfigurationManager.AppSettings["MesnacPlugInPath"];
|
|
|
|
|
this._mcProjectPath = ConfigurationManager.AppSettings["MCProjectPath"];
|
|
|
|
|
this._sysConfigPath = ConfigurationManager.AppSettings["SysConfigPath"];
|
|
|
|
|