public int ImportFSCoreConfig(string path) { var iRet = 0; if (!File.Exists(path)) { _fsCoreConfig = new FSCoreConfig(); } else { _fsCoreConfig = GlobalFunc.DeserializeFromXml <FSCoreConfig>(path); } return(iRet); }