POST api/v1/PowerStation/GetEnergeStatisticsCharts
获取能量买卖图表
Request Information
URI Parameters
None.
Body Parameters
PowerKeyIndicatorsParaModelName | Description | Type | Additional information |
---|---|---|---|
PowerStationId |
电站Id |
string |
None. |
Date |
[可省略]指定日期,默认当天 |
date |
None. |
Type |
[可省略]1LifeCycle,2Day,3Month,4Year |
integer |
None. |
Opt |
操作:down下载 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "powerStationId": "sample string 1", "date": "2025-05-15 22:12:46", "type": 2, "opt": "sample string 3" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EnergeStatisticsChartsModelName | Description | Type | Additional information |
---|---|---|---|
Sum |
总发电量 |
decimal number |
None. |
Buy |
购买量 |
decimal number |
None. |
BuyPercent |
买电量百分比 |
decimal number |
None. |
Sell |
卖出量 |
decimal number |
None. |
SellPercent |
卖电量百分比 |
decimal number |
None. |
SelfUseOfPv |
自发自用电量 |
decimal number |
None. |
ConsumptionOfLoad |
负载耗电量 |
decimal number |
None. |
ChartsType |
图表类型[0,无设备,1:all,2:ESU|EMU,3:BPS,4:BPU] |
integer |
None. |
HasPv |
是否有pv设备 |
boolean |
None. |
HasCharge | boolean |
None. |
|
Charge | decimal number |
None. |
|
DisCharge | decimal number |
None. |
|
IsStored | boolean |
None. |
|
HasGenset | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "sum": 1.1, "buy": 2.1, "buyPercent": 100.0, "sell": 3.1, "sellPercent": 100.0, "selfUseOfPv": 0.0, "consumptionOfLoad": 2.1, "chartsType": 4, "hasPv": true, "hasCharge": true, "charge": 7.1, "disCharge": 8.1, "isStored": true, "hasGenset": true }