提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.enumeration; |
H |
2 |
|
|
3 |
/** |
|
4 |
* @author 47081 |
|
5 |
* @version 1.0 |
|
6 |
* @description 视频诊断录像保存位置 |
|
7 |
* @date 2021/2/22 |
|
8 |
*/ |
|
9 |
public enum EM_SOURCE_VIDEO_LOCATION { |
|
10 |
/** 未知 */ |
|
11 |
EM_SOURCE_VIDEO_LOCATION_UNKNOWN, |
|
12 |
/** 存于设备 */ |
|
13 |
EM_SOURCE_VIDEO_LOCATION_DEVICE, |
|
14 |
/** 存于平台 */ |
|
15 |
EM_SOURCE_VIDEO_LOCATION_CENTER, |
|
16 |
/** 存于第三方云 */ |
|
17 |
EM_SOURCE_VIDEO_LOCATION_THIRD; |
|
18 |
|
|
19 |
public EM_SOURCE_VIDEO_LOCATION getVideoLocation(int location) { |
|
20 |
for (EM_SOURCE_VIDEO_LOCATION videoLocation : EM_SOURCE_VIDEO_LOCATION.values()) { |
|
21 |
if (videoLocation.ordinal() == location) { |
|
22 |
return videoLocation; |
|
23 |
} |
|
24 |
} |
|
25 |
return EM_SOURCE_VIDEO_LOCATION_UNKNOWN; |
|
26 |
} |
|
27 |
} |