Exemple #1
0
        public bool SetUserInfo(string DeptName, string DeptID, string UserName, string BadgeNo, string CamNo)
        {
            bool flag = false;

            if (this.IsConnected)
            {
                try
                {
                    flag = CiteDLL.XX_SetUserInfo(this.CamSerial, DeptName, DeptID, UserName, BadgeNo, CamNo);
                }
                catch (Exception exception)
                {
                    this.ErrorMsg = exception.Message;
                }
            }
            return(flag);
        }