//todo will delete public void AddLogHead(ref XmlFileHelper xmlFile) { //增加注释头 List <string> comments = new List <string>(); comments.Add(string.Format("Input SYDB file: {0}", sydbFile)); comments.Add(string.Format("Data of generation: {0}", toolVer)); xmlFile.InsertFirstComment(comments); }