blob: 6331e7de0b59f73734d37954de5febf1f59a1a7f (
plain)
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
|
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));
}
}
}
}
}
|