Exemple #1
0
 public void Dispose()
 {
     PcdmisService?.Dispose();
     MeasProgsManager.SavePrograms();
     ServerDirs.SaveDirs();
     ClosePcdmisServiceHost();
     CloseFileServiceHost();
 }
Exemple #2
0
 public void Initialize()
 {
     PcdmisService.Initial();
     StartPcdmisServiceHost();
     StartFileServiceHost();
     if (MessageBox.Show("是否自动安全定位?", "信息", MessageBoxButton.YesNo, MessageBoxImage.Question, MessageBoxResult.No, MessageBoxOptions.DefaultDesktopOnly) == MessageBoxResult.Yes)
     {
         PcdmisService.GotoSafePostion();
     }
 }