Пример #1
0
        protected override bool Execute(CodeActivityContext context)
        {
            Alarms_Setting res = null;

            try
            {
                res = ARM_Service.ALARM_Get_AlarmSetting(AlarmSetting_ID.Get(context));
            }
            catch (Exception ex)
            {
                Error.Set(context, ex.Message);
                if (!HideException.Get(context))
                {
                    throw ex;
                }
            }

            Settings.Set(context, res);
            return(string.IsNullOrEmpty(Error.Get(context)));
        }