namespace EDAViewer.Models { public interface IBackground { void EdaDataCollectionPlansCallback(); // public void EdaDataCollectionPlans() // { // long ticks = DateTime.Now.Ticks; // Logic2021Q1 logic2021Q1 = new Logic2021Q1(_Log); // string server = GetServer(debugIsNotEC: false); // string cSharpFormat = "yyyy-MM-dd_hh:mm:ss tt"; // string oracleFormat = "yyyy-MM-dd_hh:mi:ss AM"; // string edaDataCollectionPlansLastRun = "2020-07-02_10:45:01 AM"; // logic2021Q1.EdaDataCollectionPlans(server, server.Contains("_ec_"), edaDataCollectionPlansLastRun, cSharpFormat, oracleFormat); // _Log.Debug(string.Concat("Took ", new TimeSpan(DateTime.Now.Ticks - ticks).TotalSeconds, " second(s)")); // } void EDAOutputArchiveCallback(); // public void EDAOutputArchive() // { // long ticks = DateTime.Now.Ticks; // string server = GetServer(debugIsNotEC: true); // string sourceDirectory = string.Concat(@"\\", server, @"\ec_eda\Staging\Traces"); // if (!Directory.Exists(sourceDirectory)) // _Log.Debug(string.Concat("// Source directory <", sourceDirectory, "> doesn't exist.")); // else // { // Logic2019Q4 logic2019Q4 = new Logic2019Q4(_Log); // logic2019Q4.EDAOutputArchive(sourceDirectory); // } // _Log.Debug(string.Concat("Took ", new TimeSpan(DateTime.Now.Ticks - ticks).TotalSeconds, " second(s)")); // } void LogPathCleanUpByWeekCallback(); // public void LogPathCleanUpByWeek() // { // long ticks = DateTime.Now.Ticks; // string server = GetServer(debugIsNotEC: true); // Logic2019Q3 logic2019Q3 = new Logic2019Q3(_Log); // logic2019Q3.LogPathCleanUpByWeek(server, isEDA: true); // logic2019Q3.LogPathCleanUpByWeek(server, isEAFLog: true); // _Log.Debug(string.Concat("Took ", new TimeSpan(DateTime.Now.Ticks - ticks).TotalSeconds, " second(s)")); // } } }