using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tango.Core; using Tango.FSE.Insights.SciChart; namespace Tango.FSE.Insights.ML { public class AnomaliesDetectionProgress : ExtendedObject { public InsightsChart Chart { get; set; } public int FramesCount { get; set; } private int _currentFrame; public int CurrentFrame { get { return _currentFrame; } set { if (value > _currentFrame + 9 || value == FramesCount) { _currentFrame = value; RaisePropertyChanged(nameof(CurrentFrame)); } } } } }