-
Notifications
You must be signed in to change notification settings - Fork 0
/
Camera.cs
35 lines (33 loc) · 1.03 KB
/
Camera.cs
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;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CosineKitty;
namespace ONVIFCelestialTracker
{
/// <summary>
/// Camera information, GPS coordinates, etc.
/// </summary>
[Serializable]
public class Camera
{
public string IP { get; set; }
public string Name { get; set; }
public string User { get; set; }
public string Password { get; set; }
public Observer Location { get; set; }
public bool IsActive { get; set; }
public double Heading { get; set; } // which direction the physical center of the camera is facing, used for offset calculations
public string Celestial { get; set; }
public List<string> Addresses { get; set; }
}
/// <summary>
/// The result to send to ONVIF for which azimuth and altitude to point at.
/// </summary>
public class CameraAngle
{
public double Azimuth { get; set; }
public double Altitude { get; set; }
}
}