|
|
@@ -71,7 +71,7 @@ namespace UAS_MES_NEW.Make
|
|
|
{
|
|
|
string ms_prodcode = dh.getFieldDataByCondition("makeserial", "ms_prodcode", "ms_id='" + oMsid + "'").ToString();
|
|
|
DataTable dt = new DataTable();
|
|
|
- //BaseUtil.GetDataFromDevice("GETFILE", WatchPath.Text + " ./" + DateTime.Now.ToString("yyyy-MM-dd") + @"/" + sncode.Text);
|
|
|
+ BaseUtil.GetDataFromDevice("GETFILE", WatchPath.Text + " ./" + DateTime.Now.ToString("yyyy-MM-dd") + @"/" + sncode.Text);
|
|
|
string[] files = Directory.GetFiles(Application.StartupPath + "/" + DateTime.Now.ToString("yyyy-MM-dd") + @"/" + sncode.Text, "*.csv");
|
|
|
BaseUtil.OpenCSVFile(ref dt, files[0]);
|
|
|
//移除标题行
|