package com.usky.sas.common.hik;

import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;

public class SADP_DEVICE_INFO extends Structure {
    public byte[] szSeries = new byte[12];
    public byte[] szSerialNO = new byte[48];
    public byte[] szMAC = new byte[20];
    public byte[] szIPv4Address = new byte[16];
    public byte[] szIPv4SubnetMask = new byte[16];
    public int dwDeviceType;
    public int dwPort;
    public int dwNumberOfEncoders;
    public int dwNumberOfHardDisk;
    public byte[] szDeviceSoftwareVersion = new byte[48];
    public byte[] szDSPVersion = new byte[48];
    public byte[] szBootTime = new byte[48];
    public int iResult;
    public byte[] szDevDesc = new byte[24];
    public byte[] szOEMinfo = new byte[24];
    public byte[] szIPv4Gateway = new byte[16];
    public byte[] szIPv6Address = new byte[46];
    public byte[] szIPv6Gateway = new byte[46];
    public byte byIPv6MaskLen;
    public byte bySupport;
    public byte byDhcpEnabled;
    public byte byDeviceAbility;
    public short wHttpPort;
    public short wDigitalChannelNum;
    public byte[] szCmsIPv4 = new byte[16];
    public short wCmsPort;
    public byte byOEMCode;
    public byte byActivated;
    public byte[] szBaseDesc = new byte[24];
    public byte bySupport1;
    public byte byHCPlatform;
    public byte byEnableHCPlatform;
    public byte byEZVIZCode;
    public int dwDetailOEMCode;
    public byte byModifyVerificationCode;
    public byte byMaxBindNum;
    public short wOEMCommandPort;
    public byte bySupportWifiRegion;
    public byte byEnableWifiEnhancement;
    public byte byWifiRegion;
    public byte bySupport2;

    public SADP_DEVICE_INFO() {
    }

    protected List<String> getFieldOrder() {
        return Arrays.asList("szSeries", "szSerialNO", "szMAC", "szIPv4Address", "szIPv4SubnetMask", "dwDeviceType", "dwPort", "dwNumberOfEncoders", "dwNumberOfHardDisk", "szDeviceSoftwareVersion", "szDSPVersion", "szBootTime", "iResult", "szDevDesc", "szOEMinfo", "szIPv4Gateway", "szIPv6Address", "szIPv6Gateway", "byIPv6MaskLen", "bySupport", "byDhcpEnabled", "byDeviceAbility", "wHttpPort", "wDigitalChannelNum", "szCmsIPv4", "wCmsPort", "byOEMCode", "byActivated", "szBaseDesc", "bySupport1", "byHCPlatform", "byEnableHCPlatform", "byEZVIZCode", "dwDetailOEMCode", "byModifyVerificationCode", "byMaxBindNum", "wOEMCommandPort", "bySupportWifiRegion", "byEnableWifiEnhancement", "byWifiRegion", "bySupport2");
    }
}

