/*******************************************************/ /// <summary> /// 初始化 /// </summary> public void Init() { m_MsgCallBack = new VsClientMsgCB(MsgCallback); m_sUrl = ""; m_sStartTime = ""; m_sEndTime = ""; m_sPalyTime = ""; m_sCamId = ""; ///海康摄像机操作 属性初始化 m_MsgCallbackHik = new CHCNetSDK.MSGCallBack_V31(MsgCallbackHik); m_lstLoginInfo = new List <CLoginInfo>(); m_oSingleLock = new object(); m_oThread = new Thread(ThreadLogin); m_oThread.Start(); //初始化读取配置文件的信息 m_sCapPicPath = ""; m_sVsClientPath = ""; m_sHCNetSDKPath = ""; //读取配置文件的回调函数 m_funcReadIniMsg = new pReadIniCallBack(ReadIniCallBack); //设备类型初始化 m_iCamType = -1; m_sCapPath = ""; m_bIsFirstFloder = false; m_lstSaveHikChannelInfo = new List <CSaveHikChannelInfo>(); /*\ 初始化子类事件 /*/ ucSVideo.evtCallBackFailed += new FuncRetFailed(CallBackFailed); }
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>(); }
/*******************************************************/ /// <summary> /// 初始化 /// </summary> public void Init() { m_MsgCallBack = new VsClientMsgCB(MsgCallback); m_sUrl = ""; m_sStartTime = ""; m_sEndTime = ""; m_sPalyTime = ""; m_sCamId = ""; ///海康摄像机操作 属性初始化 m_MsgCallbackHik = new CHCNetSDK.MSGCallBack_V31(MsgCallbackHik); m_lstLoginInfo = new List <CLoginInfo>(); m_oSingleLock = new object(); //m_oThread = new Thread(ThreadLogin); //m_oThread.Start(); //初始化读取配置文件的信息 m_sCapPicPath = ""; m_sVsClientPath = ""; m_sHCNetSDKPath = ""; //读取配置文件的回调函数 m_funcReadIniMsg = new pReadIniCallBack(ReadIniCallBack); //设备类型初始化 m_iCamType = -1; m_sCapPath = ""; m_bIsFirstFloder = false; m_lstStruIpParaCfgV40 = new List <NET_DVR_IPPARACFG_V40>(); }
public ucVideo() { InitializeComponent(); m_MsgCallBack = new VsClientMsgCB(MsgCallback); m_MsgCallbackHik = new MSGCallBack_V31(HikMsgCallBack); m_funcReadIniMsg = new pReadIniCallBack(ReadIniCallBack); m_lstLoginInfo = new List <CLoginInfo>(); m_oSingleLock = new object(); m_oThreadLogin = new Thread(ThreadLogin); m_oThreadLogin.Start(); m_sCapPicPath = ""; m_sVsClientPath = ""; m_sHCNetSDKPath = ""; m_lstSaveHikChannelInfo = new List <CSaveHikChannelInfo>(); }
public ucVideo() { InitializeComponent(); m_MsgCallBack = new VsClientMsgCB(MsgCallback); m_MsgCallbackHik = new MSGCallBack_V31(HikMsgCallBack); m_funcReadIniMsg = new pReadIniCallBack(ReadIniCallBack); m_lstLoginInfo = new List <CLoginInfo>(); m_oSingleLock = new object(); //m_oThreadLogin = new Thread(ThreadLogin); //m_oThreadLogin.Start(); m_sCapPicPath = ""; m_sVsClientPath = ""; m_sHCNetSDKPath = ""; m_lstStruIpParaCfgV40 = new List <NET_DVR_IPPARACFG_V40>(); }