21 lines
710 B
C#
21 lines
710 B
C#
using Aurora;
|
|
using Aurora.View;
|
|
using AuroraLaser.Coherent;
|
|
|
|
namespace AuroraLaser.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 LaserCompact);
|
|
}
|
|
}
|
|
}
|