예제 #1
0
        private int Move(int FoupID, int From, int To, _System.Collections.Generic.Dictionary <string, string> context__, bool explicitContext__)
        {
            if (explicitContext__ && context__ == null)
            {
                context__ = emptyContext_;
            }
            int cnt__ = 0;

            while (true)
            {
                Ice.ObjectDel_ delBase__ = null;
                try
                {
                    checkTwowayOnly__("Move");
                    delBase__ = getDelegate__(false);
                    FoupMoveDel_ del__ = (FoupMoveDel_)delBase__;
                    return(del__.Move(FoupID, From, To, context__));
                }
                catch (IceInternal.LocalExceptionWrapper ex__)
                {
                    handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
                }
                catch (Ice.LocalException ex__)
                {
                    handleException__(delBase__, ex__, true, ref cnt__);
                }
            }
        }
예제 #2
0
        private int PlaceFoup(int foupBarCode, int DevID, int nLocType, _System.Collections.Generic.Dictionary <string, string> context__, bool explicitContext__)
        {
            if (explicitContext__ && context__ == null)
            {
                context__ = emptyContext_;
            }
            int cnt__ = 0;

            while (true)
            {
                Ice.ObjectDel_ delBase__ = null;
                try
                {
                    checkTwowayOnly__("PlaceFoup");
                    delBase__ = getDelegate__(false);
                    MESLinkDel_ del__ = (MESLinkDel_)delBase__;
                    return(del__.PlaceFoup(foupBarCode, DevID, nLocType, context__));
                }
                catch (IceInternal.LocalExceptionWrapper ex__)
                {
                    handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
                }
                catch (Ice.LocalException ex__)
                {
                    handleException__(delBase__, ex__, true, ref cnt__);
                }
            }
        }
예제 #3
0
        private string helloWorld(string something, _System.Collections.Generic.Dictionary <string, string> context__, bool explicitContext__)
        {
            if (explicitContext__ && context__ == null)
            {
                context__ = emptyContext_;
            }
            int cnt__ = 0;

            while (true)
            {
                Ice.ObjectDel_ delBase__ = null;
                try
                {
                    checkTwowayOnly__("helloWorld");
                    delBase__ = getDelegate__(false);
                    BitmapProviderDel_ del__ = (BitmapProviderDel_)delBase__;
                    return(del__.helloWorld(something, context__));
                }
                catch (IceInternal.LocalExceptionWrapper ex__)
                {
                    handleExceptionWrapper__(delBase__, ex__);
                }
                catch (Ice.LocalException ex__)
                {
                    handleException__(delBase__, ex__, true, ref cnt__);
                }
            }
        }
예제 #4
0
        private byte[] getBitmap(float ex, float ey, float ez, float dx, float dy, float dz, float ax, float ay, float az, float timer, float depthOfField, float transparentColor, _System.Collections.Generic.Dictionary <string, string> context__, bool explicitContext__)
        {
            if (explicitContext__ && context__ == null)
            {
                context__ = emptyContext_;
            }
            int cnt__ = 0;

            while (true)
            {
                Ice.ObjectDel_ delBase__ = null;
                try
                {
                    checkTwowayOnly__("getBitmap");
                    delBase__ = getDelegate__(false);
                    BitmapProviderDel_ del__ = (BitmapProviderDel_)delBase__;
                    return(del__.getBitmap(ex, ey, ez, dx, dy, dz, ax, ay, az, timer, depthOfField, transparentColor, context__));
                }
                catch (IceInternal.LocalExceptionWrapper ex__)
                {
                    handleExceptionWrapper__(delBase__, ex__);
                }
                catch (Ice.LocalException ex__)
                {
                    handleException__(delBase__, ex__, true, ref cnt__);
                }
            }
        }
            private NProgDistributed.TheIce.MessageDto Send(NProgDistributed.TheIce.MessageDto message, _System.Collections.Generic.Dictionary <string, string> context__, bool explicitContext__)
            {
                if (explicitContext__ && context__ == null)
                {
                    context__ = emptyContext_;
                }
                Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __Send_name, context__);
                int cnt__ = 0;

                try
                {
                    while (true)
                    {
                        Ice.ObjectDel_ delBase__ = null;
                        try
                        {
                            checkTwowayOnly__(__Send_name);
                            delBase__ = getDelegate__(false);
                            IMessageServiceDel_ del__ = (IMessageServiceDel_)delBase__;
                            return(del__.Send(message, context__, observer__));
                        }
                        catch (IceInternal.LocalExceptionWrapper ex__)
                        {
                            handleExceptionWrapper__(delBase__, ex__, observer__);
                        }
                        catch (Ice.LocalException ex__)
                        {
                            handleException__(delBase__, ex__, true, ref cnt__, observer__);
                        }
                    }
                }
                finally
                {
                    if (observer__ != null)
                    {
                        observer__.detach();
                    }
                }
            }
예제 #6
0
        private string toUpper(string s, _System.Collections.Generic.Dictionary <string, string> context__, bool explicitContext__)
        {
            if (explicitContext__ && context__ == null)
            {
                context__ = emptyContext_;
            }
            Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __toUpper_name, context__);
            int cnt__ = 0;

            try
            {
                while (true)
                {
                    Ice.ObjectDel_ delBase__ = null;
                    try
                    {
                        checkTwowayOnly__(__toUpper_name);
                        delBase__ = getDelegate__(false);
                        ConverterDel_ del__ = (ConverterDel_)delBase__;
                        return(del__.toUpper(s, context__, observer__));
                    }
                    catch (IceInternal.LocalExceptionWrapper ex__)
                    {
                        handleExceptionWrapper__(delBase__, ex__, observer__);
                    }
                    catch (Ice.LocalException ex__)
                    {
                        handleException__(delBase__, ex__, true, ref cnt__, observer__);
                    }
                }
            }
            finally
            {
                if (observer__ != null)
                {
                    observer__.detach();
                }
            }
        }
예제 #7
0
        private void log(string name, string time, string msg, _System.Collections.Generic.Dictionary <string, string> context__, bool explicitContext__)
        {
            if (explicitContext__ && context__ == null)
            {
                context__ = emptyContext_;
            }
            Ice.Instrumentation.InvocationObserver observer__ = IceInternal.ObserverHelper.get(this, __log_name, context__);
            int cnt__ = 0;

            try
            {
                while (true)
                {
                    Ice.ObjectDel_ delBase__ = null;
                    try
                    {
                        delBase__ = getDelegate__(false);
                        RemoteLogDel_ del__ = (RemoteLogDel_)delBase__;
                        del__.log(name, time, msg, context__, observer__);
                        return;
                    }
                    catch (IceInternal.LocalExceptionWrapper ex__)
                    {
                        handleExceptionWrapper__(delBase__, ex__, observer__);
                    }
                    catch (Ice.LocalException ex__)
                    {
                        handleException__(delBase__, ex__, true, ref cnt__, observer__);
                    }
                }
            }
            finally
            {
                if (observer__ != null)
                {
                    observer__.detach();
                }
            }
        }