diff --git a/ITC81DB_0H/Forms/FormMainDisplay.cs b/ITC81DB_0H/Forms/FormMainDisplay.cs index 0ba11ea..775ddd2 100644 --- a/ITC81DB_0H/Forms/FormMainDisplay.cs +++ b/ITC81DB_0H/Forms/FormMainDisplay.cs @@ -1245,6 +1245,8 @@ namespace ITC81DB_0H.Forms this.ProductChange(this.ParentForm.SystemConfig1.ProductNumber); + // Log - smartFile Close + this.ParentForm.ChildFormMenu.FileClose(); this.buttonPrint.Visible = this.ParentForm.SystemConfig1.IsPrinterEnable; if (this.ParentForm.SystemConfig1.IsPrintPerProductEnable == true) diff --git a/ITC81DB_0H/Forms/FormMenu.cs b/ITC81DB_0H/Forms/FormMenu.cs index 87dbea4..0082b62 100644 --- a/ITC81DB_0H/Forms/FormMenu.cs +++ b/ITC81DB_0H/Forms/FormMenu.cs @@ -740,19 +740,24 @@ namespace ITC81DB_0H.Forms List listSelectedFile = new List(); // 백업할 파일 리스트 (yyyy\\MM\\filename.csv) this.Q_FileList = new Queue(); + this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.DataBackup, this.SelectedDataType.ToString()); + switch (type) { case Define.E_DataType.None: break; case Define.E_DataType.History: + this.CenterLogHistory.FileClose(); dataFolderPath = this.ParentForm.PathDataHistoryFolder; this.SelectedDataType = Define.E_DataType.History; break; case Define.E_DataType.Inspection: + this.CenterLogInspection.FileClose(); dataFolderPath = this.ParentForm.PathDataInspectionFolder; this.SelectedDataType = Define.E_DataType.Inspection; break; case Define.E_DataType.Others: + this.CenterLogOthers.FileClose(); dataFolderPath = this.ParentForm.PathDataOthersFolder; this.SelectedDataType = Define.E_DataType.Others; break; diff --git a/ITC81DB_0H/bin/Release/ITC81DB_2H.exe b/ITC81DB_0H/bin/Release/ITC81DB_2H.exe index 63f3d8a..f5435dd 100644 Binary files a/ITC81DB_0H/bin/Release/ITC81DB_2H.exe and b/ITC81DB_0H/bin/Release/ITC81DB_2H.exe differ diff --git a/ITC81DB_0H/obj/Release/ITC81DB_2H.exe b/ITC81DB_0H/obj/Release/ITC81DB_2H.exe index 63f3d8a..f5435dd 100644 Binary files a/ITC81DB_0H/obj/Release/ITC81DB_2H.exe and b/ITC81DB_0H/obj/Release/ITC81DB_2H.exe differ