예제 #1
0
 public VsCoreMobile.VsService.VsCamera[] getCamAll()
 {
     try
     {
         service.getCamAllAsync();
         return(service.getCamAll());
     }
     catch (Exception err)
     {
         //  logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace); ;
     }
     return(null);
     //try
     //{
     //}
     //catch (Exception ex)
     //{ System.Windows.Forms.MessageBox.Show("can't connect Web service :" + ex);
     //return new VsCamera[0];
     //}
 }
예제 #2
0
 public void getCameraList()
 {
     camList = service.getCamAll();
 }