添加后台服务是否启动功能

This commit is contained in:
2025-07-07 21:15:27 +08:00
parent c473c500d8
commit 308c50fe15
7 changed files with 141 additions and 2 deletions

View File

@@ -12,6 +12,8 @@ namespace PMSWPF.Config
public string UserId { get; set; } = "root";
public string Password { get; set; } = "Pgw15221236646";
public string Database { get; set; } = "pmswpf";
public bool EnableS7Service { get; set; } = true;
public bool EnableMqttService { get; set; } = true;
private static readonly string SettingsFilePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "connectionSettings.json");