跳转至

NVRChlInfoStruct

结构体定义

1
2
3
4
5
6
7
8
9
struct NVRChlInfoStruct
{
    int softwareVersion;              
    int productType;                  
    int deviceType;                   
    int supportSoftEncrypt;           
    char detailedSoftwareVersion[64]; 
    char mac[32];                     
};
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct NVRChlInfoStruct
{
    public Int32 softwareVersion;
    public Int32 productType;
    public Int32 deviceType;
    public Int32 supportSoftEncrypt;
    [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)]
    public string detailedSoftwareVersion;
    [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]
    public string mac;
}

功能描述

NVR通道信息结构体。

成员说明

成员 类型 备注
softwareVersion int 软件版本。
productType int 产品型号。
deviceType int 设备类型。
supportSoftEncrypt int 是否支持软件加密,1:支持;0:不支持。
detailedSoftwareVersion char[64] 详细软件版本。
mac char[32] MAC地址。
错误码