예제 #1
0
 public void SetMachineCapacity(int capacityInNumberOfProducts, string[] instanceIds)
 {
     try
     {
         factoryService.setMachineCapacity(sessionID, instanceIds, capacityInNumberOfProducts);
     }
     catch (EndpointNotFoundException)
     {
         ClientServerEvent(this, new ClientServerEventArgs());
     }
     catch (FaultException)
     {
         ClientServerEvent(this, new ClientServerEventArgs("Fehler auf Server"));
     }
 }