Files
petwash/PetWashControl/Services/ConfigurationService.cs
2026-02-27 10:05:49 +08:00

25 lines
1.3 KiB
C#

namespace PetWashControl.Services;
public class ConfigurationService
{
public string ApiBaseUrl { get; set; } = "https://localhost:7203/";
public string MqttBrokerHost { get; set; } = "localhost";
public int MqttBrokerPort { get; set; } = 1883;
public string MqttClientId { get; set; } = "PetWashControl";
public int PaymentCheckIntervalSeconds { get; set; } = 2;
public int WashSimulationSeconds { get; set; } = 10;
// 洗护流程时间参数(单位:分钟)
public int FirstSprayWaterTime { get; set; } = 2; // 首次喷水时间
public int AfterShampoo1SprayTime { get; set; } = 2; // 沐浴1后喷水时间
public int AfterShampoo2SprayTime { get; set; } = 2; // 沐浴2后喷水时间
public int AfterShampoo3SprayTime { get; set; } = 2; // 沐浴3后喷水时间
public int SprayShampoo1Time { get; set; } = 1; // 喷沐浴露1时间
public int SprayShampoo2Time { get; set; } = 1; // 喷沐浴露2时间
public int SprayShampoo3Time { get; set; } = 1; // 喷沐浴露3时间
public int ColdAirTime { get; set; } = 2; // 冷风机时间
public int HotAirTime { get; set; } = 5; // 热风机时间
public int UvSterilizationTime { get; set; } = 3; // 紫外线杀菌时间
}