POST api/Report/Statistics
统计报表-实时曲线
Request Information
URI Parameters
None.
Body Parameters
M_Type_DBName| Name | Description | Type | Additional information |
|---|---|---|---|
| DBName |
客户库名 |
string |
Required |
| Type |
类型 |
integer |
Required |
| Count |
条数 |
integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"DBName": "sample string 1",
"Type": 2,
"Count": 3
}
application/xml, text/xml
Sample:
<M_Type_DBName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DP.Models"> <Count>3</Count> <DBName>sample string 1</DBName> <Type>2</Type> </M_Type_DBName>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
M_rpStatistics| Name | Description | Type | Additional information |
|---|---|---|---|
| Contant |
内容 |
Collection of Statistics |
Required |
| Status |
状态 |
integer |
Required |
| Msg |
信息 |
string |
Required |
| Num |
数值,数据变动条数或增加时返回的ID |
integer |
Required |
Response Formats
application/json, text/json
Sample:
{
"Contant": [
{
"SN": 1,
"Type": 2,
"Contant": {
"sample string 1": {
"sample string 1": {
"W": 1,
"P": 2,
"VA": 3,
"tempW": 4.1,
"tempP": 5.1,
"tempVA": 6.1
},
"sample string 2": {
"W": 1,
"P": 2,
"VA": 3,
"tempW": 4.1,
"tempP": 5.1,
"tempVA": 6.1
}
},
"sample string 2": {
"sample string 1": {
"W": 1,
"P": 2,
"VA": 3,
"tempW": 4.1,
"tempP": 5.1,
"tempVA": 6.1
},
"sample string 2": {
"W": 1,
"P": 2,
"VA": 3,
"tempW": 4.1,
"tempP": 5.1,
"tempVA": 6.1
}
}
},
"CT": "sample string 3"
},
{
"SN": 1,
"Type": 2,
"Contant": {
"sample string 1": {
"sample string 1": {
"W": 1,
"P": 2,
"VA": 3,
"tempW": 4.1,
"tempP": 5.1,
"tempVA": 6.1
},
"sample string 2": {
"W": 1,
"P": 2,
"VA": 3,
"tempW": 4.1,
"tempP": 5.1,
"tempVA": 6.1
}
},
"sample string 2": {
"sample string 1": {
"W": 1,
"P": 2,
"VA": 3,
"tempW": 4.1,
"tempP": 5.1,
"tempVA": 6.1
},
"sample string 2": {
"W": 1,
"P": 2,
"VA": 3,
"tempW": 4.1,
"tempP": 5.1,
"tempVA": 6.1
}
}
},
"CT": "sample string 3"
}
],
"Status": 1,
"Msg": "sample string 2",
"Num": 3
}
application/xml, text/xml
Sample:
<M_rpStatistics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DP.Models">
<Msg>sample string 2</Msg>
<Num>3</Num>
<Status>1</Status>
<Contant xmlns:d2p1="http://schemas.datacontract.org/2004/07/Data">
<d2p1:Statistics>
<d2p1:CT>sample string 3</d2p1:CT>
<d2p1:Contant xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringArrayOfKeyValueOfstringValueItem1ZWQ_PoUVty7Ep6D1>
<d4p1:Key>sample string 1</d4p1:Key>
<d4p1:Value>
<d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
<d4p1:Key>sample string 1</d4p1:Key>
<d4p1:Value>
<d2p1:P>2</d2p1:P>
<d2p1:VA>3</d2p1:VA>
<d2p1:W>1</d2p1:W>
<d2p1:tempP>5.1</d2p1:tempP>
<d2p1:tempVA>6.1</d2p1:tempVA>
<d2p1:tempW>4.1</d2p1:tempW>
</d4p1:Value>
</d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
<d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
<d4p1:Key>sample string 2</d4p1:Key>
<d4p1:Value>
<d2p1:P>2</d2p1:P>
<d2p1:VA>3</d2p1:VA>
<d2p1:W>1</d2p1:W>
<d2p1:tempP>5.1</d2p1:tempP>
<d2p1:tempVA>6.1</d2p1:tempVA>
<d2p1:tempW>4.1</d2p1:tempW>
</d4p1:Value>
</d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
</d4p1:Value>
</d4p1:KeyValueOfstringArrayOfKeyValueOfstringValueItem1ZWQ_PoUVty7Ep6D1>
<d4p1:KeyValueOfstringArrayOfKeyValueOfstringValueItem1ZWQ_PoUVty7Ep6D1>
<d4p1:Key>sample string 2</d4p1:Key>
<d4p1:Value>
<d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
<d4p1:Key>sample string 1</d4p1:Key>
<d4p1:Value>
<d2p1:P>2</d2p1:P>
<d2p1:VA>3</d2p1:VA>
<d2p1:W>1</d2p1:W>
<d2p1:tempP>5.1</d2p1:tempP>
<d2p1:tempVA>6.1</d2p1:tempVA>
<d2p1:tempW>4.1</d2p1:tempW>
</d4p1:Value>
</d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
<d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
<d4p1:Key>sample string 2</d4p1:Key>
<d4p1:Value>
<d2p1:P>2</d2p1:P>
<d2p1:VA>3</d2p1:VA>
<d2p1:W>1</d2p1:W>
<d2p1:tempP>5.1</d2p1:tempP>
<d2p1:tempVA>6.1</d2p1:tempVA>
<d2p1:tempW>4.1</d2p1:tempW>
</d4p1:Value>
</d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
</d4p1:Value>
</d4p1:KeyValueOfstringArrayOfKeyValueOfstringValueItem1ZWQ_PoUVty7Ep6D1>
</d2p1:Contant>
<d2p1:SN>1</d2p1:SN>
<d2p1:Type>2</d2p1:Type>
</d2p1:Statistics>
<d2p1:Statistics>
<d2p1:CT>sample string 3</d2p1:CT>
<d2p1:Contant xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringArrayOfKeyValueOfstringValueItem1ZWQ_PoUVty7Ep6D1>
<d4p1:Key>sample string 1</d4p1:Key>
<d4p1:Value>
<d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
<d4p1:Key>sample string 1</d4p1:Key>
<d4p1:Value>
<d2p1:P>2</d2p1:P>
<d2p1:VA>3</d2p1:VA>
<d2p1:W>1</d2p1:W>
<d2p1:tempP>5.1</d2p1:tempP>
<d2p1:tempVA>6.1</d2p1:tempVA>
<d2p1:tempW>4.1</d2p1:tempW>
</d4p1:Value>
</d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
<d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
<d4p1:Key>sample string 2</d4p1:Key>
<d4p1:Value>
<d2p1:P>2</d2p1:P>
<d2p1:VA>3</d2p1:VA>
<d2p1:W>1</d2p1:W>
<d2p1:tempP>5.1</d2p1:tempP>
<d2p1:tempVA>6.1</d2p1:tempVA>
<d2p1:tempW>4.1</d2p1:tempW>
</d4p1:Value>
</d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
</d4p1:Value>
</d4p1:KeyValueOfstringArrayOfKeyValueOfstringValueItem1ZWQ_PoUVty7Ep6D1>
<d4p1:KeyValueOfstringArrayOfKeyValueOfstringValueItem1ZWQ_PoUVty7Ep6D1>
<d4p1:Key>sample string 2</d4p1:Key>
<d4p1:Value>
<d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
<d4p1:Key>sample string 1</d4p1:Key>
<d4p1:Value>
<d2p1:P>2</d2p1:P>
<d2p1:VA>3</d2p1:VA>
<d2p1:W>1</d2p1:W>
<d2p1:tempP>5.1</d2p1:tempP>
<d2p1:tempVA>6.1</d2p1:tempVA>
<d2p1:tempW>4.1</d2p1:tempW>
</d4p1:Value>
</d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
<d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
<d4p1:Key>sample string 2</d4p1:Key>
<d4p1:Value>
<d2p1:P>2</d2p1:P>
<d2p1:VA>3</d2p1:VA>
<d2p1:W>1</d2p1:W>
<d2p1:tempP>5.1</d2p1:tempP>
<d2p1:tempVA>6.1</d2p1:tempVA>
<d2p1:tempW>4.1</d2p1:tempW>
</d4p1:Value>
</d4p1:KeyValueOfstringValueItem1ZWQ_PoUV>
</d4p1:Value>
</d4p1:KeyValueOfstringArrayOfKeyValueOfstringValueItem1ZWQ_PoUVty7Ep6D1>
</d2p1:Contant>
<d2p1:SN>1</d2p1:SN>
<d2p1:Type>2</d2p1:Type>
</d2p1:Statistics>
</Contant>
</M_rpStatistics>