Feature #4: Pre-defined/Restricted Locations
Configurable list and location suggestions. Ability to restrict locations. Shows 'occupied' locations.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Disco.Models.BI.Job;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -10,8 +11,11 @@ namespace Disco.Models.UI.Config.JobPreferences
|
||||
{
|
||||
int LongRunningJobDaysThreshold { get; set; }
|
||||
int StaleJobMinutesThreshold { get; set; }
|
||||
LocationModes LocationMode { get; set; }
|
||||
List<string> LocationList { get; set; }
|
||||
|
||||
List<KeyValuePair<int, string>> LongRunningJobDaysThresholdOptions();
|
||||
List<KeyValuePair<int, string>> StaleJobMinutesThresholdOptions();
|
||||
List<KeyValuePair<string, string>> LocationModeOptions();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
using System;
|
||||
using Disco.Models.BI.Job;
|
||||
using Disco.Models.Services.Jobs.JobLists;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Disco.Models.UI.Job
|
||||
{
|
||||
@@ -13,5 +12,8 @@ namespace Disco.Models.UI.Job
|
||||
List<Repository.DocumentTemplate> AvailableDocumentTemplates { get; set; }
|
||||
List<Repository.JobSubType> UpdatableJobSubTypes { get; set; }
|
||||
List<Repository.JobQueue> AvailableQueues { get; set; }
|
||||
|
||||
LocationModes LocationMode { get; set; }
|
||||
List<JobLocationReference> LocationOptions { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user