雨量计数据

连接状态: {{.ConnStatus}} | 客户端地址: {{.ClientAddr}}

{{if .Latest}}

最新数据 ({{.Latest.Timestamp.Format "2006-01-02 15:04:05"}})

温度: {{printf "%.1f" (div .Latest.Temperature 10)}}°C | 湿度: {{printf "%.1f" (div .Latest.Humidity 10)}}% | 风速: {{printf "%.2f" (div .Latest.WindSpeed 100)}}m/s | 风向: {{.Latest.WindDirection360}}° | 风力: {{.Latest.WindForce}}级

雨量: {{printf "%.1f" (div .Latest.OpticalRain 10)}}mm | 大气压: {{printf "%.1f" (div .Latest.AtmPressure 10)}}kPa | 太阳辐射: {{.Latest.SolarRadiation}}W/m²

{{end}}

历史数据

{{range .Records}} {{end}}
时间 温度(°C) 湿度(%) 风速(m/s) 风向(°) 风力(级) 雨量(mm) 大气压(kPa) 太阳辐射(W/m²)
{{.Timestamp.Format "2006-01-02 15:04:05"}} {{printf "%.1f" (div .Temperature 10)}} {{printf "%.1f" (div .Humidity 10)}} {{printf "%.2f" (div .WindSpeed 100)}} {{.WindDirection360}} {{.WindForce}} {{printf "%.1f" (div .OpticalRain 10)}} {{printf "%.1f" (div .AtmPressure 10)}} {{.SolarRadiation}}
{{if gt .Page 1}} 上一页 {{end}} {{range .Pages}} {{if eq . $.Page}} {{.}} {{else}} {{.}} {{end}} {{end}} {{if lt .Page .TotalPages}} 下一页 {{end}}