mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 01:03:01 +08:00
18 lines
366 B
C#
18 lines
366 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace MQTTnet.Test.BlazorApp.Shared
|
|
{
|
|
public class WeatherForecast
|
|
{
|
|
public DateTime Date { get; set; }
|
|
|
|
public int TemperatureC { get; set; }
|
|
|
|
public string Summary { get; set; }
|
|
|
|
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
|
|
}
|
|
}
|