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().");
}