|
@@ -4,6 +4,7 @@ using System.IO;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
+using System.Windows;
|
|
|
|
|
|
namespace ST_LINK_MES.Service
|
|
|
{
|
|
@@ -28,7 +29,9 @@ namespace ST_LINK_MES.Service
|
|
|
|
|
|
public void Start(string serialNumber)
|
|
|
{
|
|
|
- fileName = String.Format("{0}_{1}.txt", serialNumber, DateTime.Now.ToString());
|
|
|
+ fileName = String.Format("{0}_{1}.txt", serialNumber, DateTime.Now.ToString("yyyyMMddHHmmss"));
|
|
|
+ //MessageBox.Show(FilePath);
|
|
|
+ //File.Create(FilePath);
|
|
|
}
|
|
|
|
|
|
public void Log(string logString)
|