-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSetCameraMessage.cs
More file actions
35 lines (26 loc) · 920 Bytes
/
Copy pathSetCameraMessage.cs
File metadata and controls
35 lines (26 loc) · 920 Bytes
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
using System.Text.Json.Serialization;
namespace CameraServer
{
public class SetCameraMessage
{
///the camera name
public string Name { get; set; } = "";
/// this will ignore all the other settings and set the enitre camera to default
public int? SetToDefault { get; set; }
public int? Focus { get; set; }
public int? AutoFocus { get; set; }
// TODO: make a setting to enable auto exposure
public int? Exposure { get; set; }
public int? Brightness { get; set; }
public int? Contrast { get; set; }
public int? Satuation { get; set; }
public int? Sharpness { get; set; }
// TODO: make settings to enable auto whitebalance
public int? WhiteBalance { get; set; }
public int? BacklightComp { get; set; }
public int? Gain { get; set; }
public SetCameraMessage()
{
}
}
}