コード例 #1
0
ファイル: Controller.cs プロジェクト: zhutoutou/SJH
 /// <summary>
 /// 停止数据交换服务
 /// </summary>
 public void StopService()
 {
     us.Stop();
     es.Stop();
     bs.Stop();
     gs.Stop();
 }
コード例 #2
0
ファイル: CoreService.cs プロジェクト: zhutoutou/APP
 /// <summary>
 /// 停止数据交换服务
 /// </summary>
 public void StopService()
 {
     CallInServer.Stop();
     CarLocationServer.Stop();
     OtherMsgServer.Stop();
     if (bs != null)
     {
         bs.Stop();
     }
     if (bsTcp != null)
     {
         bsTcp.Stop();
     }
     if (gs != null)
     {
         gs.Stop();
     }
 }