1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-28 00:30:09 +00:00
msfs-popout-panel-manager/MainApp/ViewModel/PanelCoorOverlayViewModel.cs
2024-02-27 21:44:21 -05:00

21 lines
566 B
C#

using MSFSPopoutPanelManager.DomainModel.Profile;
using MSFSPopoutPanelManager.Orchestration;
using System;
using System.Linq;
namespace MSFSPopoutPanelManager.MainApp.ViewModel
{
public class PanelCoorOverlayViewModel : BaseViewModel
{
public PanelCoorOverlayViewModel(SharedStorage sharedStorage) : base(sharedStorage)
{
}
public PanelConfig Panel { get; private set; }
public void SetPanelId(Guid id)
{
Panel = ActiveProfile.PanelConfigs.FirstOrDefault(p => p.Id == id);
}
}
}