fuliqi
2024-09-02 bb4c01a00c8203fdadf38aca9290227f6682655f
ycl-server/src/main/java/com/ycl/api/YS/lib/NetDEVSDKLib.java
@@ -4,7 +4,6 @@
import com.sun.jna.Library;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import com.sun.jna.ptr.IntByReference;
import com.sun.jna.ptr.LongByReference;
@@ -130,7 +129,7 @@
    * @brief 设备登录信息
    * @attention
    */
   @Structure.FieldOrder({"byRes", "dwDeviceType" ,"dwLoginProto","dwPort","szIPAddr","szPassword","szUserName"})
   @Structure.FieldOrder({"szIPAddr", "dwPort" ,"szUserName","szPassword","dwLoginProto","dwDeviceType","byRes"})
   public class NETDEV_DEVICE_LOGIN_INFO_S extends Structure
   {
      public byte[]     szIPAddr = new byte[NETDEV_LEN_260];   /* IP地址/域名 */
@@ -147,7 +146,7 @@
    * @brief 安全登录信息
    * @attention
    */
   @Structure.FieldOrder({"byRes", "dwSELogCount","dwSELogTime"})
   @Structure.FieldOrder({"dwSELogCount", "dwSELogTime","byRes"})
   public class NETDEV_SELOG_INFO_S extends Structure {
      public int       dwSELogCount;          /* 安全登录次数 */
      public int       dwSELogTime;           /* 安全登录时间 */
@@ -4962,6 +4961,8 @@
    * @brief 视频通道详细信息 结构体定义  Structure definition
    * @attention 无 None
    */
   @Structure.FieldOrder({"dwChannelID","bPtzSupported","enStatus","dwStreamNum","enChannelType","enVideoFormat","enAddressType", "szIPAddr","dwPort",
         "szChnName","allowDistribution","dwDeviceType","szManufacturer","szDeviceModel","udwAccessProtocol","pstExtendedInformation","byRes"})
   public class NETDEV_VIDEO_CHL_DETAIL_INFO_EX_S extends Structure {
      public int                  dwChannelID;                        /* 通道ID  Channel ID */
      public int                  bPtzSupported;                      /* 是否支持云台 Whether ptz is supported */
@@ -5232,6 +5233,7 @@
    * @brief 超时时间 结构体定义  Timeout structure definition
    * @attention
    */
   @Structure.FieldOrder({"dwRevTimeOut", "dwFileReportTimeOut","byRes"})
   public class NETDEV_REV_TIMEOUT_S extends Structure {
      public int   dwRevTimeOut;                 /* 设置接收超时时间 Set timeout for receiving */
      public int   dwFileReportTimeOut;          /* 设置文件操作超时时间 Set timeout for file operation */
@@ -5988,7 +5990,7 @@
    * @brief OSD时间配置信息 OSD time configuration information
    * @attention 无 None
    */
   @Structure.FieldOrder({"bEnableFlag", "bWeekEnableFlag","stAreaScope","udwDateFormat","udwTimeFormat"})
   @Structure.FieldOrder({"bEnableFlag", "bWeekEnableFlag","stAreaScope","udwTimeFormat","udwDateFormat"})
   public class NETDEV_OSD_TIME_S extends Structure {
      public int                    bEnableFlag;        /** 时间OSD使能, BOOL_TRUE为使能,BOOL_FALSE为非使能 * Enable time OSD, BOOL_TRUE means enable and BOOL_FALSE means disable */
      public int                    bWeekEnableFlag;    /** 是否显示星期(预留) * Display week or not (reserved) */
@@ -6005,7 +6007,7 @@
    * @brief OSD字符叠加信息 OSD text overlay information
    * @attention
    */
   @Structure.FieldOrder({"bEnableFlag", "byRes","stAreaScope","szOSDText"})
   @Structure.FieldOrder({"bEnableFlag", "stAreaScope","szOSDText","byRes"})
   public class NETDEV_OSD_TEXT_OVERLAY_S extends Structure {
      public int              bEnableFlag;                /** OSD字符叠加使能, BOOL_TRUE为使能,BOOL_FALSE为非使能 * Enable OSD text overlay, BOOL_TRUE means enable and BOOL_FALSE means disable */
      public NETDEV_AREA_SCOPE_S   stAreaScope;                /** OSD字符叠加区域坐标 * OSD text overlay area coordinates */
@@ -6020,7 +6022,7 @@
    * @brief 通道OSD的基本属性信息 Basic channel OSD information
    * @attention
    */
   @Structure.FieldOrder({"astTextOverlay", "stNameOSD","stTimeOSD","wTextNum"})
   @Structure.FieldOrder({"stTimeOSD", "stNameOSD","wTextNum","astTextOverlay"})
   public class NETDEV_VIDEO_OSD_CFG_S extends Structure {
      public NETDEV_OSD_TIME_S         stTimeOSD;        /* 通道的时间OSD信息  Information of channel time OSD */
      public NETDEV_OSD_TEXT_OVERLAY_S stNameOSD;        /* 通道的名称OSD信息  Information of channel name OSD */
@@ -7177,6 +7179,7 @@
    * @brief 时间配置 结构体定义 Time configuration structure definition
    * @attention
    */
   @Structure.FieldOrder({"dwMonth", "dwWeekInMonth" ,"dwDayInWeek","dwHour"})
   public class NETDEV_TIME_DST_S extends Structure{
      public int dwMonth;              /* 月(1~12)  Month(1~12)*/
      public int dwWeekInMonth;        /* 每月的第N周(1~5)  1 for the first week and 5 for the last week in the month */
@@ -7188,6 +7191,7 @@
    * @brief 时间配置 结构体定义 Time configuration structure definition
    * @attention
    */
   @Structure.FieldOrder({"stBeginTime", "stEndTime" ,"dwOffsetTime"})
   public class NETDEV_TIME_DST_CFG_S extends Structure{
      public NETDEV_TIME_DST_S   stBeginTime;        /* 夏令时开始时间 参见枚举#NETDEV_TIME_DST_S  DST begin time see enumeration NETDEV_TIME_DST_S */
      public NETDEV_TIME_DST_S   stEndTime;          /* 夏令时结束时间 参见枚举#NETDEV_TIME_DST_S  DST end time see enumeration NETDEV_TIME_DST_S */
@@ -7198,6 +7202,7 @@
    * @brief 时间参数 结构体定义 Time parameter Structure definition
    * @attention 无 None
    */
   @Structure.FieldOrder({"dwYear", "dwMonth" ,"dwDay","dwHour","dwMinute","dwSecond"})
   public class NETDEV_TIME_S extends Structure{
      public int   dwYear;                       /* 年  Year */
      public int   dwMonth;                      /* 月  Month */
@@ -7211,6 +7216,7 @@
    * @brief 时间配置 结构体定义 Time configuration structure definition
    * @attention
    */
   @Structure.FieldOrder({"dwTimeZone", "stTime" ,"bEnableDST","stTimeDSTCfg","udwDateFormat","udwHourFormat","byRes"})
   public class NETDEV_TIME_CFG_S extends Structure{
      public int     dwTimeZone;             /* 时区 参见枚举# NETDEV_TIME_ZONE_E  Time zone, see enumeration #NETDEV_TIME_ZONE_E */
      public NETDEV_TIME_S           stTime;                 /* 时间  Time */
@@ -10904,6 +10910,7 @@
    * @return TRUE表示成功,其他表示失败 TRUE means success, and any other value means failure.
    * @note
    */
   public boolean NETDEV_SetConnectTime(int dwWaitTime, int dwTrytimes);
   /**