mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-25 07:10:10 +00:00
21 lines
580 B
C#
21 lines
580 B
C#
using MSFSPopoutPanelManager.DomainModel.Profile;
|
|
using MSFSPopoutPanelManager.Orchestration;
|
|
using System;
|
|
using System.Linq;
|
|
|
|
namespace MSFSPopoutPanelManager.MainApp.ViewModel
|
|
{
|
|
public class PanelCoorOverlayViewModel : BaseViewModel
|
|
{
|
|
public PanelCoorOverlayViewModel(MainOrchestrator orchestrator) : base(orchestrator)
|
|
{
|
|
}
|
|
|
|
public PanelConfig? Panel { get; private set; }
|
|
|
|
public void SetPanelId(Guid id)
|
|
{
|
|
Panel = ProfileData.ActiveProfile.PanelConfigs.FirstOrDefault(p => p.Id == id);
|
|
}
|
|
}
|
|
}
|