first commit

This commit is contained in:
lihansani
2026-07-13 10:04:36 +08:00
commit 577aa128bd
870 changed files with 25849 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
using System;
namespace DCIT.Core.Models
{
public class ReplaceFileRequest
{
public string SourcePath { get; set; }
public string OutputPath { get; set; }
public string DiffPath { get; set; }
public string SourceRootDirectory { get; set; }
public string RuleFilePath { get; set; }
public RuleFile RuleFile { get; set; }
public bool EncryptDiff { get; set; }
public bool EnableImageReplacement { get; set; } = true;
public int? FixedImageSeed { get; set; }
}
public class RestoreFileRequest
{
public string ReplacedPath { get; set; }
public string DiffPath { get; set; }
public string OutputPath { get; set; }
public string ReplaceRootDirectory { get; set; }
public string CurrentRuleFilePath { get; set; }
}
public class FileProcessProgress
{
public string FilePath { get; set; }
public int FilePercent { get; set; }
public string CurrentRuleId { get; set; }
public string CurrentRuleName { get; set; }
public int CurrentFileTextCount { get; set; }
public int TotalTextCount { get; set; }
public string Message { get; set; }
public bool IsWarning { get; set; }
}
public class FileProcessResult
{
public string OutputPath { get; set; }
public string DiffPath { get; set; }
public string BmpPath { get; set; }
public int TextOperationCount { get; set; }
public int ImageOperationCount { get; set; }
public bool Stopped { get; set; }
}
}