csharp-sdk-upm/Sample/LeanEngineApp/WeatherForecast.cs

14 lines
290 B
C#
Raw Normal View History

2021-03-18 14:58:22 +08:00
using System;
namespace LeanEngineApp {
public class WeatherForecast {
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string Summary { get; set; }
}
}