Projektdateien hinzufügen.

This commit is contained in:
mr_sc
2026-08-19 19:27:41 +02:00
parent 0889f1f6c7
commit 7fe54c0785
32 changed files with 2406 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
using System;
using System.Collections.Generic;
namespace FileInterface.Scheduler
{
public sealed class WatcherJobConfig
{
public string Id { get; set; }
public string Name { get; set; }
public bool Enabled { get; set; }
public string SourceDirectory { get; set; }
public string SearchPattern { get; set; }
public bool IncludeSubdirectories { get; set; }
public bool WatchCreated { get; set; }
public bool WatchChanged { get; set; }
public bool WatchRenamed { get; set; }
public int DebounceMilliseconds { get; set; }
public int FileReadyRetries { get; set; }
public int FileReadyDelayMilliseconds { get; set; }
public bool RemoveEmptyLines { get; set; }
public string JoinSeparator { get; set; }
public string CustomFunction { get; set; }
public List<string> InArgs { get; set; }
public bool MoveFileAfterSuccess { get; set; }
public string MoveTargetDirectory { get; set; }
public bool OverwriteTargetFile { get; set; }
public WatcherJobConfig()
{
Id = Guid.NewGuid().ToString("N");
Name = "New watcher";
Enabled = true;
SourceDirectory = "";
SearchPattern = "*.*";
IncludeSubdirectories = false;
WatchCreated = true;
WatchChanged = true;
WatchRenamed = true;
DebounceMilliseconds = 1000;
FileReadyRetries = 10;
FileReadyDelayMilliseconds = 250;
RemoveEmptyLines = true;
JoinSeparator = ";";
CustomFunction = "";
InArgs = new List<string>();
MoveFileAfterSuccess = false;
MoveTargetDirectory = "";
OverwriteTargetFile = false;
}
}
}