public void ONUPDATEAREAFEEDBACK(object __sender__ /*SS_ShadingController.ShadingController SC */, SS_ShadingController.SimplPlusDataArgs DA)
        {
            ShadingController SC = (ShadingController )__sender__;

            try
            {
                SplusExecutionContext __context__ = SplusSimplSharpDelegateThreadStartCode();

                __context__.SourceCodeLine = 209;
                if (Functions.TestForTrue((Functions.BoolToInt(DA.sigDigital == 1))))
                {
                    __context__.SourceCodeLine = 211;
                    AREA_CLOSE_FB.Value        = (ushort)(0);
                    __context__.SourceCodeLine = 212;
                    AREA_OPEN_FB.Value         = (ushort)(1);
                }

                else
                {
                    __context__.SourceCodeLine = 214;
                    if (Functions.TestForTrue((Functions.BoolToInt(DA.sigDigital == 0))))
                    {
                        __context__.SourceCodeLine = 216;
                        AREA_OPEN_FB.Value         = (ushort)(0);
                        __context__.SourceCodeLine = 217;
                        AREA_CLOSE_FB.Value        = (ushort)(1);
                    }
                }
            }
            finally { ObjectFinallyHandler(); }
        }
        public void ONUPDATEAREANAME(object __sender__ /*SS_ShadingController.ShadingController LC */, SS_ShadingController.SimplPlusDataArgs DA)
        {
            ShadingController LC = (ShadingController )__sender__;

            try
            {
                SplusExecutionContext __context__ = SplusSimplSharpDelegateThreadStartCode();

                __context__.SourceCodeLine = 222;
                AREA_NAME.UpdateValue(DA.sigSerial);
            }
            finally { ObjectFinallyHandler(); }
        }
        public void ONUPDATEAREA(object __sender__ /*SS_ShadingController.ShadingController SC */, SS_ShadingController.SimplPlusDataArgs DA)
        {
            ShadingController SC = (ShadingController )__sender__;

            try
            {
                SplusExecutionContext __context__ = SplusSimplSharpDelegateThreadStartCode();

                __context__.SourceCodeLine = 193;
                AREA_LOADNAME [DA.sigAnalog].UpdateValue(DA.sigSerial);
                __context__.SourceCodeLine = 194;
                AREA_LOADLISTSIZE.Value    = (ushort)(DA.ConvertToUshort((int)(DA.flagTag)));
                __context__.SourceCodeLine = 195;
                if (Functions.TestForTrue((Functions.BoolToInt(DA.sigDigital == 1))))
                {
                    __context__.SourceCodeLine       = 197;
                    LOADOPEN_FB [DA.sigAnalog].Value = (ushort)(1);
                    __context__.SourceCodeLine       = 198;
                    LOADICON [DA.sigAnalog].Value    = (ushort)(LOADICON_OPEN.UshortValue);
                }

                else
                {
                    __context__.SourceCodeLine = 201;
                    if (Functions.TestForTrue((Functions.BoolToInt(DA.sigDigital == 0))))
                    {
                        __context__.SourceCodeLine       = 203;
                        LOADOPEN_FB [DA.sigAnalog].Value = (ushort)(0);
                        __context__.SourceCodeLine       = 204;
                        LOADICON [DA.sigAnalog].Value    = (ushort)(LOADICON_CLOSE.UshortValue);
                    }
                }
            }
            finally { ObjectFinallyHandler(); }
        }