using System.Collections.ObjectModel; using System.Windows; using Azaion.Common.Database; namespace Azaion.Common.DTO; public class FormState { public MediaFile? CurrentMedia { get; set; } public string CurrentMediaHash => CurrentMedia?.Hash ?? ""; public string CurrentMediaName => CurrentMedia?.Name ?? ""; public Size CurrentMediaSize { get; set; } public TimeSpan CurrentVideoLength { get; set; } public TimeSpan? BackgroundTime { get; set; } public int CurrentVolume { get; set; } = 100; public ObservableCollection AnnotationResults { get; set; } = []; public WindowEnum ActiveWindow { get; set; } }