diff --git a/Frontend/_historyData.html b/Frontend/_historyData.html index 018dd57..677335d 100644 --- a/Frontend/_historyData.html +++ b/Frontend/_historyData.html @@ -249,6 +249,7 @@ strHtml += ``; pageAct.deviceItem = val.points; pageAct.devicePoiName = val.full_name + ' ' + val.points; + pageAct.deviceComName = val.parent_path; getData(); } else { strHtml += ``; @@ -269,7 +270,7 @@ new Date(start).getTime(), new Date(end).getTime(), pageAct.deviceName, - "Mitsubishi_JACE8000", + pageAct.deviceComName, callBackFromHistory); } diff --git a/FrontendWebApi/Models/Build.cs b/FrontendWebApi/Models/Build.cs index a434f80..3786a05 100644 --- a/FrontendWebApi/Models/Build.cs +++ b/FrontendWebApi/Models/Build.cs @@ -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