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")); } }
public bool moveItem(string instanceID, int x, int y) { return(factoryService.moveMachine(sessionID, instanceID, x, y)); }