POST api/v1/PowerStation/GetPowerCharts

电站功率曲线图表

Request Information

URI Parameters

None.

Body Parameters

PowerParaModel
NameDescriptionTypeAdditional information
PowerStationId

电站Id

string

None.

Date

[可省略]查询日期,默认为当天

date

None.

Opt

操作:down下载

string

None.

Request Formats

application/json, text/json

Sample:
{
  "powerStationId": "sample string 1",
  "date": "2025-07-04 22:22:11",
  "opt": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PowerChartsModel
NameDescriptionTypeAdditional information
Yield

发电量

string

None.

Income

收益

string

None.

Load

load(负载功率,单位W):非负(默认不显示,点击图层后展示)

Collection of ChartsModel

None.

Meter

Meter(买卖电功率,单位W):Sell(卖电功率)为非负,Buy(买电功率)为负

Collection of ChartsModel

None.

Pv

PV(光伏功率,单位W):非负

Collection of ChartsModel

None.

Battery

Battery(电池功率,单位W):Charge(充电功率)为非负,Discharge(放电功率)为负;

Collection of ChartsModel

None.

SOC

SOC:(单位%)非负

Collection of ChartsModel

None.

Unit

单位

string

None.

ChartsType

【已弃用,用ViewFiled】图表类型[0,无设备,1:all,2:ESU|EMU,3:BPS,4:BPU]

integer

None.

ViewFiled

显示字段

Collection of string

None.

Xy

坐标轴

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "yield": "sample string 1",
  "income": "sample string 2",
  "load": [
    {
      "x": "sample string 1",
      "y": {}
    },
    {
      "x": "sample string 1",
      "y": {}
    }
  ],
  "meter": [
    {
      "x": "sample string 1",
      "y": {}
    },
    {
      "x": "sample string 1",
      "y": {}
    }
  ],
  "pv": [
    {
      "x": "sample string 1",
      "y": {}
    },
    {
      "x": "sample string 1",
      "y": {}
    }
  ],
  "battery": [
    {
      "x": "sample string 1",
      "y": {}
    },
    {
      "x": "sample string 1",
      "y": {}
    }
  ],
  "soc": [
    {
      "x": "sample string 1",
      "y": {}
    },
    {
      "x": "sample string 1",
      "y": {}
    }
  ],
  "unit": "sample string 3",
  "chartsType": 4,
  "viewFiled": [
    "sample string 1",
    "sample string 2"
  ],
  "xy": [
    "sample string 1",
    "sample string 2"
  ]
}