Files
Web_IoTBase_Sever_Prod/iotweb/WeatherForecast.cs

14 lines
273 B
C#
Raw Normal View History

2025-12-11 14:04:39 +08:00
namespace iotweb
{
public class WeatherForecast
{
public DateOnly Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string? Summary { get; set; }
}
}