public void RotateItemsRight(string[] instanceIDs) { try { if (!isSimulation) { factoryService.rotateMachinesRight(sessionID, instanceIDs); } } catch (EndpointNotFoundException) { ClientServerEvent(this, new ClientServerEventArgs()); } catch (FaultException) { ClientServerEvent(this, new ClientServerEventArgs("Fehler auf Server")); } }