using System; using System.Collections.Generic; using Comal.Classes; using InABox.Configuration; using InABox.Core; using InABox.Wpf; namespace PRSDesktop; public class StockForecastPanel : StockForecastControl, IPanel { public StockForecastPanel() { SectionName = nameof(StockForecastPanel); LoadSettings += (sender) => new UserConfiguration(SectionName).Load(); SaveSettings += (sender, properties) => new UserConfiguration(SectionName).Save(properties); } public bool IsReady { get; set; } public void CreateToolbarButtons(IPanelHost host) { ProductSetupActions.Standard(host); } public Dictionary Selected() { return new Dictionary(); } public void Heartbeat(TimeSpan time) { } public string SectionName { get; } public DataModel DataModel(Selection selection) { //throw new NotImplementedException(); return new AutoDataModel(null); } public event DataModelUpdateEvent? OnUpdateDataModel; }