aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Telemetry/TelemetryConfigurableSource.cs
blob: c1068582bcfe39187291c6537061a30398c967b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core;
using Tango.Settings;

namespace Tango.Telemetry
{
    public abstract class TelemetryConfigurableSource<T> : ExtendedObject where T : SettingsBase
    {
        public T Config { get; set; }

        public TelemetryConfigurableSource()
        {
            Config = SettingsManager.Default.GetOrCreate<T>();
        }
    }
}