修改device_item parent_path

This commit is contained in:
dev02 2023-01-13 17:52:58 +08:00
parent cab706c76a
commit 704ab50931
2 changed files with 3 additions and 1 deletions

View File

@ -249,6 +249,7 @@
strHtml += `<button onClick="setValue(null, null, '${val.points}', this)" type="button" class="btn btn-info waves-effect waves-themed">${val.full_name} ${val.points}</button>`;
pageAct.deviceItem = val.points;
pageAct.devicePoiName = val.full_name + ' ' + val.points;
pageAct.deviceComName = val.parent_path;
getData();
} else {
strHtml += `<button onClick="setValue(null, null, '${val.points}', this)" type="button" class="btn btn-secondary waves-effect waves-themed">${val.full_name} ${val.points}</button>`;
@ -269,7 +270,7 @@
new Date(start).getTime(),
new Date(end).getTime(),
pageAct.deviceName,
"Mitsubishi_JACE8000",
pageAct.deviceComName,
callBackFromHistory);
}

View File

@ -214,6 +214,7 @@ namespace FrontendWebApi.Models
public string full_name { get; set; }
public string points { get; set; }
public string unit { get; set; }
public string parent_path { get; set; }
}
public class DeviceList