|
@@ -159,10 +159,10 @@ namespace OTSModelSharp
|
|
|
MsrMsg.iMsgType = ENUM_MSG_TYPE.MTHREADSTATUS;
|
|
|
|
|
|
MsrMsg.STMThreadStu.iMsrStatu = m_ThreadStatus.GetStatus();
|
|
|
-
|
|
|
|
|
|
- MsrMsg.STMThreadStu.csMsrEndTime = timeEnd.ToShortDateString();
|
|
|
-
|
|
|
+
|
|
|
+ //MsrMsg.STMThreadStu.csMsrEndTime = timeEnd.ToShortDateString();
|
|
|
+ MsrMsg.STMThreadStu.csMsrEndTime = timeEnd.ToString("yyyy-MM-dd HH:mm:ss");
|
|
|
ProgressEvent(MsrMsg);
|
|
|
//disconnect the semcontroller when we exit this task.
|
|
|
m_SemController.DisConnect();
|
|
@@ -179,9 +179,8 @@ namespace OTSModelSharp
|
|
|
|
|
|
MsrMsg.STMThreadStu.iMsrStatu = m_ThreadStatus.GetStatus();
|
|
|
|
|
|
-
|
|
|
- MsrMsg.STMThreadStu.csMsrEndTime = timeEnd.ToShortDateString();
|
|
|
-
|
|
|
+ //MsrMsg.STMThreadStu.csMsrEndTime = timeEnd.ToShortDateString();
|
|
|
+ MsrMsg.STMThreadStu.csMsrEndTime = timeEnd.ToString("yyyy-MM-dd HH:mm:ss");
|
|
|
ProgressEvent(MsrMsg);
|
|
|
//disconnect the semcontroller when we exit this task.
|
|
|
//m_SemController.DisConnect();
|