-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMOSErrorCode.cs
More file actions
50 lines (50 loc) · 1.29 KB
/
CMOSErrorCode.cs
File metadata and controls
50 lines (50 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
namespace TianWen.DAL
{
public enum CMOSErrorCode
{
Success = 0,
/// <summary>
/// no camera connected or index value out of boundary
/// </summary>
InvalidIndex,
InvalidId,
InvalidControlType,
/// <summary>
/// Camera is not connected, or couldn't be opened
/// </summary>
CameraClosed,
/// <summary>
/// Failed to find the camera, maybe the camera has been removed
/// </summary>
CameraRemoved,
/// <summary>
/// cannot find the path of the file.
/// </summary>
InvalidPath,
InvalidFileFormat,
/// <summary>
/// Wrong video format size
/// </summary>
InvalidSize,
/// <summary>
/// Unsupported image format
/// </summary>
InvalidImageFormat,
/// <summary>
/// Start position is out of boundary
/// </summary>
OutOfBoundary,
Timeout,
/// <summary>
/// Stop capture first
/// </summary>
InvalidSequence,
BufferTooSmall,
VideoModeActive,
ExposureInProgress,
/// <summary>
/// general error, eg: value is out of valid range
/// </summary>
GeneralError
};
}