• 大小: 0.60M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2024-05-02
  • 语言: C#
  • 标签: demo  OD  

资源简介


资源截图

代码片段和文件信息

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  2021-01-09 17:34  VTODemo\
     目录           0  2021-01-09 17:34  VTODemo\.vs\
     目录           0  2021-01-09 17:34  VTODemo\.vs\VTODemo\
     目录           0  2021-01-10 21:07  VTODemo\.vs\VTODemo\v14\
     目录           0  2021-01-09 17:34  VTODemo\NetSDKCS\
     文件      304385  2020-11-03 22:27  VTODemo\NetSDKCS\NetSDK.cs
     文件        6338  2020-11-03 22:27  VTODemo\NetSDKCS\NetSDKCS.csproj
     文件     1855449  2020-11-03 22:27  VTODemo\NetSDKCS\NetSDKStruct.cs
     文件       43000  2020-11-03 22:27  VTODemo\NetSDKCS\OriginalSDK.cs
     目录           0  2021-01-09 17:34  VTODemo\NetSDKCS\Properties\
     文件        1428  2020-11-03 22:27  VTODemo\NetSDKCS\Properties\AssemblyInfo.cs
     文件        3723  2020-11-03 22:27  VTODemo\Readme_请先读我 .txt
     目录           0  2021-01-09 17:34  VTODemo\VTODemo\
     文件       10552  2020-11-03 22:27  VTODemo\VTODemo\ColltectionFingerPrint.Designer.cs
     文件        7084  2020-11-03 22:27  VTODemo\VTODemo\ColltectionFingerPrint.cs
     文件        5817  2020-11-03 22:27  VTODemo\VTODemo\ColltectionFingerPrint.resx
     文件       12526  2020-11-03 22:27  VTODemo\VTODemo\OperateInfo.Designer.cs
     文件        9212  2020-11-03 22:27  VTODemo\VTODemo\OperateInfo.cs
     文件        5817  2020-11-03 22:27  VTODemo\VTODemo\OperateInfo.resx
     文件       10894  2020-11-03 22:27  VTODemo\VTODemo\OperateManager.Designer.cs
     文件       30210  2020-11-03 22:27  VTODemo\VTODemo\OperateManager.cs
     文件        6561  2020-11-03 22:27  VTODemo\VTODemo\OperateManager.resx
     文件         527  2020-11-03 22:27  VTODemo\VTODemo\Program.cs
     目录           0  2021-01-09 17:34  VTODemo\VTODemo\Properties\
     文件        1352  2020-11-03 22:27  VTODemo\VTODemo\Properties\AssemblyInfo.cs
     文件       29294  2020-11-03 22:27  VTODemo\VTODemo\VTO.Designer.cs
     文件       31869  2020-11-03 22:27  VTODemo\VTODemo\VTO.cs
     文件        5817  2020-11-03 22:27  VTODemo\VTODemo\VTO.resx
     文件        5475  2020-11-03 22:27  VTODemo\VTODemo\VTODemo.csproj
     目录           0  2021-01-09 17:34  VTODemo\VTODemo\bin\
     目录           0  2021-01-09 17:34  VTODemo\VTODemo\bin\x86Release\
............此处省略5个文件信息

评论

共有 条评论