public void Init() { m_qDoorNoEntry = new Queue <sDoorNoEntry>(); m_qOnOffInfo = new Queue <sOnOffAlarm>(); m_qSealHead = new Queue <sSealHead>(); m_qTempAlarm = new Queue <sTempAlarm>(); m_qTempDiffAlarm = new Queue <sTempDiffAlarm>(); m_qVideoMoveAlarm = new Queue <sVideoMove>(); m_qThermalImagery = new Queue <sThermalImagery>(); m_ReMoteConfig = new RemoteConfigCallback(GetThermInfoCallback); //m_MsgCallback = new CHCNetSDK.MSGCallBack_V31(MsgCallback_V31); m_singleLock = new object(); //m_threadLoginHost = new Thread(ThreadLoginHost); m_Error = new EXCEPYIONCALLBACK(HikExceptionCallBack); //m_threadLoginHost.IsBackground = true; //m_threadLoginHost.Start(); m_MsgCallBackSelf = new VsClientMsgCB(MsgCallback); m_MsgCallback = new CHCNetSDK.MSGCallBack_V31(MsgCallbackHik); //读取配置文件的回调函数 m_funcReadIniMsg = new pReadIniCallBack(ReadIniCallBack); m_sVsClientPath = ""; m_sHCNetSDKPath = ""; m_lstLoginInfo = new List <CLoginInfo>(); m_lstStruIpParaCfgV40 = new List <NET_DVR_IPPARACFG_V40>(); }
public static extern bool NET_DVR_SetExceptionCallBack_V30(uint nMessage, IntPtr hWnd, EXCEPYIONCALLBACK fExceptionCallBack, IntPtr pUser);