示例#1
0
 public Sim.productMap GetProducts(int simulationFactoryId)
 {
     try
     {
         return(simulationService.getProducts(simulationFactoryId));
     }
     catch (EndpointNotFoundException)
     {
         ClientServerEvent(this, new ClientServerEventArgs());
     }
     catch (FaultException)
     {
         ClientServerEvent(this, new ClientServerEventArgs("Fehler auf Server"));
     }
     return(null);
 }
示例#2
0
 public Sim.productMap getProducts()
 {
     return(simulationService.getProducts(sessionID));
 }