28 lines
763 B
C#
28 lines
763 B
C#
using Aurora;
|
|
using Aurora.Api;
|
|
using Aurora.Api.Manager;
|
|
using Aurora.View;
|
|
|
|
namespace AuroraOCT.Views
|
|
{
|
|
public class UCOCTDeviceViewModel : NotifyPropertyChangedBase
|
|
{
|
|
Logger Log = new Logger("OCT");
|
|
|
|
private bool _bRunningSoftware;
|
|
public bool bRunningSoftware { get => _bRunningSoftware; set => SetProperty(ref _bRunningSoftware, value); }
|
|
|
|
private readonly IDeviceManager _deviceManger;
|
|
private readonly OCT _OCT;
|
|
private readonly OCTConfig _config;
|
|
|
|
public UCOCTDeviceViewModel(IAuroraEnvironment aurora, string deviceId)
|
|
{
|
|
_deviceManger = aurora.DeviceManager;
|
|
_OCT = _deviceManger[deviceId] as OCT;
|
|
|
|
bRunningSoftware = false;
|
|
}
|
|
}
|
|
}
|