Esempio n. 1
0
        public as_ctrl GetCompMonitoring(int id)
        {
            as_ctrl res = new as_ctrl();

            res = db.GetItemAsCtrl(id);
            return(res);
        }
Esempio n. 2
0
        public int SaveCompMonitoring(as_ctrl item)
        {
            int error = -1;

            try
            {
                db.SaveItemAsCtrl(item, ref error);
                error = 0;
            }
            catch (Exception ex)
            {
                RDL.Debug.LogError(ex);
            }
            return(error);
        }