Example #1
0
 public void MoveItem(string instanceID, int x, int y)
 {
     try
     {
         if (!isSimulation)
         {
             factoryService.moveMachine(sessionID, instanceID, x, y);
         }
     }
     catch (EndpointNotFoundException)
     {
         ClientServerEvent(this, new ClientServerEventArgs());
     }
     catch (FaultException)
     {
         ClientServerEvent(this, new ClientServerEventArgs("Fehler auf Server"));
     }
 }
Example #2
0
 public bool moveItem(string instanceID, int x, int y)
 {
     return(factoryService.moveMachine(sessionID, instanceID, x, y));
 }