Skip to content
Snippets Groups Projects
Commit 449ad493 authored by wactbprot's avatar wactbprot
Browse files

order

parent 5cb6e806
No related branches found
No related tags found
No related merge requests found
......@@ -117,16 +117,16 @@ server.get("/pressure_max", function(req, res, next){
var ret = {
"Pressure_max_dut_a": JSON.parse(JSON.stringify(
_.extend(a.exchange, { Caption: "Maximum pressure for branch dut-a",
Type: "dut_max_a"})
_.extend( { Caption: "Maximum pressure for branch dut-a",
Type: "dut_max_a"}, a.exchange)
)),
"Pressure_max_dut_b": JSON.parse(JSON.stringify(
_.extend(b.exchange, { Caption: "Maximum pressure for branch dut-b",
Type: "dut_max_b"})
_.extend({ Caption: "Maximum pressure for branch dut-b",
Type: "dut_max_b"}, b.exchange)
)),
"Pressure_max_dut_c": JSON.parse(JSON.stringify(
_.extend(c.exchange, { Caption: "Maximum pressure for branch dut-c",
Type: "dut_max_c"})
_.extend({ Caption: "Maximum pressure for branch dut-c",
Type: "dut_max_c"}, c.exchange,)
))
}
res.send(ret);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment