结构化读取csv中的光谱数据

This commit is contained in:
2021-12-16 18:40:51 +08:00
parent c0aaf7a897
commit f7306314d5
10 changed files with 442 additions and 37 deletions

View File

@ -37,7 +37,6 @@ namespace mainProgram
MessageBox.Show(this, "数据文件夹路径不能为空", "提示");
return;
}
if (projectPath != null && projectPath.Length == 0)
{
MessageBox.Show(this, "工程路径不能为空", "提示");
@ -45,30 +44,11 @@ namespace mainProgram
}
ProjectManager projectManager = new ProjectManager(projectPath);
projectManager.CreateProjectStructure();
projectManager.CopyFileToFile(dataPath);//复制原始数据文件到工程结构对应文件夹
//ProjectManager xx = new ProjectManager();
////xml文件存储路径
//string myXMLFilePath = "D:\\csharp_vs2017\\easySif\\MyComputers.xml";
////生成xml文件
//xx.GenerateXMLFile(myXMLFilePath);
////遍历xml文件的信息
//xx.GetXMLInformation(myXMLFilePath);
////修改xml文件的信息
//xx.ModifyXmlInformation(myXMLFilePath);
////向xml文件添加节点信息
//xx.AddXmlInformation(myXMLFilePath);
////删除指定节点信息
//xx.DeleteXmlInformation(myXMLFilePath);
projectManager.CreateProject(dataPath);
TransferEvent(projectManager);//触发事件
MessageBox.Show(this, "工程创建成功!", "提示");
Close();//创建工程完成后,关闭窗口
}