35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
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<Exception> Exceptions { get; }
|
|
string GetCountDirectory(string verb);
|
|
void Update(ILogger<object> logger, WebClient webClient);
|
|
Tuple<List<string[]>, List<string[]>> GetTimePivot(bool isGaN = false, bool isSi = false);
|
|
Tuple<int, object, object, string> SetViewBag(string directory, string filter, bool isGaN = false, bool isSi = false, bool forPDSF = false, bool forIPDSF = false);
|
|
|
|
}
|
|
|
|
} |