提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 251823 |
|
7 |
* @description NAS信息 |
|
8 |
* @date 2022/09/08 19:33:10 |
|
9 |
*/ |
|
10 |
public class CFG_NAS_INFO extends NetSDKLib.SdkStructure { |
|
11 |
/** |
|
12 |
* 使能开关 |
|
13 |
*/ |
|
14 |
public int bEnable; |
|
15 |
/** |
|
16 |
* 网络存储服务器版本0=老的FTP,1=NAS存储 |
|
17 |
*/ |
|
18 |
public int nVersion; |
|
19 |
/** |
|
20 |
* 协议类型0=FTP 1=SMB |
|
21 |
*/ |
|
22 |
public int nProtocol; |
|
23 |
/** |
|
24 |
* IP地址或网络名 |
|
25 |
*/ |
|
26 |
public byte[] szAddress = new byte[256]; |
|
27 |
/** |
|
28 |
* 端口号 |
|
29 |
*/ |
|
30 |
public int nPort; |
|
31 |
/** |
|
32 |
* 帐户名 |
|
33 |
*/ |
|
34 |
public byte[] szUserName = new byte[64]; |
|
35 |
/** |
|
36 |
* 密码 |
|
37 |
*/ |
|
38 |
public byte[] szPassword = new byte[64]; |
|
39 |
/** |
|
40 |
* 共享的目录名 |
|
41 |
*/ |
|
42 |
public byte[] szDirectory = new byte[256]; |
|
43 |
/** |
|
44 |
* 文件长度 |
|
45 |
*/ |
|
46 |
public int nFileLen; |
|
47 |
/** |
|
48 |
* 相邻文件时间间隔 |
|
49 |
*/ |
|
50 |
public int nInterval; |
|
51 |
/** |
|
52 |
* 存储时间段 |
|
53 |
*/ |
|
54 |
public CFG_CHANNEL_TIME_SECTION[] stuChnTime = new CFG_CHANNEL_TIME_SECTION[256]; |
|
55 |
/** |
|
56 |
* 有效的存储时间段数 |
|
57 |
*/ |
|
58 |
public int nChnTimeCount; |
|
59 |
|
|
60 |
public CFG_NAS_INFO() { |
|
61 |
for (int i = 0; i < stuChnTime.length; i++) { |
|
62 |
stuChnTime[i] = new CFG_CHANNEL_TIME_SECTION(); |
|
63 |
} |
|
64 |
} |
|
65 |
} |