Bump
AzureDevOpsRepository Markdown links Ticks bug fix, default to *.wc files and formatting
This commit is contained in:
36
Shared/DataModels/WaferCounterArchive.cs
Normal file
36
Shared/DataModels/WaferCounterArchive.cs
Normal file
@ -0,0 +1,36 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace OI.Metrology.Shared.DataModels;
|
||||
|
||||
public class WaferCounterArchive
|
||||
{
|
||||
|
||||
public long ID { get; set; }
|
||||
public DateTime InsertDate { get; set; }
|
||||
public Guid AttachmentID { get; set; }
|
||||
public string? Title { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public long ToolTypeID { get; set; }
|
||||
public string? ToolTypeName { get; set; }
|
||||
|
||||
public string? MesEntity { get; set; }
|
||||
|
||||
public string? Employee { get; set; }
|
||||
public string? Layer { get; set; }
|
||||
public string? PSN { get; set; }
|
||||
public string? RDS { get; set; }
|
||||
public string? Reactor { get; set; }
|
||||
public string? Recipe { get; set; }
|
||||
public string? Zone { get; set; }
|
||||
|
||||
public string? SlotMap { get; set; }
|
||||
public string? Text { get; set; }
|
||||
public int? Total { get; set; }
|
||||
|
||||
}
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString)]
|
||||
[JsonSerializable(typeof(WaferCounterArchive))]
|
||||
public partial class WaferCounterArchiveSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
}
|
@ -13,4 +13,4 @@ public record CharacterizationParameters([property: JsonPropertyName("area")] st
|
||||
[JsonSerializable(typeof(CharacterizationParameters))]
|
||||
public partial class CharacterizationParametersSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
}
|
||||
}
|
17
Shared/Models/PollValue.cs
Normal file
17
Shared/Models/PollValue.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace OI.Metrology.Shared.Models;
|
||||
|
||||
public record PollValue(string? Json,
|
||||
[property: JsonPropertyName("id")] int? Id,
|
||||
[property: JsonPropertyName("page")] string? Page,
|
||||
string? QueryString,
|
||||
string? RemoteIpAddress,
|
||||
[property: JsonPropertyName("time")] long? Time,
|
||||
[property: JsonPropertyName("value")] int? Value);
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString)]
|
||||
[JsonSerializable(typeof(PollValue))]
|
||||
public partial class PollValueSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
}
|
16
Shared/Models/Stateless/IAzureDevOpsController.cs
Normal file
16
Shared/Models/Stateless/IAzureDevOpsController.cs
Normal file
@ -0,0 +1,16 @@
|
||||
namespace OI.Metrology.Shared.Models.Stateless;
|
||||
|
||||
public interface IAzureDevOpsController<T>
|
||||
{
|
||||
|
||||
enum Action : int
|
||||
{
|
||||
Index = 0,
|
||||
Save = 1
|
||||
}
|
||||
|
||||
static string GetRouteName() => nameof(IAzureDevOpsController<T>)[1..^10];
|
||||
|
||||
T Save();
|
||||
|
||||
}
|
8
Shared/Models/Stateless/IAzureDevOpsRepository.cs
Normal file
8
Shared/Models/Stateless/IAzureDevOpsRepository.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace OI.Metrology.Shared.Models.Stateless;
|
||||
|
||||
public interface IAzureDevOpsRepository
|
||||
{
|
||||
|
||||
void Save(PollValue pollValue);
|
||||
|
||||
}
|
@ -1,3 +1,6 @@
|
||||
using OI.Metrology.Shared.DataModels;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace OI.Metrology.Shared.Models.Stateless;
|
||||
|
||||
public interface IFileShareRepository
|
||||
@ -7,9 +10,10 @@ public interface IFileShareRepository
|
||||
void MoveFile(string from, string to);
|
||||
Uri Append(Uri uri, params string[] paths);
|
||||
void FileWrite(string path, string contents);
|
||||
ReadOnlyCollection<ToolTypeNameId> GetEquipmentIds();
|
||||
HttpResponseMessage ReadFile(HttpClient httpClient, Uri uri);
|
||||
void CopyFile(HttpClient httpClient, string from, string to);
|
||||
void MoveFile(HttpClient httpClient, string from, string to);
|
||||
List<CharacterizationInfo> GetArchiveData(CharacterizationParameters characterizationParameters);
|
||||
List<NginxFileSystemSortable> GetNginxFileSystemSortableCollection(HttpClient httpClient, Uri uri, string? endsWith);
|
||||
ReadOnlyCollection<CharacterizationInfo> GetArchiveData(CharacterizationParameters characterizationParameters);
|
||||
ReadOnlyCollection<NginxFileSystemSortable> GetNginxFileSystemSortableCollection(HttpClient httpClient, Uri uri, string? endsWith);
|
||||
}
|
Reference in New Issue
Block a user