diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 926e14ab7..817c1cbde 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,11 @@
-
+
+
+
+
+
@@ -361,7 +365,7 @@
file://$PROJECT_DIR$/iSolarCloud/AppService/getPowerStationData/data.go
- 98
+ 100
diff --git a/iSolarCloud/AppService/getPowerStationData/data.go b/iSolarCloud/AppService/getPowerStationData/data.go
index a1db877f7..18cd3409a 100644
--- a/iSolarCloud/AppService/getPowerStationData/data.go
+++ b/iSolarCloud/AppService/getPowerStationData/data.go
@@ -73,7 +73,7 @@ func (e *EndPoint) GetData() api.DataMap {
switch {
case e.Request.DateType.Match(valueTypes.DateTypeDay):
count := len(e.Response.ResultData.P34048List)
- dur := time.Duration(int(time.Hour * 24) / count)
+ dur := time.Duration((float64(time.Hour) * 24) / float64(count))
r = e.Request.DateId.GetRanges(count, dur, valueTypes.DateTimeLayout)
t = "Hour"