| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using System;
- using System.Collections.Generic;
- using Comal.Classes;
- using InABox.Configuration;
- using InABox.Core;
- namespace PRSDesktop
- {
- public class StockSummaryPanel : StockSummaryControl, IPanel<JobMaterial>
- {
- public StockSummaryPanel()
- {
- SectionName = nameof(StockSummaryPanel);
- LoadSettings += (sender) => new UserConfiguration<StockSummaryProperties>(SectionName).Load();
- SaveSettings += (sender, properties) => new UserConfiguration<StockSummaryProperties>(SectionName).Save(properties);
- }
- public bool IsReady { get; set; }
-
- public void CreateToolbarButtons(IPanelHost host)
- {
-
- }
- public Dictionary<string, object[]> Selected()
- {
- return new Dictionary<string, object[]>();
- }
- public void Heartbeat(TimeSpan time)
- {
-
- }
- public string SectionName { get; }
-
- public DataModel DataModel(Selection selection)
- {
- //throw new NotImplementedException();
- return new AutoDataModel<JobMaterial>(null);
- }
- public event DataModelUpdateEvent? OnUpdateDataModel;
- }
- }
|