Exemple #1
0
 private void Window_Closed(object sender, EventArgs e)
 {
     if (trackClient != null)
     {
         trackClient.Stop();
     }
 }
Exemple #2
0
        InspectionTrackClient trackClient;//移动巡检

        private void StopGetInspectionTrack()
        {
            WriteLog("StopGetInspectionTrack");
            if (trackClient != null)
            {
                trackClient.Stop();
                trackClient = null;
            }
        }