25 lines
821 B
C#
25 lines
821 B
C#
using Aurora.View;
|
|
using Aurora;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AuroraLaser.Coherent.Compact.Views
|
|
{
|
|
public class UCCoherentCompactDeviceViewModel : NotifyPropertyChangedBase
|
|
{
|
|
// Laser : Coherent Compact Mini
|
|
public UCLaserCompactControlViewModel CompactControl { get; }
|
|
public UCLaserCompactInfoViewModel CompactInfo { get; }
|
|
|
|
public UCCoherentCompactDeviceViewModel(IAuroraEnvironment aurora, string deviceId)
|
|
{
|
|
// Laser : Coherent Compact Mini
|
|
CompactControl = new UCLaserCompactControlViewModel(aurora, deviceId);
|
|
CompactInfo = new UCLaserCompactInfoViewModel(aurora.DeviceManager[deviceId] as LaserDeviceCompact);
|
|
}
|
|
}
|
|
}
|