1 Star 0 Fork 0

yyj8209/HikVisionStation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ClientDemoDlg.h 20.10 KB
一键复制 编辑 原始数据 按行查看 历史
yyj8209 提交于 2021-10-08 21:33 . 继续调试串口
#pragma once
#include "afxcmn.h"
#include "afxwin.h"
#include "ClientDemo.h"
#include "DlgRemoteCfg.h"
#include "DlgOutputCtrl.h"
#include "DlgChannelInfo.h"
#include "DlgConfigAll.h"
#include "DlgLocalConfig.h"
#include "DlgPlayBack.h"
#include "DlgHardDiskCfg.h"
#include "DlgRemoteIPAccess.h"
#include "DlgDeviceState.h"
#include "DlgStreamID.h"
#include "DlgBatchConfig.h"
#include "DlgProductCfg.h"
#include "explorer.h"
#include "Position.h"
#include "explorer.h"
#include "CDlgComm.h"
#include "SerialPort.h"
using namespace std;
//using namespace itas109;
extern CSerialPort m_SerialPort;
typedef int (_stdcall *SetDisplayStandardProc)(UINT, VideoStandard_t);
typedef int (_stdcall *SetDisplayRegionProc)(UINT, UINT, REGION_PARAM*, UINT);
typedef int (_stdcall *ClearDisplayRegionProc)(UINT, UINT);
typedef int (_stdcall *SetDisplayRegionPositionProc)(UINT, UINT, UINT, UINT);
typedef int (_stdcall *FillDisplayRegionProc)(UINT, UINT, unsigned char);
typedef int (_stdcall *SetEncoderVideoExtOutputProc)(UINT, UINT, BOOL, UINT, UINT, UINT);
typedef int (_stdcall *SetDecoderVideoExtOutputProc)(UINT, UINT, BOOL, UINT, UINT, UINT);
typedef int (_stdcall *SetDecoderVideoOutputProc)(UINT, UINT, BOOL, UINT, UINT, UINT);
void CALLBACK MessageCallback(LONG lCommand, NET_DVR_ALARMER *pAlarmer, char *pAlarmInfo, DWORD dwBufLen, void* pUser);
void AlarmMessage(LONG lCommand, NET_DVR_ALARMER *pAlarmer, char *pAlarmInfo, DWORD dwBufLen);
typedef unsigned int (_stdcall *GetDisplayChannelCountProc)();
std::string UTF82ASCII(const char* cont);
std::string ASCII2UTF8(const char* cont);
// CClientDemoDlg dialog
class CClientDemoDlg : public CDialog
{
DECLARE_DYNAMIC(CClientDemoDlg)
public:
CClientDemoDlg(CWnd* pParent = NULL); // standard constructor
virtual ~CClientDemoDlg();
int m_iSelListType;
CMenu m_MainMenu;
// Dialog Data
enum { IDD = IDD_DLG_CLIENT_DEMO };
enum {PREVIEW_WND = 0, CONFIG_ALL_WND, PLAY_BACK_WND};
//{{AFX_VIRTUAL(CClientDemoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_VIRTUAL
public:
//{{AFX_MSG(CClientDemoDlg)
virtual void OnCancel();
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
#if (_MSC_VER >= 1500) //vs2008
afx_msg void OnTimer(UINT_PTR nIDEvent);
#else
afx_msg void OnTimer(UINT nIDEvent);
#endif
afx_msg void OnMove(int x, int y);
afx_msg void OnNMClickTreeDeviceList(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnNMRclickTreeDeviceList(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnNMDblclkTreeDeviceList(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnCbnSelchangeComboWndNum();
afx_msg void OnBnClickedBtnConfig();
afx_msg void OnBnClickedBtnRecord();
afx_msg void OnCbnSelchangeComboNetdelay();
// afx_msg void OnBnClickedBtnPlayback();
afx_msg void OnBnClickedBtnManage();
afx_msg void OnBnClickedBtnLogClear();
afx_msg void OnBnClickedBtnLogSave();
afx_msg void OnBnClickedBtnMakeIframe();
afx_msg void OnBnClickedBtnLogConfig();
afx_msg void OnNMClickListAllLog(NMHDR *pNMHDR, LRESULT *pResult);
// afx_msg void OnBnClickedBtnPreview();
// afx_msg void OnBnClickedBtnExit();
afx_msg void OnBnClickedBtnPlay();
afx_msg void OnBnClickedBtnPictureSnatch();
afx_msg void OnBnClickedBtnElse();
afx_msg void OnDblclkListAllLog(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDblclkListAlarmInfo(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnColumnclickListAllLog(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnColumnclickListAlarmInfo(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnBtnTest();
afx_msg void OnRadioLocalLog();
afx_msg void OnRadioAlarmInfo();
afx_msg void OnMenuAtmFrameFormat();
afx_msg void OnMenuSensorAddPreview();
afx_msg void OnMenuHolidayCfg();
afx_msg void OnButton1();
afx_msg void OnMENUT1Test();
afx_msg void OnMenuVechclecfg();
afx_msg void OnMenuProductionLineTest();
afx_msg void OnMenuVca();
// afx_msg void OnBtntProductCfg();
afx_msg void OnMenuRecordHostCfg();
afx_msg LRESULT OnReceiveStr(WPARAM str, LPARAM infoComm);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
typedef struct tagNET_DVR_EVENT_SCHEDULE1
{
DWORD dwSize;//结构体大小
NET_DVR_SCHEDTIME struAlarmTime[MAX_DAYS][MAX_TIMESEGMENT_V30]; /*布防时间*/
NET_DVR_SCHEDTIME struHolidayAlarmTime[MAX_TIMESEGMENT_V30]; /*假日布防时间*/
BYTE bySceneID[MAX_DAYS][MAX_TIMESEGMENT_V30];//场景号
BYTE byRes[72];
}NET_DVR_EVENT_SCHEDULE1, *LPNET_DVR_EVENT_SCHEDULE1;
// main interface:
//1.device list;
//2.preview area;
//3.operation on single device:parameter configuration
//remote update/format/reboot
//4.preview/playback/config
// 5.remote config/playback,hardware decoding, etc
// 6.create as domodle mode with 3 & 4
//playback
LONG m_pAutoRecTimer;
LONG m_pChkDevTimer;
LONG m_pCyclePlayTimer;
LONG m_pFreeSpaceTimer;
LONG m_pFileIntervalTimer;
LONG m_pSysTimer;
CRITICAL_SECTION m_struLock;
// CStdioFile m_fLog;
// CStdioFile m_fAlarm;
FILE * m_fLog;
FILE * m_fAlarm;
LONG m_lListenHandle;
////////////////////////////////
//0.operation on main interface
BOOL RegisterPlayer(BOOL bRegister);
BOOL IsPlaying(void);
void CreateNewLogFile(BOOL bCreate);
void ArrangeOutputs(int iNumber);
void OnSelchangeComboListType();
LONG m_iCardChanCount;//decoder card DSP number
BOOL InitDecodeCard();
BOOL InitHardDriver();
void InitGlobalSysInfo();
void InitMainWin();
void GetVersionInfor();
void InitChildWindow(void);
void DoTestElseFunction();
BOOL DoSetIPAccessCfg(int iDeviceIndex, DWORD dwGroupNo);
void RedrawDeviceNode(int iDeviceIndex);
void RefreshIPDevLocalCfg(int iDeviceIndex);
BOOL DoGetIPAlarmInCfg(int iDeviceIndex, BOOL bSupportMultiGroup = FALSE, int GroupNO = 0);
BOOL DoGetIPAlarmOutCfg(int iDeviceIndex, BOOL bSupportMultiGroup = FALSE, int GroupNO = 0);
void ListRestore();
void PictureSnatchInSide();//reserve function
static void* DoLoginEx(void *lpParam);
HICON m_hIcon;
char m_cHardDriver[26];//HD driver name
int m_iDriverNum;//HD driver number
int m_iCurRecDriver;//current recording HD drive
BOOL m_iMainType; //main interface type
int m_iCurWndNum; //screen split mode 1, 4, 9, 16, 25, 36
int m_iCurWndIndex; //current selected split window index, start from 0
int m_iTreeWidth; //device list displaywidth on main interface
int m_iRightWidth; //preview config dialog box size or video control
int m_iFunBtnHeight; //height of main function button area
int m_iListLogHeight; //height of log
NET_DVR_VIDEOPLATFORM_ALRAMINFO m_struVideoPlatform;
void AddLog(int iDeviceIndex, int iLogType, const char* format, ...);
/////////////////////
//1.device list
void CreateTree(void);
HTREEITEM GetAfterItem(HTREEITEM hRoot);
HTREEITEM GetDeviceItem(HTREEITEM hRoot, int iDeviceIndex);// find relative node according to device index number
void DeleteItem(int iItemNo, int iType);// delete node info
void ModifyChanNameInListTree(int iDeviceIndex, int iChanIndex);// modify channel name
void SetItemImage(HTREEITEM hChanItem,PCHANNEL_INFO pChanInfo);// modify node icon
BOOL DoLogout(int iDeviceIndex, HTREEITEM hDeviceItem);
BOOL DoLogin(int iDeviceIndex, HTREEITEM hDeviceItem);
BOOL DoGetDeviceResoureCfg(int iDeviceIndex, int iGroupNO = 0);
void DblAllTree();
void OnMenuDeviceAdd();
void OnMenuDeviceDelete();
void OnMenuLogout();
void OnMenuDeviceInfo();
void OnMenuChannelInfo();
// init device list
void LoadTreeImage(void);
LRESULT OnWMProcAlarm(WPARAM wParam, LPARAM lParam);
LRESULT OnWMAddLog(WPARAM wParam, LPARAM lParam);
LRESULT ChangeChannelItemImage(WPARAM wParam, LPARAM lParam);
LRESULT ChangeDeviceItemImage(WPARAM wParam, LPARAM lParam);
int GetCurChanIndex();
int GetCurChanIndexInTree();
int GetCurDeviceIndex();
HTREEITEM GetChanItem(int iDeviceIndex, int iChanIndex);
HTREEITEM GetDeviceItem(int iDeviceIndex);
void DblPlayChan(int iDeviceIndex, int iChanIndex,HTREEITEM hChanItem);
void PlayZeroChan(int iDeviceIndex, int iChanIndex,HTREEITEM hChanItem);
void PlayMirrorChan(int iDeviceIndex, int iChanIndex,HTREEITEM hChanItem);
BOOL StopPlayedChan(int iDeviceIndex, int iChanIndex);
BOOL m_bDrag;// enable drag
int m_iDragType;// select channel/ device or group on dragging.
int m_iDragChanIndex;// dragging channel index
int m_iDragParentIndex;// dragging device/group Index
int m_iCurDeviceIndex;
int m_iCurChanIndex;// channel index of selected node
HTREEITEM m_hCurDeviceItem;
HTREEITEM m_hCurChanItem;
///////////////
//2.preview
// 0.
//init preview window
void InitPreviewRect();
//management of preview dialog box(output),button,static, etc. only display on mainDlg
void PriviewWinManage();
void PreviewReferShow(BOOL bShow);
void FullScreen(BOOL bFullScreen);
// get the node of preview channel
HTREEITEM GetPlayChanInfo(int iPlayChan, CHANNEL_INFO &pChanInfo);
CRect m_rectPreviewBG;//preview background
CRect m_rectRightArea;//preview background
// 1.main operation
void DblPlayDevice(int iDeviceIndex, int iStartOutputIndex);
void StartPlayAll();
void StopPlayAll();
void CyclePause();
void PlayFrontPage();
void PlayNextPage();
void CyclePlayAllDevicesLogined();
void ChangePlayBtnState(void);
// BYTE m_byStreamHead[MAX_PREVIEWS][40];//save file header on stream callback
//
// BOOL m_bHeadRev[MAX_PREVIEWS];//judge whether fileheader had been saved on stream callback
//////////////////
// 3.configuration buttons
void InitConfigAllRefer();
void ConfigAllHide();
CDlgConfigAll *m_dlgConfigAll;
//1.remote config
CDlgRemoteCfg *m_dlgRemoteCfg;
CDlgLocalConfig *m_dlgLocalCfg;
CDlgRemoteIPAccess *m_dlgIPAccess;
CDlgHardDiskCfg *m_dlgHDConfig;
//CDlgStreamID *m_pStreamIDDlg;
CDlgOutputCtrl *m_dlgOutputCtrl;
CDlgBatchConfig *m_dlgBatchCfg;
CDlgProductCfg* m_dlgProductCfg;
//manage
void OnMenuUpgrade();
void OnMenuReboot();
void OnMenuHDFormat();
void OnMenuPoweroff();
void OnMenuFortify();
void OnMenuVoiceTalk();
void OnMenuJPEGSnatchConfig();
void OnMenuBroadCast();
void OnMenuRemoteKey();
void OnMenuCheckTime();
void OnMenuDVRRecordStart();
void OnMenuWorkState();
void OnMenuLogSearch();
void OnMenuPreviewSetup();
void OnMenuMatDecDNSSetup();
void OnMenuAuxVideoOutSetup();
void OnMenuSerialTrans();
void OnMenuDefaultConfig();
void OnMenuCompleteRestore();
void OnMenuConfigFlash();
void OnMenuTalkMR();
void OnMenuDebug();
void OnMenuUploadCalibrationFile();
void OnMenuIperf();
void ProcAlarm(WPARAM wParam, LPARAM lParam);
void ProcAlarmV30(WPARAM wParam, LPARAM lParam);
void ProcAlarmV40(WPARAM wParam, LPARAM lParam);
void ProcIPCfgAlarm(WPARAM wParam, LPARAM lParam);
void ProcIPCfgAlarmV31(WPARAM wParam, LPARAM lParam);
void ProcIPCCfgAlarmV40(WPARAM wParam,LPARAM lParam);
void ProcRuleAlarm(WPARAM wParam, LPARAM lParam);
void ProcPdcAlarm(WPARAM wParam, LPARAM lParam);
void ProcAidAlarm(WPARAM wParam, LPARAM lParam);
void ProcTpsAlarm(WPARAM wParam, LPARAM lParam);
void ProcTfsAlarm(WPARAM wParam,LPARAM lParam);
void ProcAidAlarmV41(WPARAM wParam,LPARAM lParam);
void ProcTpsAlarmV41(WPARAM wParam,LPARAM lParam);
void ProcAlarmHostAlarm(WPARAM wParam, LPARAM lParam);
void ProcSensorAlarm(WPARAM wParam, LPARAM lParam);
void ProcFaceDetectAlarm(WPARAM wParam, LPARAM lParam);
void ProcRuleInfoUpload(WPARAM wParam, LPARAM lParam);
void ProcSensorValueUpload(WPARAM wParam, LPARAM lParam);
void ProcSwitchAlarm(WPARAM wParam, LPARAM lParam);
void ProcAlarmHostException(WPARAM wParam, LPARAM lParam);
void ProcDeviceAlarm(WPARAM wParam, LPARAM lParam);
void ProcDeviceV40Alarm(WPARAM wParam, LPARAM lParam);
void ProcCVRAlarm(WPARAM wParam, LPARAM lParam);
void ProBaseStationInfoAlarm(WPARAM wParam, LPARAM lParam);
void ProcFaceSnapAlarm(WPARAM wParam, LPARAM lParam);
void ProcFaceSnapMatchAlarm(WPARAM wParam, LPARAM lParam);
void ProcFaceDetectionAlarm(WPARAM wParam, LPARAM lParam);
void ProcTargetLeftRegionAlarm(WPARAM wParam, LPARAM lParam);
void ProcAlarmHostSatetyCabinState(WPARAM wParam, LPARAM lParam);
void ProcAlarmHostAlarmoutStatus(WPARAM wParam, LPARAM lParam);
void ProcTpsRealtime(WPARAM wParam, LPARAM lParam);
void ProcTpsStatistics(WPARAM wParam, LPARAM lParam);
void ProcAuxAlarm(WPARAM wParam, LPARAM lParam);
void ProcITSPlateAlarm(WPARAM wParam, LPARAM lParam);
void ProcTMEVehicleAlarm(WPARAM wParam, LPARAM lParam);
void ProcITSPlateAlarmV50(WPARAM wParam, LPARAM lParam);
void ProcITSRoadException(WPARAM wParam, LPARAM lParam);
void ProcAlarmHostCIDAlarm(WPARAM wParam, LPARAM lParam);
void ProcAlarmHostExternalDevAlarm(WPARAM wParam, LPARAM lParam);
void ProcessAlarmhostUPSAlarm(char* szLanCn, char* szLanEn, LPNET_DVR_ALARMHOST_UPS_ALARMINFO lpAlarm);
void ProcessAlarmhostSwitchPowerAlarm(char* szLanCn, char* szLanEn, LPNET_DVR_ALARMHOST_SWITCH_POWER_SUPPLY_ALARMINFO lpAlarm);
void ProcessAlarmhostGasDetectAlarm(char* szLanCn, char* szLanEn, LPNET_DVR_ALARMHOST_GAS_DETECT_SYS_ALARMINFO lpAlarm);
void ProcessAlarmhostTempHumiSensorAlarm(char* szLanCn, char* szLanEn, LPNET_DVR_ALARMHOST_TEMP_HUMIDITY_SENSOR_ALARMINFO lpAlarm);
void ProcAlarmVQD(WPARAM wParam, LPARAM lParam);
void ProcAlarmVQDEx(WPARAM wParam,LPARAM lParam);
void ProcITSGateVehicle(WPARAM wParam, LPARAM lParam);
void ProcITSGateFace(WPARAM wParam, LPARAM lParam);
void ProcITSParkVehicle(WPARAM wParam, LPARAM lParam);
void ProcITSBalckListInfo(WPARAM wParam, LPARAM lParam);
void ProcVehicleControlListDS(WPARAM wParam, LPARAM lParam);
void ProcVehicleControl(WPARAM wParam, LPARAM lParam);
void ProcAlarmHostData(WPARAM wParam, LPARAM lParam);
void ProcAlarmHostWirelessInfo(WPARAM wParam, LPARAM lParam);
void ProcessAlarmhostPointValue(char* szLanCn, char* szLanEn, LPNET_DVR_ALARMHOST_POINT_VALUE lpAlarm);
void ProcGateAlarmHostData(WPARAM wParam, LPARAM lParam);
void ProcExternalControlAlarmHostData(WPARAM wParam, LPARAM lParam);//布防报警(外控报警)2013-06-09
void ProcSceneChangeDetection(WPARAM wParam, LPARAM lParam);//2013-07-17场景变更侦测报警
void ProcFacecaptureStatistics(WPARAM wParam, LPARAM lParam);//人脸抓拍统计上传
void ProcHotSpare(WPARAM wParam, LPARAM lParam);
void ProcVideoParkingPoleAlarm(WPARAM wParam, LPARAM lParam);
void ProcVehCostItem(WPARAM wParam, LPARAM lParam);//2013-11-19 出入口过车收费明细
void ProcVehHandOver(WPARAM wParam, LPARAM lParam);//2013-11-19 出入口交接班数据
void ProcDefocus(WPARAM wParam, LPARAM lParam);
void ProcAudioException(WPARAM wParam, LPARAM lParam);//声音异常报警上传 2014-03-21
void ProcHeatMapResult(WPARAM wParam, LPARAM lParam);//热度图报警上传 2014-03-21
void ProcAccessCardAlarm(WPARAM wParam, LPARAM lParam);//门禁主机报警 2014-07-23
void ProVCAAlarm(WPARAM wParam, LPARAM lParam);//智能解码报警信息上传 2014-03-21
void ProVehicleRecogResult(WPARAM wParam, LPARAM lParam);//车辆二次识别数据上传 2014-11-12
void ProLCDAlarm(WPARAM wParam, LPARAM lParam);//屏幕报警信息上传 2014-03-21
void ProSensorInfoAlarm(WPARAM wParam, LPARAM lParam);
void ProCaptureAlarm(WPARAM wParam, LPARAM lParam);
void ProFirDetectionAlarm(WPARAM wParam, LPARAM lParam);
void ProFaceThermometryAlarm(WPARAM wParam, LPARAM lParam);
void ProPicInfoUploadAlarm(WPARAM wParam, LPARAM lParam);
void ProGISInfoAlarm(WPARAM wParam, LPARAM lParam);
void ProVandalproofAlarm(WPARAM wParam, LPARAM lParam);
void ProcVideoIntercomEvent(WPARAM wParam,LPARAM lParam);
void ProcVideoIntercomAlarm(WPARAM wParam,LPARAM lParam);
void ProcUploadNoticeData(WPARAM wParam, LPARAM lParam);
void ProcPeopleDetectionUpload(WPARAM wParam,LPARAM lParam);
void ProcSwicthLampAlarm(WPARAM wParam, LPARAM lParam);
void ProcFiberConvertAlarm(WPARAM wParam, LPARAM lParam); //光纤收发器
void ProcNetSwitchAlarm(WPARAM wParam, LPARAM lParam); //交换机报警
//压线报警暂时不对外开放。
void ProcCrossLineData(WPARAM wParam, LPARAM lParam);//2013-09-27 压线报警
void ProGateCardIndoAlarm(WPARAM wParam, LPARAM lParam);//出入口卡片信息上传
void ProLoadingDockOperateInfo(WPARAM wParam, LPARAM lParam); //月台作业上传
void ProGateCardChargeAlarm(WPARAM wParam, LPARAM lParam);
void ProConferenceAlarm(WPARAM wParam, LPARAM lParam);
void ProcIDInfoAlarm(WPARAM wParam, LPARAM lParam);
void ProcPassportAlarm(WPARAM wParam, LPARAM lParam);
void ProcPassNumInfoAlarm(WPARAM wParam, LPARAM lParam);
void FaceSnapMatchAlarmInfo(WPARAM wParam, LPARAM lParam);
void FaceSnapAlarmInfo(WPARAM wParam, LPARAM lParam);
void ProcMVMRegisterInfo(WPARAM wParam, LPARAM lParam);
void ProcMVMStatusInfo(WPARAM wParam, LPARAM lParam);
void ProcStorageDetAlarm(WPARAM wParam, LPARAM lParam);
void ProcShipsDetAlarm(WPARAM wParam, LPARAM lParam);
void shipsDetectionToTxt(LPNET_DVR_SHIPSDETECTION_ALARM pShipsDetection, int iDeviceIndex);
void ProThermometryAlarm(WPARAM wParam, LPARAM lParam);
void ProThermometryDiffAlarm(WPARAM wParam, LPARAM lParam);
void ProDiagnosisUpload(WPARAM wParam, LPARAM lParam);
void ProcessWallConferenceAlarm(WPARAM wParam, LPARAM lParam);
void ProGPSStatusUpload(WPARAM wParam, LPARAM lParam);
void ProTagInfoUpload(WPARAM wParam, LPARAM lParam);
void ProcessInquestAlarm(WPARAM wParam, LPARAM lParam);
void ProFaceSnapRawData(WPARAM wParam, LPARAM lParam);
void ProcessEventWithJsonData(WPARAM wParam, LPARAM lParam);
void ProcessEventWithJsonDataNoBoundary(WPARAM wParam, LPARAM lParam);
void ProcessAlarmGps(WPARAM wParam, LPARAM lParam);
void ProFramesPeopleCounting(WPARAM wParam, LPARAM lParam);
void ProcessClusterAlarm(WPARAM wParam, LPARAM lParam);
void ProcISAPIAlarm(WPARAM wParam, LPARAM lParam);
BOOL GetMiddleString(const char *pInBuff, DWORD dwInLen, const char *pPreStr, const char *pSufStr, char *pOutBuf, DWORD dwOutLen);
void ProcHeatMapResultPDC(WPARAM wParam, LPARAM lParam);//热度图按人数统计数据上传事件 2018-07-017
void ProcHeatMapResultDuration(WPARAM wParam, LPARAM lParam);//热度图按人员停留时间统计数据上传事件 2018-07-17
void ProcHeatMapResultIntersection(WPARAM wParam, LPARAM lParam);//路口分析热度值结果上传 2018-07-17
void ProcAIOPVideo(WPARAM wParam, LPARAM lParam);
void ProcAIOPPicture(WPARAM wParam, LPARAM lParam);
void ProcTrafficCollect(WPARAM wParam, LPARAM lParam);
void ProcessVcaDbdAlarm(WPARAM wParam, LPARAM lParam);
void ProcessVcaAdasAlarm(WPARAM wParam, LPARAM lParam);
void ProcessVehRealtimeInfo(WPARAM wParam, LPARAM lParam);
void ProcessSubCribeEvent(WPARAM wParam, LPARAM lParam);
void ProcAIOPPollingSnap(WPARAM wParam, LPARAM lParam);
void ProcAIOPPollingVideo(WPARAM wParam, LPARAM lParam);
//4.playback
CDlgPlayBack *m_dlgPlayBack;
void InitPlayBackRefer();
void ManualClearAlarm(int iDeviceIndex, int iChanIndex);
// stream id info
void InitStreamIDInfoRefer();
void InitProdouctCfgRefer();
//record
BOOL IsCurDevMatDec(int iDeviceIndex);
BOOL IsNeedRebootDevType(void);
BOOL MakeRecDir();
BOOL IsDiskFull();
void DeleteClientRecordFile();
WINDOWPLACEMENT m_struOldWndpl;
BOOL m_bListLogEnlarge;
BOOL m_bListAlarmEnlarge;
void EnlargeList(CListCtrl &list, BOOL &bEnlarge);
NET_VCA_DEV_ABILITY m_struVcaDevAbility;
NET_VCA_CTRLCFG m_struVcaCtrlCfg;
BOOL m_bSupportChanEx;
NET_DVR_VCA_CTRLINFO_CFG m_struVcaCtrlInfo;
NET_DVR_I_FRAME m_struIFrame;
NET_DVR_SENSOR_ALARM m_struSensorAlarm[48];
//{{AFX_DATA(CClientDemoDlg)
CButton m_btnPlay;
CButton m_btnRecord;
CImageList m_imageTreeList;
CTreeCtrl m_treeDeviceList;
CComboBox m_comboWinNum;
CComboBox m_comboNetDelayBufNum;
CListCtrl m_listAllLog;
CListCtrl m_listAlarmInfo;
//}}AFX_DATA
afx_msg void OnMenuSearchAlarm();
afx_msg void OnMenuPreviewOpts();
afx_msg void OnFileExit();
afx_msg void OnFilePlayback();
afx_msg void OnFilePreview();
afx_msg void OnCfgCamera();
afx_msg void OnCfgLocal();
afx_msg void OnCfgNet();
afx_msg void OnManage();
afx_msg void OnCfgElse();
afx_msg void OnCfgManage();
CEdit m_editCode;
CEdit m_editName;
CListCtrl m_listCodeName;
afx_msg void OnBnClickedButtonDelete();
afx_msg void OnBnClickedButtonAdd();
CExplorer m_web;
CPosition pos[20]; // 最多20个gps
afx_msg void OnConnect();
void InitComm();
CComboBox m_PortNr;
CButton m_OpenCloseCtrl;
afx_msg void OnBnClickedButtonOpenClose();
CComboBox m_BaudRate;
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/yyj8209/hik-vision-station.git
git@gitee.com:yyj8209/hik-vision-station.git
yyj8209
hik-vision-station
HikVisionStation
master

搜索帮助