SinMaiLauncherSettingModel.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. namespace SinMaiLauncher.Models;
  2. internal class SinMaiLauncherSettingModel
  3. {
  4. public RectModel AutoRect { get; set; }
  5. public InfraSettings Infra { get; set; }
  6. public class InfraSettings
  7. {
  8. public string InfraPath { get; set; }
  9. public MariaDbSettings MariaDb { get; set; }
  10. public AquaDxSettings AquaDx { get; set; }
  11. public class MariaDbSettings
  12. {
  13. public string WorkingDir { get; set; }
  14. public string MySqlServerExe { get; set; }
  15. public string MySqlServerArgs { get; set; }
  16. public string Host { get; set; }
  17. public int Port { get; set; }
  18. public string Usr { get; set; }
  19. public string Pwd { get; set; }
  20. }
  21. public class AquaDxSettings
  22. {
  23. public string WorkingDir { get; set; }
  24. public string JavaPath { get; set; }
  25. public string JavaArgs { get; set; }
  26. public string Host { get; set; }
  27. public int Port { get; set; }
  28. }
  29. }
  30. public SinMaiSettings SinMai { get; set; }
  31. public class SinMaiSettings
  32. {
  33. public string WorkingDir { get; set; }
  34. public string InjectExe { get; set; }
  35. public string InjectArgs { get; set; }
  36. public string SinMaiExe { get; set; }
  37. public string SinMaiArgs { get; set; }
  38. public string AimeFileDir { get; set; }
  39. public string AimeFileName { get; set; }
  40. }
  41. public class RectModel
  42. {
  43. public int Left { get; set; }
  44. public int Top { get; set; }
  45. public int Width { get; set; }
  46. public int Height { get; set; }
  47. }
  48. }