public bool OnLoadASYMTEKLib() { //string libPath = Application.StartupPath + "\\Trajectory\\ASYMTEK.LIB"; string libPath = Application.StartupPath + "\\ASYMTEK.LIB"; bool ret = CsvUtil.ReadLines(libPath, out libStrArray); if (ret == false) { return(ret); } return(ret); }
/// <summary> /// 获取文本内容 信息 /// </summary> /// <returns></returns> public Result GetText() { Result res = Result.OK; if (String.IsNullOrEmpty(this.TrajPath)) { return(Result.FAILED); } //获取拓展文件 this.extension = Path.GetExtension(this.TrajPath); //获取所有的内容 bool ret = CsvUtil.ReadLines(this.TrajPath, out Lines); if (ret == false) { res = Result.FAILED; } return(res); }