net6.0 Ready to test
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
using Shared;
|
||||
|
||||
namespace APCViewer.Models.Methods;
|
||||
|
||||
public interface IBackground
|
||||
@ -14,6 +16,6 @@ public interface IBackground
|
||||
string GetIPDSF(long Sequence);
|
||||
void Catch(Exception exception);
|
||||
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);
|
||||
Tuple<int, Dictionary<string, Dictionary<string, List<Logistics>>>, List<Tuple<string[], Logistics>>, string?> SetViewBag(string? directory, string? filter, bool isGaN = false, bool isSi = false, bool forPDSF = false, bool forIPDSF = false);
|
||||
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
namespace APCViewer.Models.Properties;
|
||||
|
||||
public interface IBackgroundController
|
||||
public interface IBackgroundPage
|
||||
{
|
||||
|
||||
public List<Exception> Exceptions { get; }
|
||||
|
11
APC Viewer/Models/Properties/IIPDSFPage.cs
Normal file
11
APC Viewer/Models/Properties/IIPDSFPage.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace APCViewer.Models.Properties;
|
||||
|
||||
public interface IIPDSFPage
|
||||
{
|
||||
|
||||
string? Directory { get; }
|
||||
int Files { get; }
|
||||
Dictionary<string, Dictionary<string, List<Shared.Logistics>>> Grouped { get; }
|
||||
List<Tuple<string[], Shared.Logistics>> Sorted { get; }
|
||||
|
||||
}
|
11
APC Viewer/Models/Properties/IPDSFPage.cs
Normal file
11
APC Viewer/Models/Properties/IPDSFPage.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace APCViewer.Models.Properties;
|
||||
|
||||
public interface IPDSFPage
|
||||
{
|
||||
|
||||
string? Directory { get; }
|
||||
int Files { get; }
|
||||
Dictionary<string, Dictionary<string, List<Shared.Logistics>>> Grouped { get; }
|
||||
List<Tuple<string[], Shared.Logistics>> Sorted { get; }
|
||||
|
||||
}
|
9
APC Viewer/Models/Properties/ITimePivotPage.cs
Normal file
9
APC Viewer/Models/Properties/ITimePivotPage.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace APCViewer.Models.Properties;
|
||||
|
||||
public interface ITimePivotPage
|
||||
{
|
||||
|
||||
List<string[]> ForIPDSF { get; }
|
||||
List<string[]> ForPDSF { get; }
|
||||
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace APCViewer.Models.Stateless.Methods;
|
||||
|
||||
public interface IBackgroundController
|
||||
{
|
||||
|
||||
ActionResult Index(bool? message_clear = null, bool? exceptions_clear = null, bool? set_is_primary_instance = null);
|
||||
|
||||
static string GetRouteName() => nameof(IBackgroundController).Replace("Controller", string.Empty)[1..];
|
||||
|
||||
}
|
10
APC Viewer/Models/Stateless/Methods/IBackgroundPage.cs
Normal file
10
APC Viewer/Models/Stateless/Methods/IBackgroundPage.cs
Normal file
@ -0,0 +1,10 @@
|
||||
namespace APCViewer.Models.Stateless.Methods;
|
||||
|
||||
public interface IBackgroundPage
|
||||
{
|
||||
|
||||
void OnGet(bool? message_clear = null, bool? exceptions_clear = null, bool? set_is_primary_instance = null);
|
||||
|
||||
static string GetRouteName() => nameof(IBackgroundPage).Replace("Page", string.Empty)[1..];
|
||||
|
||||
}
|
14
APC Viewer/Models/Stateless/Methods/IIPDSFPage.cs
Normal file
14
APC Viewer/Models/Stateless/Methods/IIPDSFPage.cs
Normal file
@ -0,0 +1,14 @@
|
||||
namespace APCViewer.Models.Stateless.Methods;
|
||||
|
||||
public interface IIPDSFPage
|
||||
{
|
||||
|
||||
void OnGet(string? directory = null, string? filter = null, bool is_gaN = false, bool is_Si = false);
|
||||
// ContentResult OnGetView(string? id = null);
|
||||
// FileResult OnGetDownloadFile(string? id = null);
|
||||
// ContentResult OnGetViewCustom(string? ipdsf_file = null);
|
||||
// FileResult OnGetDownloadFileCustom(string? ipdsf_file = null);
|
||||
|
||||
static string GetRouteName() => nameof(IIPDSFPage).Replace("Page", string.Empty)[1..];
|
||||
|
||||
}
|
14
APC Viewer/Models/Stateless/Methods/IPDSFPage.cs
Normal file
14
APC Viewer/Models/Stateless/Methods/IPDSFPage.cs
Normal file
@ -0,0 +1,14 @@
|
||||
namespace APCViewer.Models.Stateless.Methods;
|
||||
|
||||
public interface IPDSFPage
|
||||
{
|
||||
|
||||
void OnGet(string? directory = null, string? filter = null, bool is_gaN = false, bool is_Si = false);
|
||||
// ContentResult OnGetView(string? id = null);
|
||||
// FileResult OnGetDownloadFile(string? id = null);
|
||||
// ContentResult OnGetViewCustom(string? pdsf_file = null);
|
||||
// FileResult OnGetDownloadFileCustom(string? pdsf_file = null);
|
||||
|
||||
static string GetRouteName() => nameof(IPDSFPage).Replace("Page", string.Empty)[1..];
|
||||
|
||||
}
|
10
APC Viewer/Models/Stateless/Methods/ITimePivotPage.cs
Normal file
10
APC Viewer/Models/Stateless/Methods/ITimePivotPage.cs
Normal file
@ -0,0 +1,10 @@
|
||||
namespace APCViewer.Models.Stateless.Methods;
|
||||
|
||||
public interface ITimePivotPage
|
||||
{
|
||||
|
||||
void OnGet(bool is_gaN = false, bool is_Si = false);
|
||||
|
||||
static string GetRouteName() => nameof(ITimePivotPage).Replace("Page", string.Empty)[1..];
|
||||
|
||||
}
|
Reference in New Issue
Block a user