using System;

namespace FootwearTest.Models;

public sealed record DeviceSnapshot(
    DateTime Timestamp,
    double FootTemperatureC,
    double EnvironmentTemperatureC,
    double EnvironmentHumidityPercent,
    double AirSpeedMetersPerSecond,
    double PowerWatts,
    double EnergyKilojoules,
    double WaterLossGramsPerHour,
    double PumpSpeedCubicCentimetersPerHour,
    bool PumpRunning,
    bool FanRunning,
    bool HeaterRunning,
    string AlarmText)
{
    public static DeviceSnapshot Initial { get; } = new(
        DateTime.Now,
        35.0,
        23.0,
        50.0,
        1.10,
        4.5,
        0.0,
        5.0,
        5.0,
        false,
        false,
        false,
        "无报警");
}
