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); } } }