DIAEnergie WebAPI v1.4
DIAEnergie WebAPI v1.4
Web API
V1.4
OMS PLC BU
DIAEnergie Web API
[POST] GetValues(DIAEnergieWS)
[POST] GetDeivceValues(DIAEnergieWS)
class DIAEnergieWS
{
public string id{ get; set; }
public string StartTime { get; set; }
public string EndTime { get; set; }
public string Type{ get; set; }
}
Delta Confidential
DIAEnergie Web API
GetValues
Delta Confidential
DIAEnergie Web API
GetValues
Delta Confidential
DIAEnergie Web API
GetDeviceValues
Delta Confidential
GetTids
1. Get the name of the power meter and its corresponding (eid), return the name of the
meter and eid
2. Take the tid of the name corresponding to the power meter, such as: (parameter: eid,
PEt_EXP), return the tid
Example:
/api/DataExchange/GetTids?path=device name: tag name 1, device name: tag name 2
Return message:
[
{ "tid": 123, tagName: "tag name", eid: 1, equipName: “device name", "hierarchy":
"Root/2F/AAA" },
{ "tid": 124, tagName: "tag name", eid: 2, equipName: “device name", hierarchy":
"Root/3F/BBB" }
]
8
Delta Confidential
Smarter. Greener. Together.