初始化
This commit is contained in:
11
WebApplication3/WeatherForecast.fs
Normal file
11
WebApplication3/WeatherForecast.fs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace WebApplication3
|
||||
|
||||
open System
|
||||
|
||||
type WeatherForecast =
|
||||
{ Date: DateTime
|
||||
TemperatureC: int
|
||||
Summary: string }
|
||||
|
||||
member this.TemperatureF =
|
||||
32.0 + (float this.TemperatureC / 0.5556)
|
||||
Reference in New Issue
Block a user