This commit is contained in:
33
server/kpi/KPIFactory.cs
Normal file
33
server/kpi/KPIFactory.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
||||
namespace Sockeye.KPI
|
||||
{
|
||||
internal static class KPIFactory
|
||||
{
|
||||
|
||||
//Instantiate list object specified from type
|
||||
internal static IAyaKPI GetAyaKPI(string name)
|
||||
{
|
||||
switch (name)
|
||||
{
|
||||
|
||||
default:
|
||||
throw new System.NotImplementedException($"KPI {name} NOT IMPLEMENTED");
|
||||
|
||||
}
|
||||
//return null;
|
||||
}
|
||||
|
||||
// //List all the KPI types available
|
||||
// internal static List<string> GetListOfAllKPI()
|
||||
// {
|
||||
// List<string> ret = new List<string>();
|
||||
|
||||
// ret.Add("WorkOrderItemLaborQuantitySummary");
|
||||
// ret.Add("WorkOrderUnscheduledOpenList");
|
||||
|
||||
// return ret;
|
||||
// }
|
||||
}//eoc
|
||||
}//eons
|
||||
Reference in New Issue
Block a user