46 lines
2.6 KiB
C#
46 lines
2.6 KiB
C#
using Ifx.Eaf.EquipmentConnector.File.Configuration;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Text.Json;
|
|
|
|
namespace Shared.Metrology
|
|
{
|
|
|
|
public interface ILogic
|
|
{
|
|
|
|
ILogic ShallowCopy();
|
|
Logistics Logistics { get; }
|
|
|
|
void ConfigurationRestore();
|
|
void CreateSelfDescription();
|
|
void CreateSelfDescription(Dictionary<string, string> fileParameter, FileConnectorConfiguration configuration, ConfigDataBase configDataBase);
|
|
void CreateSelfDescription(string equipmentElementName, EquipmentConnection? equipmentConnection, string cellName, string debugConfig, FileConnectorConfiguration configuration);
|
|
bool Extract(string reportFullPath, string eventName);
|
|
string GetConfigurationErrorTargetFileLocation();
|
|
string GetConfigurationSourceFileLocation();
|
|
string GetConfigurationTarget2FileLocation();
|
|
string GetConfigurationTargetFileLocation();
|
|
string GetConfigurationTargetFileName();
|
|
Tuple<string, JsonElement?, List<FileInfo>> GetExtractResult(string reportFullPath, string eventName);
|
|
object GetFilePathGeneratorInfo(string reportFullPath, bool isErrorFile);
|
|
string GetReportFullPath(Dictionary<string, object> keyValuePairs);
|
|
string GetTarget2FileLocation();
|
|
void Move(string reportFullPath, Tuple<string, JsonElement?, List<FileInfo>> extractResults, Exception exception = null);
|
|
string ReExtract(string searchDirectory, string sourceFileFilter);
|
|
void ReflectionCreateSelfDescription(string equipmentElementName, int? input, string cellName, string debugConfig, string[] strings, bool[] booleans, long[] numbers, string[] enums);
|
|
string ResolveErrorTargetPlaceHolders(string reportFullPath, bool createDirectory = true, string fileFoundPath = "");
|
|
string ResolveSourcePlaceHolders(string reportFullPath, bool createDirectory = true);
|
|
string ResolveTarget2PlaceHolders(string reportFullPath, bool createDirectory = true, string fileFoundPath = "");
|
|
string ResolveTargetPlaceHolders(string reportFullPath, bool createDirectory = true, string fileFoundPath = "");
|
|
void SetFileParameter(string key, string value);
|
|
void SetFileParameterLotID(string value, bool includeLogisticsSequence = false);
|
|
void SetFileParameterLotIDToLogisticsMID(bool includeLogisticsSequence = true);
|
|
void SetFileParameterSystemDateTimeToLogisticsSequence();
|
|
void SetPlaceHolder(string reportFullPath, string key, string value);
|
|
void SetTarget2FileLocation(string value);
|
|
|
|
}
|
|
|
|
} |