Example #1
0
        public Alarm FindAlarm(Expression <Func <Alarm, bool> > where)
        {
            Log log = LogFactory.GetLogger("FindAlarm");

            try
            {
                return(manager_alarm.Find(where));
            }
            catch (Exception ex)
            {
                log.Error(ex.ToString());
            }
            return(null);
        }