mirror of
https://github.com/MickMake/GoSungrow.git
synced 2025-04-10 12:49:24 +02:00
Committed v3.0.0
This commit is contained in:
parent
ec9386590f
commit
062d850bf0
8
.idea/workspace.xml
generated
8
.idea/workspace.xml
generated
@ -4,7 +4,11 @@
|
||||
<option name="autoReloadType" value="ALL" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="76adadc9-ae71-42a6-82a1-66dbc8ecb14c" name="Changes" comment="" />
|
||||
<list default="true" id="76adadc9-ae71-42a6-82a1-66dbc8ecb14c" name="Changes" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/.goreleaser.yml" beforeDir="false" afterPath="$PROJECT_DIR$/.goreleaser.yml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/iSolarCloud/AppService/getPowerStationData/data.go" beforeDir="false" afterPath="$PROJECT_DIR$/iSolarCloud/AppService/getPowerStationData/data.go" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
@ -361,7 +365,7 @@
|
||||
</line-breakpoint>
|
||||
<line-breakpoint enabled="true" type="DlvLineBreakpoint">
|
||||
<url>file://$PROJECT_DIR$/iSolarCloud/AppService/getPowerStationData/data.go</url>
|
||||
<line>98</line>
|
||||
<line>100</line>
|
||||
<option name="timeStamp" value="7299" />
|
||||
</line-breakpoint>
|
||||
<line-breakpoint enabled="true" type="DlvLineBreakpoint">
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user