31 lines
611 B
C#
31 lines
611 B
C#
using Assets.Scripts.Devices.Ant;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Assets.Scripts.Devices
|
|
{
|
|
public abstract class DeviceAdapter : IDisposable
|
|
{
|
|
public abstract ConnectionInterface Interface { get; }
|
|
|
|
|
|
public abstract DeviceAdapterState GetState();
|
|
|
|
public abstract IEnumerable<AbstractDevice> GetDevices();
|
|
|
|
public abstract void StartScan();
|
|
|
|
public abstract void StopScan();
|
|
|
|
public virtual void Dispose()
|
|
{
|
|
|
|
}
|
|
|
|
|
|
}
|
|
}
|