diff --git a/WcfControlMonitorLib/CCallService.cs b/WcfControlMonitorLib/CCallService.cs index bd5459a..9dccf55 100644 --- a/WcfControlMonitorLib/CCallService.cs +++ b/WcfControlMonitorLib/CCallService.cs @@ -1574,6 +1574,7 @@ namespace WcfControlMonitorLib threadAGVStatusSend = new Thread(new ThreadStart(BeginListenAgvData)); // threadAGVStatusSend.IsBackground = true; threadAGVStatusSend.Start(); + threadAGVStatusSend.Join(); } public static void EndListenPLC() {