66
SCU100 INSITE PRO M COMPACT MANUEL D'UTILISATION
Demande mixte de données en ligne et historiques
Les données demandées peuvent être mélangées (en ligne avec des plages de temps historiques ou
historiques multiples), par ex. :
{
}
Réponse corps JSON :
{
"data": [
{
"_comment": "Query multiple registers for online data",
"protocol": "rtu",
"addresses": [36866, 36868],
"type": "online"
},
{
"_comment": "Query multiple registers for historical data",
"protocol": "rtu",
"addresses": [36866, 36868],
"type": "historical",
"begin_timestamp": 1593586022,
"end_timestamp": 1593589022
},
{
"_comment": "Query for other time range",
"protocol": "rtu",
"addresses": [36866, 36868],
"type": "historical",
"begin_timestamp": 1594023345,
"end_timestamp": 1594022345
}
]
"ip": "10.3.101.49"
"id": "insite",
"data": [
{
"timestamp": 1594022797,
"values": {
"36866": 234,56,
"36868": 234,82
}
},
{
"timestamp": 1593588600,
"values": {
"36866": 233,86,
"36868": 234,1
}
},
{
"timestamp": 1593587700,
"values": {
"36866": 234,06,
"36868": 234,31
}
},
{
"timestamp": 1593586800,
"values": {
"36866": 233,93,
"36868": 234,18
}
}
]
}