예제 #1
0
 public int GetAreaHeight()
 {
     try
     {
         int length = factoryService.getAreaHeight(sessionID);
         return(length);
     }
     catch (EndpointNotFoundException)
     {
         ClientServerEvent(this, new ClientServerEventArgs());
     }
     catch (FaultException)
     {
         ClientServerEvent(this, new ClientServerEventArgs("Fehler auf Server"));
     }
     return(-1);
 }
예제 #2
0
        public int getAreaLength()
        {
            int length = factoryService.getAreaHeight(sessionID);

            return(length);
        }