Тема: Как правильно вызывать unit/update_sensor
Нужно массово восстановить тарировочные таблицы, поменял Вашу 1С конфу, получил все что надо
а вызов unit/update_sensor упорно пишет error 4
Помогите, задача зело срочная!
url/wialon/ajax.html?svc=unit/update_sensor&sid=746156e0918fba20668d3be430518396¶ms=
{
"itemId":457717,
"id":1,
"callMode":"update",
"n":"топливо",
"t":"fuel level",
"d":"топливо|3:0:38:9.95:89:20.11:179:40.09:261:60.18:344:79.14:448:100.01:523:119.96:622:140.04:717:160.02:789:179.97:892:200.08:941:210.45:992:220.6:1023:227",
"m":"litres",
"p":"dut_lvl",
"f":0,
"c":{"appear_in_popup":true},
"vt":1,
"vs":0,
"tbl":[
{"a":0.284285714286,"b":-0.852857142857,"x":38},
{"a":0.199215686275,"b":2.379803921569,"x":89},
{"a":0.222,"b":0.352,"x":179},
{"a":0.245,"b":-3.765,"x":261},
{"a":0.22843373494,"b":0.558795180723,"x":344},
{"a":0.200673076923,"b":10.108461538462,"x":448},
{"a":0.266,"b":-19.158,"x":523},
{"a":0.202828282828,"b":13.880808080808,"x":622},
{"a":0.210315789474,"b":9.223578947368,"x":717},
{"a":0.277083333333,"b":-38.64875,"x":789},
{"a":0.195242718447,"b":25.923495145631,"x":892},
{"a":0.211632653061,"b":11.303673469388,"x":941},
{"a":0.199019607843,"b":23.172549019608,"x":992},
{"a":0.206451612903,"b":15.8,"x":1023}
]
}