資源簡介
Demo包含一些自定義控件(下拉列表,樹形列表 , 圖片列表等)均可實現(xiàn)透明效果。主窗體是一個海康相機的監(jiān)控視頻。使用時可替換成其他視頻。
代碼片段和文件信息
using?System;
using?System.Runtime.InteropServices;
namespace?TransparentWindowsForms
{
///?
///?CHCNetSDK?的摘要說明。
///?
????public?class?CHCNetSDK
????{
????????public?CHCNetSDK()
????????{
????????????//
????????????//?TODO:?在此處添加構(gòu)造函數(shù)邏輯
????????????//
????????}
????????
????????//SDK類型
????????public?const?int?SDK_PLAYMPEG4?=?1;//播放庫
????????public?const?int?SDK_HCNETSDK?=?2;//網(wǎng)絡庫
????????public?const?int?NAME_LEN?=?32;//用戶名長度
????????public?const?int?PASSWD_LEN?=?16;//密碼長度
????????public?const?int?GUID_LEN?=?16;??????//GUID長度
????????public?const?int?DEV_TYPE_NAME_LEN?=?24;??????//設備類型名稱長度
????????public?const?int?MAX_NAMELEN?=?16;//DVR本地登陸名
????????public?const?int?MAX_RIGHT?=?32;//設備支持的權(quán)限(1-12表示本地權(quán)限,13-32表示遠程權(quán)限)
????????public?const?int?SERIALNO_LEN?=?48;//序列號長度
????????public?const?int?MACADDR_LEN?=?6;//mac地址長度
????????public?const?int?MAX_ETHERNET?=?2;//設備可配以太網(wǎng)絡
????????public?const?int?MAX_NETWORK_CARD?=?4;?//設備可配最大網(wǎng)卡數(shù)目
????????public?const?int?PATHNAME_LEN?=?128;//路徑長度
????????public?const?int?MAX_NUMBER_LEN?=?32; //號碼最大長度
????????public?const?int?MAX_NAME_LEN?=?128;?//設備名稱最大長度
????????public?const?int?MAX_TIMESEGMENT_V30?=?8;//9000設備最大時間段數(shù)
????????public?const?int?MAX_TIMESEGMENT?=?4;//8000設備最大時間段數(shù)
????????public?const?int?MAX_ICR_NUM?=?8;???//抓拍機紅外濾光片預置點數(shù)
????????public?const?int?MAX_SHELTERNUM?=?4;//8000設備最大遮擋區(qū)域數(shù)
????????public?const?int?PHONENUMBER_LEN?=?32;//pppoe撥號號碼最大長度
????????public?const?int?MAX_DISKNUM?=?16;//8000設備最大硬盤數(shù)
????????public?const?int?MAX_DISKNUM_V10?=?8;//1.2版本之前版本
????????public?const?int?MAX_WINDOW_V30?=?32;//9000設備本地顯示最大播放窗口數(shù)
????????public?const?int?MAX_WINDOW?=?16;//8000設備最大硬盤數(shù)
????????public?const?int?MAX_VGA_V30?=?4;//9000設備最大可接VGA數(shù)
????????public?const?int?MAX_VGA?=?1;//8000設備最大可接VGA數(shù)
????????public?const?int?MAX_USERNUM_V30?=?32;//9000設備最大用戶數(shù)
????????public?const?int?MAX_USERNUM?=?16;//8000設備最大用戶數(shù)
????????public?const?int?MAX_EXCEPTIONNUM_V30?=?32;//9000設備最大異常處理數(shù)
????????public?const?int?MAX_EXCEPTIONNUM?=?16;//8000設備最大異常處理數(shù)
????????public?const?int?MAX_link?=?6;//8000設備單通道最大視頻流連接數(shù)
????????public?const?int?MAX_ITC_EXCEPTIONOUT?=?32;//抓拍機最大報警輸出
????????public?const?int?MAX_DECPOOLNUM?=?4;//單路解碼器每個解碼通道最大可循環(huán)解碼數(shù)
????????public?const?int?MAX_DECNUM?=?4;//單路解碼器的最大解碼通道數(shù)(實際只有一個,其他三個保留)
????????public?const?int?MAX_TRANSPARENTNUM?=?2;//單路解碼器可配置最大透明通道數(shù)
????????public?const?int?MAX_CYCLE_CHAN?=?16;?//單路解碼器最大輪循通道數(shù)
????????public?const?int?MAX_CYCLE_CHAN_V30?=?64;//最大輪詢通道數(shù)(擴展)
????????public?const?int?MAX_DIRNAME_LENGTH?=?80;//最大目錄長度
????????public?const?int?MAX_STRINGNUM_V30?=?8;//9000設備最大OSD字符行數(shù)數(shù)
????????public?const?int?MAX_STRINGNUM?=?4;//8000設備最大OSD字符行數(shù)數(shù)
????????public?const?int?MAX_STRINGNUM_EX?=?8;//8000定制擴展
????????public?const?int?MAX_AUXOUT_V30?=?16;//9000設備最大輔助輸出數(shù)
????????public?const?int?MAX_AUXOUT?=?4;//8000設備最大輔助輸出數(shù)
????????public?const?int?MAX_HD_GROUP?=?16;//9000設備最大硬盤組數(shù)
????????public?const?int?MAX_NFS_DI
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????..A..H.?????88064??2019-03-18?11:09??TransparentWindowsForms\.vs\TransparentWindowsForms\v14\.suo
?????文件????????189??2018-12-28?20:18??TransparentWindowsForms\TransparentWindowsForms\App.config
?????文件?????142336??2018-08-17?18:36??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\AudioRender.dll
?????文件???20161536??2018-08-17?18:48??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\ClientDemo.exe
?????文件??????92160??2018-08-17?18:36??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\ClientDemoDll\calib.dll
?????文件?????888832??2018-08-17?18:36??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\ClientDemoDll\iconv.dll
?????文件????2219520??2018-08-17?18:36??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\ClientDemoDll\libxm
?????文件?????????94??2018-08-17?18:36??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\ClientDemoDll\ReadMe.txt
?????文件??????77824??2018-08-17?18:36??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\ClientDemoDll\zlib1.dll
?????文件????????113??2018-11-27?14:02??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\detect.log
?????文件?????100352??2018-11-23?13:46??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\DetectPeople.dll
?????文件?????306688??2018-08-17?18:36??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\EagleEyeRender.dll
?????文件?????328477??2018-11-27?11:29??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\filetest.jpg
?????文件????2166272??2018-08-17?18:36??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\GdiPlus.dll
?????文件?????216144??2018-08-17?18:36??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\GdiPlus.lib
?????文件????2250752??2018-08-17?18:52??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\HCCore.dll
?????文件?????215284??2018-08-17?18:52??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\HCCore.lib
?????文件????1251840??2018-08-17?18:57??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\HCNetSDK.dll
?????文件?????210434??2018-08-17?18:57??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\HCNetSDK.lib
?????文件?????275456??2018-08-17?18:36??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\HCNetSDKCom\AnalyzeData.dll
?????文件?????422400??2018-08-17?18:36??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\HCNetSDKCom\AudioIntercom.dll
?????文件?????937472??2018-08-17?18:54??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\HCNetSDKCom\HCAlarm.dll
?????文件??????14882??2018-08-17?18:54??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\HCNetSDKCom\HCAlarm.lib
?????文件????1523712??2018-08-17?18:54??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\HCNetSDKCom\HCCoreDevCfg.dll
?????文件????1249280??2018-08-17?18:55??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\HCNetSDKCom\HCDisplay.dll
?????文件????2166784??2018-08-17?18:55??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\HCNetSDKCom\HCGeneralCfgMgr.dll
?????文件??????47232??2018-08-17?18:55??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\HCNetSDKCom\HCGeneralCfgMgr.lib
?????文件????1652736??2018-08-17?18:55??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\HCNetSDKCom\HCIndustry.dll
?????文件?????928768??2018-08-17?18:55??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\HCNetSDKCom\HCPlayBack.dll
?????文件????1184256??2018-08-17?18:55??TransparentWindowsForms\TransparentWindowsForms\bin\Debug\HCNetSDKCom\HCPreview.dll
............此處省略156個文件信息
- 上一篇:unity3d小游戲,見縫插針2d
- 下一篇:狼人殺游戲源碼
評論
共有 條評論