EquipmentMaintenancePanel.cs 806 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using InABox.Core;
  5. using InABox.Wpf;
  6. using PRSDesktop.Dashboards;
  7. using Comal.Classes;
  8. namespace PRSDesktop;
  9. public class EquipmentMaintenancePanel : EquipmentSchedulesDashboard, IPanel<Equipment>
  10. {
  11. public string SectionName => "EquipmentSchedules";
  12. public DataModel DataModel(Selection selection)
  13. {
  14. return new AutoDataModel<Equipment>(new Filter<Equipment>().All());
  15. }
  16. public event DataModelUpdateEvent? OnUpdateDataModel;
  17. public bool IsReady { get; set; }
  18. public void CreateToolbarButtons(IPanelHost host)
  19. {
  20. }
  21. public Dictionary<string, object[]> Selected()
  22. {
  23. return new();
  24. }
  25. public void Heartbeat(TimeSpan time)
  26. {
  27. }
  28. }