资源简介
海康威视c#demo和开发文档(亲测项目(含源码)可用但包含错误)
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Globalization;
using System.Reflection;
using AcsDemo.Language;
using AcsDemo.Public;
using AcsDemo.ProductAcs.CardManage;
using AcsDemo.ProductAcs;
namespace AcsDemo
{
public partial class AcsDemo : Form
{
const uint xml_ABILITY_OUT_LEN = 3 * 1024 * 1024;
private DeviceLogList g_formList = DeviceLogList.Instance();
private DeviceTree g_deviceTree = DeviceTree.Instance();
private CHCNetSDK.NET_DVR_ACS_WORK_STATUS_V50 m_struAcsWorkStatus = new CHCNetSDK.NET_DVR_ACS_WORK_STATUS_V50();
private CHCNetSDK.NET_DVR_CARD_READER_CFG_V50 m_struCardReaderCfg = new CHCNetSDK.NET_DVR_CARD_READER_CFG_V50();
private bool m_bInitSDK = false;
private bool m_bValidate = false;
//built in current demo one user with one card and one fingerprint;
public const int iMaxCardNum = 100;
public const int iMaxFingerPrint = 100;
public CHCNetSDK.NET_DVR_CARD_CFG_V50[] m_struCardInfo = new CHCNetSDK.NET_DVR_CARD_CFG_V50[iMaxCardNum];
public UserInfo[] m_userInfo = new UserInfo[iMaxCardNum];
private CHCNetSDK.NET_DVR_FINGER_PRINT_CFG[] m_struFingerPrintInfo = new CHCNetSDK.NET_DVR_FINGER_PRINT_CFG[iMaxFingerPrint];
private int m_curUserNum = 0;
//public event DeleteClick DeleteBtnClick;
protected void mouseClickDeviceTreeNode(object send TreeNodeMouseClickEventArgs e)
{
int iDeviceIndex = g_deviceTree.GetCurDeviceIndex();
tabControlAcs.SuspendLayout();
if ((e.Node.Level) == 0 || (e.Node.Level == 1))
{
//HideAcsControlAllTabPages();
tabPageDoorInfo.Parent = null;
tabPageDoorStatusPlan.Parent = null;
//tabPageRemoteControlDoor.Parent = null;
tabPageCardReaderInfo.Parent = null;
tabPageCardReaderPlan.Parent = null;
tabPageDeviceStatus.Parent = tabControlAcs;
tabPageUserManagement.Parent = tabControlAcs;
tabPageRemoteControl.Parent = tabControlAcs;
tabPageParamCfg.Parent = tabControlAcs;
tabPageBasicParam.Parent = tabControlAcs;
tabPageAcsxml.Parent = tabControlAcs;
//device login and select one device
if (iDeviceIndex >= 0 && g_deviceTree.g_struDeviceInfo[iDeviceIndex].lLoginID >= 0)
{
GetAcsWorkStatus(g_deviceTree.g_struDeviceInfo[iDeviceIndex].lLoginID ref m_struAcsWorkStatus);
UpdateWorkStatus();
g_deviceTree.UpdateTreeNode();
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
..A..H. 206336 2017-12-20 11:21 AcsDemo\.vs\AcsDemo\v14\.suo
文件 72427 2017-04-27 17:41 AcsDemo\AcsDemo.cs
文件 12857 2017-04-26 10:18 AcsDemo\AcsDemo.csproj
文件 132541 2017-04-26 19:24 AcsDemo\AcsDemo.Designer.cs
文件 278703 2017-04-26 19:24 AcsDemo\AcsDemo.resx
文件 982 2017-04-26 10:18 AcsDemo\AcsDemo.sln
文件 206848 2017-04-28 18:18 AcsDemo\AcsDemo.v12.suo
文件 184 2017-04-26 10:18 AcsDemo\App.config
文件 697344 2017-12-20 11:36 AcsDemo\bin\AcsDemo.exe
文件 184 2017-04-26 10:18 AcsDemo\bin\AcsDemo.exe.config
文件 386560 2017-12-20 11:36 AcsDemo\bin\AcsDemo.pdb
文件 22696 2017-12-20 13:25 AcsDemo\bin\AcsDemo.vshost.exe
文件 184 2017-04-26 10:18 AcsDemo\bin\AcsDemo.vshost.exe.config
文件 490 2012-06-06 02:06 AcsDemo\bin\AcsDemo.vshost.exe.manifest
文件 146432 2017-04-26 10:18 AcsDemo\bin\AudioRender.dll
文件 80384 2017-04-26 10:18 AcsDemo\bin\ClientDemoDll\calib.dll
文件 888832 2017-04-26 10:18 AcsDemo\bin\ClientDemoDll\iconv.dll
文件 987136 2017-04-26 10:18 AcsDemo\bin\ClientDemoDll\libxm
文件 94 2017-04-26 10:18 AcsDemo\bin\ClientDemoDll\ReadMe.txt
文件 77824 2017-04-26 10:18 AcsDemo\bin\ClientDemoDll\zlib1.dll
文件 2106216 2017-04-26 10:18 AcsDemo\bin\D3DCompiler_43.dll
文件 1998168 2017-04-26 10:18 AcsDemo\bin\D3DX9_43.dll
文件 409600 2017-04-26 10:18 AcsDemo\bin\EagleEyeRender.dll
文件 1645320 2017-04-26 10:18 AcsDemo\bin\gdiplus.dll
文件 200480 2017-04-26 10:18 AcsDemo\bin\GdiPlus.lib
文件 1116672 2017-04-26 10:18 AcsDemo\bin\HCCore.dll
文件 165880 2017-04-26 10:18 AcsDemo\bin\HCCore.lib
文件 662016 2017-04-26 10:18 AcsDemo\bin\HCNetSDK.dll
文件 218992 2017-04-26 10:18 AcsDemo\bin\HCNetSDK.lib
文件 415232 2017-04-26 10:18 AcsDemo\bin\HCNetSDKCom\AnalyzeData.dll
............此处省略225个文件信息
评论
共有 条评论