From 704ab509310dc9e9de42e9ac758fb02b018b4c91 Mon Sep 17 00:00:00 2001 From: dev02 Date: Fri, 13 Jan 2023 17:52:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9device=5Fitem=20parent=5Fpath?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frontend/_historyData.html | 3 ++- FrontendWebApi/Models/Build.cs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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