mirror of
https://github.com/akpaevj/onecmonitor.git
synced 2024-12-14 10:12:52 +02:00
16 lines
749 B
C#
16 lines
749 B
C#
namespace OnecMonitor.Server.Models
|
|
{
|
|
public class TechLogSeance
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string Description { get; set; } = string.Empty;
|
|
public TechLogSeanceStartMode StartMode { get; set; } = TechLogSeanceStartMode.Immediately;
|
|
public DateTime StartDateTime { get; set; } = DateTime.MinValue;
|
|
public int Duration { get; set; } = 15;
|
|
public DateTime FinishDateTime => DateTime.SpecifyKind(StartMode == TechLogSeanceStartMode.Monitor ? DateTime.MaxValue : StartDateTime.AddMinutes(Duration), DateTimeKind.Utc);
|
|
|
|
public List<LogTemplate> ConnectedTemplates { get; set; } = new();
|
|
public List<Agent> ConnectedAgents { get; set; } = new();
|
|
}
|
|
}
|