//=============================================================================== public static void Verlab_convertFile(String path_origin, String path_save) { try { List <string> data_origin = TheTool.read_File_getListString(path_origin); //------------------------------------------------- DataTable dt = TheTool.convert_List_toDataTable(data_origin); int i_c = 0; foreach (DataColumn dc in dt.Columns) { int i_r = 0; UKI_DataRaw_String data_raw = new UKI_DataRaw_String(); foreach (DataRow dr in dt.Rows) { //if (i_r == 17) { data_raw.} //1. Left Shoulder X Coordinate //2. Left Shoulder Y Coordinate //3. Left Shoulder Z Coordinate //4. Right Shoulder X Coordinate //5. Right Shoulder Y Coordinate //6. Right Shoulder Z Coordinate //7. Head X Coordinate //8. Head Y Coordinate //9. Head Z Coordinate //10.Torso X Coordinate //11.Torso Y Coordinate //12.Torso Z Coordinate //13.Left Hip X Coordinate //14.Left Hip Y Coordinate //15.Left Hip Z Coordinate //16.Right Hip X Coordinate //17.Right Hip Y Coordinate //18.Right Hip Z Coordinate //19.Left Elbow X Coordinate //20.Left Elbow Y Coordinate //21.Left Elbow Z Coordinate //22.Right Elbow X Coordinate //23.Right Elbow Y Coordinate //24.Right Elbow Z Coordinate //25.Left Hand X Coordinate //26.Left Hand Y Coordinate //27.Left Hand Z Coordinate //28.Right Hand X Coordinate //29.Right Hand Y Coordinate //30.Right Hand Z Coordinate //31.Left Knee X Coordinate //32.Left Knee Y Coordinate //33.Left Knee Z Coordinate //34.Right Knee X Coordinate //35.Right Knee Y Coordinate //36.Right Knee Z Coordinate //37.Left Foot X Coordinate //38.Left Foot Y Coordinate //39.Left Foot Z Coordinate //40.Right Foot X Coordinate //41.Right Foot Y Coordinate //42.Right Foot Z Coordinate //43.Neck X Coordinate //44.Neck Y Coordinate //45.Neck Z Coordinate i_r++; } i_c++; } TheTool.export_dataTable_to_CSV(TheURL.url_saveFolder + "test.csv", dt); //UKI_DataRaw_String data_raw = new UKI_DataRaw_String(); //DateTime time_similated = DateTime.Now;//similated time //// //foreach (string s in data_origin.Skip(1)) //{ // TheTool.splitText(s,","); // //string s_new = // ////, //} //------------------------------------------------- //TheTool.exportCSV_orTXT(path_save, data_final, false); } catch (Exception ex) { TheSys.showError(TheTool.getFileName_byPath(path_origin) + " : " + ex); } }