using Comal.Classes; using InABox.DynamicGrid; using InABox.Wpf; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PRSDesktop; public static class EquipmentSetupActions { public static void TrackerTypes(IPanelHost host) { host.CreateSetupActionIfCanView("Tracker Types", PRSDesktop.Resources.milestone, TrackerTypes_Click); } private static void TrackerTypes_Click(PanelAction action) { var list = new MasterList(typeof(GPSTrackerType)); list.ShowDialog(); } public static void WebStickers(IPanelHost host) { host.CreateSetupActionIfCanView("Stickers", PRSDesktop.Resources.barcode, Stickers_Click); } private static void Stickers_Click(PanelAction action) { var list = new MasterList(typeof(WebSticker)); list.ShowDialog(); } public static void DigitalKeys(IPanelHost host) { host.CreateSetupActionIfCanView("Digital Keys", PRSDesktop.Resources.key, DigitalKeys_Click); } private static void DigitalKeys_Click(PanelAction action) { var list = new MasterList(typeof(DigitalKey)); list.ShowDialog(); } public static void EquipmentGroups(IPanelHost host) { host.CreateSetupActionIfCanView("Equipment Groups", PRSDesktop.Resources.specifications, EquipmentGroupList_Click); } private static void EquipmentGroupList_Click(PanelAction action) { var list = new MasterList(typeof(EquipmentGroup)); list.ShowDialog(); } }