Ejemplo n.º 1
0
 public int GetMachineCapacity(string instanceId)
 {
     try
     {
         return(factoryService.getMachineCapacity(sessionID, instanceId));
     }
     catch (EndpointNotFoundException)
     {
         ClientServerEvent(this, new ClientServerEventArgs());
     }
     catch (FaultException)
     {
         ClientServerEvent(this, new ClientServerEventArgs("Fehler auf Server"));
     }
     return(-1);
 }