资源简介
亲测可用,这是使用大华sdk接入大华摄像头实时视频的winform测试程序
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.ComponentModel;
namespace NetSDKCS
{
public static class NETClient
{
#region << constant >>
///
/// whether to throw an execption.
/// 是否抛异常
///
private static bool m_IsThrowErrorMessage = false;
///
/// Query splice screen(struct NET_COMPOSITE_CHANNEL)
///
public static uint NET_DEVSTATE_COMPOSITE_CHN = 0x0047;
///
/// en-us language
/// 英文错误码对应的错误信息
///
private static Dictionary en_us_String = new Dictionary()
{
{EM_ErrorCode.NET_NOERROR“No error“}
{EM_ErrorCode.NET_ERROR“Unknown error“}
{EM_ErrorCode.NET_SYSTEM_ERROR“Windows system error“}
{EM_ErrorCode.NET_NETWORK_ERROR“Protocol error it may result from network timeout“}
{EM_ErrorCode.NET_DEV_VER_NOMATCH“Device protocol does not match“}
{EM_ErrorCode.NET_INVALID_HANDLE“Handle is invalid“}
{EM_ErrorCode.NET_OPEN_CHANNEL_ERROR“Failed to open channel“}
{EM_ErrorCode.NET_CLOSE_CHANNEL_ERROR“Failed to close channel“}
{EM_ErrorCode.NET_ILLEGAL_PARAM“User parameter is illegal“}
{EM_ErrorCode.NET_SDK_INIT_ERROR“SDK initialization error“}
{EM_ErrorCode.NET_SDK_UNINIT_ERROR“SDK clear error“}
{EM_ErrorCode.NET_RENDER_OPEN_ERROR“Error occurs when apply for render resources“}
{EM_ErrorCode.NET_DEC_OPEN_ERROR“Error occurs when opening the decoder library“}
{EM_ErrorCode.NET_DEC_CLOSE_ERROR“Error occurs when closing the decoder library“}
{EM_ErrorCode.NET_MULTIPLAY_NOCHANNEL“The detected channel number is 0 in multiple-channel preview“}
{EM_ErrorCode.NET_TALK_INIT_ERROR“Failed to initialize record library“}
{EM_ErrorCode.NET_TALK_NOT_INIT“The record library has not been initialized“}
{EM_ErrorCode.NET_TALK_SENDDATA_ERROR“Error occurs when sending out audio data“}
{EM_ErrorCode.NET_REAL_ALREADY_SAVING“The real-time has been protected“}
{EM_ErrorCode.NET_NOT_SAVING“The real-time data has not been save“}
{EM_ErrorCode.NET_OPEN_FILE_ERROR“Error occurs when opening the file“}
{EM_ErrorCode.NET_PTZ_SET_TIMER_ERROR“Failed to enable PTZ to control timer“}
{EM_ErrorCode.NET_RETURN_DATA_ERROR“Error occurs when verify returned data“}
{EM_ErrorCode.NET_INSUFFICIENT_BUFFER“There is no sufficient buffer“}
{EM_ErrorCode.NET_NOT_SUPPORTED“The current SDK does not support this function“}
{EM_ErrorCode.NET_NO_RECORD_FOUND“There is no searched result“}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-01-20 10:26 .vs\
目录 0 2019-01-20 10:26 .vs\RealPlayAndPTZDemo\
目录 0 2019-01-20 10:26 .vs\RealPlayAndPTZDemo\DesignTimeBuild\
文件 644 2019-01-24 08:36 .vs\RealPlayAndPTZDemo\DesignTimeBuild\.dtbcache
目录 0 2019-01-24 08:36 .vs\RealPlayAndPTZDemo\v15\
文件 33792 2019-01-24 08:36 .vs\RealPlayAndPTZDemo\v15\.suo
目录 0 2019-01-20 10:26 .vs\RealPlayAndPTZDemo\v15\Server\
目录 0 2019-01-20 10:26 .vs\RealPlayAndPTZDemo\v15\Server\sqlite3\
文件 0 2019-01-19 14:55 .vs\RealPlayAndPTZDemo\v15\Server\sqlite3\db.lock
文件 4096 2019-01-19 14:55 .vs\RealPlayAndPTZDemo\v15\Server\sqlite3\storage.ide
文件 32768 2019-01-22 16:24 .vs\RealPlayAndPTZDemo\v15\Server\sqlite3\storage.ide-shm
文件 2476152 2019-01-22 16:24 .vs\RealPlayAndPTZDemo\v15\Server\sqlite3\storage.ide-wal
目录 0 2019-01-20 10:26 NetSDKCS\
目录 0 2019-01-20 10:26 NetSDKCS\bin\
目录 0 2019-01-19 14:54 NetSDKCS\bin\Debug\
目录 0 2019-01-20 10:26 NetSDKCS\bin\Release\
文件 135680 2019-01-19 15:13 NetSDKCS\bin\Release\NetSDKCS.dll
文件 44544 2019-01-19 15:13 NetSDKCS\bin\Release\NetSDKCS.pdb
文件 134265 2018-01-27 15:00 NetSDKCS\NetSDK.cs
文件 2194 2018-01-27 15:00 NetSDKCS\NetSDKCS.csproj
文件 757795 2018-01-27 15:00 NetSDKCS\NetSDKStruct.cs
目录 0 2019-01-20 10:26 NetSDKCS\obj\
目录 0 2019-01-20 10:26 NetSDKCS\obj\Debug\
文件 42 2019-01-19 14:54 NetSDKCS\obj\Debug\NetSDKCS.csproj.CoreCompileInputs.cache
文件 2926 2019-01-19 14:54 NetSDKCS\obj\Debug\NetSDKCS.csprojAssemblyReference.cache
目录 0 2019-01-19 14:54 NetSDKCS\obj\Debug\TempPE\
目录 0 2019-01-20 10:26 NetSDKCS\obj\Release\
文件 42 2019-01-19 15:13 NetSDKCS\obj\Release\NetSDKCS.csproj.CoreCompileInputs.cache
文件 1007 2019-01-19 15:13 NetSDKCS\obj\Release\NetSDKCS.csproj.FileListAbsolute.txt
文件 2926 2019-01-19 15:13 NetSDKCS\obj\Release\NetSDKCS.csprojAssemblyReference.cache
文件 135680 2019-01-19 15:13 NetSDKCS\obj\Release\NetSDKCS.dll
............此处省略73个文件信息
- 上一篇:基于ASP.NET的博客系统源代码 BLOG
- 下一篇:C#函数式编程英文版
评论
共有 条评论