去掉老床垫相关功能

This commit is contained in:
fuenmao
2026-11-09 16:10:05 +08:00
parent 2d44cc3966
commit 3ca90c4cf3
25 changed files with 227 additions and 466 deletions
@@ -99,25 +99,14 @@ public sealed class HealthDashboardOutput
public string BmiStatus { get; set; } = string.Empty;
public PersonalizedSceneConfig? SceneConfig { get; set; }
public TcmAssessmentResult? TcmResult { get; set; }
public MattressComfortOutput? MattressComfort { get; set; }
public EnvironmentAdviceOutput? EnvironmentAdvice { get; set; }
}
public sealed class MattressComfortOutput
public sealed class EnvironmentAdviceOutput
{
public decimal? Bmi { get; set; }
public string? Firmness { get; set; }
public int HeatingLevel { get; set; }
public bool IsWinter { get; set; }
public double? OutdoorTemperatureCelsius { get; set; }
public double? FeelsLikeCelsius { get; set; }
public bool WeatherAvailable { get; set; }
public string? WeatherObservedAt { get; set; }
public string WeatherReason { get; set; } = string.Empty;
public string FirmnessReason { get; set; } = string.Empty;
public double? IndoorTemperatureCelsius { get; set; }
public bool IndoorTemperatureAvailable { get; set; }
public DateTimeOffset? IndoorTemperatureObservedAt { get; set; }
public string HeatingReason { get; set; } = string.Empty;
public ClimateAdviceOutput ClimateAdvice { get; set; } = new();
}
@@ -154,11 +143,6 @@ public sealed class PersonalizedSceneConfig
public int LightBrightnessPercent { get; set; } = 20;
public int LightColorTemperatureKelvin { get; set; } = 2700;
public decimal MattressTargetTemp { get; set; } = 36m;
public int MattressLeftFirmness { get; set; } = 5;
public int MattressRightFirmness { get; set; } = 6;
public int MattressHeatingLevel { get; set; } = 1;
public string MattressMode { get; set; } = "智能适配";
public bool EnableFragrance { get; set; } = true;
public int FragranceLevel { get; set; } = 1;