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