xml report

This commit is contained in:
nuknal
2024-05-22 11:31:08 +08:00
parent 0634b0106e
commit eb6e0bc95a
6 changed files with 93 additions and 8 deletions

View File

@@ -34,6 +34,11 @@ var extractCmd = &cobra.Command{
for i, d := range dats {
e.SeprateAuxAndImgData(d, i)
}
if err := e.Report(); err != nil {
panic(err)
}
e.Cleanup()
return

View File

@@ -21,7 +21,7 @@ var parseCmd = &cobra.Command{
}
e := extract.NewExtractor(&params)
// p.ParseAuxPlatformWithHead("demo/ref/辅助数据.dat")
err := e.ExtractAux("demo/output/051622/SJY01_PMS_20240516_101236_051622_096.AUX",
_, _, _, err := e.ExtractAux("demo/output/051622/SJY01_PMS_20240516_101236_051622_096.AUX",
"demo/temp/1.xlsx")
if err != nil {