Cgw.T28181.T28181VideoMonitor.OnReceivedAllDevice C# (CSharp) Method

OnReceivedAllDevice() private method

查询设备列表结束事件
private OnReceivedAllDevice ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
return void
        private void OnReceivedAllDevice(object sender, EventArgs args)
        {
            NLogEx.LoggerEx logEx = new NLogEx.LoggerEx(log);
            logEx.Trace("Enter: T28181VideoMonitor.OnReceivedAllDevice().");

            //将实时获取的值放到缓存
            try
            {
                //拷贝devicelist到cameralist
                GetCameraList(sipStack.DeviceList);
            }
            catch (Exception ex)
            {
                logEx.Error("OnReceivedAllDevice failed.  {0}", ex.Message);
            }
            finally
            {
                //查询结束
                getDeviceEndFlg = true;
            }
            logEx.Trace("Leave: T28181VideoMonitor.OnReceivedAllDevice().");
        }