Browse Source

remove some useless code.

gsp 4 năm trước cách đây
mục cha
commit
1706f3de9c

+ 3 - 11
OTSIncAMeasureApp/0-OTSModel/Measure/GetBSEPic/CMsrThread.cs

@@ -367,21 +367,13 @@ namespace OTSModelSharp
             m_ThreadStatus.ComputeTime(OTS_THREAD_TIME_TYPE.START);
             DateTime timeStart = m_ThreadStatus.GetStartTime();
 
-            int iYear = timeStart.DayOfYear;
-            int imonth = timeStart.Month;
-            int iDay = timeStart.Day;
-            int iHour = timeStart.Hour;
-            int iMin = timeStart.Minute;
-            int iSec = timeStart.Second;
-
-            String csTime;
-            string.Format("%04d-%02d-%02d %02d:%02d:%02d", iYear, imonth, iDay, iHour, iMin, iSec);
+  
 
             ST_MSTMsg MsgMsrStart = new ST_MSTMsg();
-           /// memset(&MsgMsrStart, 0, sizeof(ST_MSTMsg));
+          
             MsgMsrStart.iMsgType = ENUM_MSG_TYPE.MTHREADSTATUS;
             MsgMsrStart.STMThreadStu.iMsrStatu =OTS_MSR_THREAD_STATUS.INPROCESS;
-           // strcpy(MsgMsrStart.STMThreadStu.cMsrStartTime, csTime);
+         
             SendMessageToMeasureApp(MsgMsrStart);
             // connect hardware
             if (!m_SemController.Connect())

+ 0 - 1
OTSIncAReportApp/frmReportApp.cs

@@ -146,7 +146,6 @@ namespace OTSIncAReportApp
         {
             InitializeComponent();
 
-            //m_ReportProjFileMgr = new OTSINTERFACE.COTSReportProjFileMgrClr();
 
             m_OutputNlog = new OutputNlog();
             m_OutputNlog.Visible = true;