Commit ea7730f9 authored by j.hoerdt's avatar j.hoerdt
Browse files

change record key in registry request

fixes #9
parent bc6d65f1
......@@ -68,7 +68,7 @@ class Sensor {
);
add_attribute(body,
"21.T11148/22c62082a4d2d9ae2602",
"[{\"Date\":{\"date\":\"" + rec.get("s.first_msg").asLocalDate().toString() + "\",\"dateType\":\"first measurement\"}},{\"Date\":{\"date\":\"" + rec.get("s.last_msg").asLocalDate().toString() + "\",\"dateType\":\"last measurement\"}}]"
"[{\"Date\":{\"date\":\"" + rec.get("measurement.first_msg").asLocalDate().toString() + "\",\"dateType\":\"first measurement\"}},{\"Date\":{\"date\":\"" + rec.get("measurement.last_msg").asLocalDate().toString() + "\",\"dateType\":\"last measurement\"}}]"
);
add_attribute(body,
"21.T11148/709a23220f2c3d64d1e1",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment