using APCViewer.Models; using Microsoft.Extensions.Logging; using Shared; using System; using System.Collections.Generic; using System.Net; namespace APCViewer.Singleton { public interface IBackground : Models.IBackground, IDisposable { void ClearMessage(); void SendStatusOk(); void LogisticsClear(); string Message { get; } IsEnvironment IsEnvironment { get; } bool IsPrimaryInstance(); void SetIsPrimaryInstance(); WebClient WebClient { get; } void ClearIsPrimaryInstance(); AppSettings AppSettings { get; } string GetPDSF(long Sequence); string GetIPDSF(long Sequence); string WorkingDirectory { get; } List Exceptions { get; } string GetCountDirectory(string verb); void Update(ILogger logger, WebClient webClient); Tuple, List> GetTimePivot(bool isGaN = false, bool isSi = false); Tuple SetViewBag(string directory, string filter, bool isGaN = false, bool isSi = false, bool forPDSF = false, bool forIPDSF = false); } }