From 3e115cfd96c7f622156cc5105d26df58330228c1 Mon Sep 17 00:00:00 2001 From: dev01 Date: Wed, 10 May 2023 15:25:49 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=89=8D=E5=8F=B0]=20=E5=BE=8C=E7=AB=AF=20Bui?= =?UTF-8?q?ld=20Sub=5FSystem=20model=20sub=5Fsystem=5Fguid=20=E6=94=B9?= =?UTF-8?q?=E7=82=BA=20sub=5Fsystem=5Ftag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontendWebApi/ApiControllers/BuildController.cs | 3 ++- FrontendWebApi/Models/Build.cs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/FrontendWebApi/ApiControllers/BuildController.cs b/FrontendWebApi/ApiControllers/BuildController.cs index a495cb6..efb6cae 100644 --- a/FrontendWebApi/ApiControllers/BuildController.cs +++ b/FrontendWebApi/ApiControllers/BuildController.cs @@ -291,7 +291,7 @@ namespace FrontendWebApi.ApiControllers left join floor on floor.full_name = a.floor_tag order by floor.priority"); Sub_system sub_System = new Sub_system() { - sub_system_guid = sub_system.sub_system_tag, + sub_system_tag = sub_system.sub_system_tag, left_system_url = sub_system.left_system_url, left_drawing = sub_system.left_drawing, Floors = new List(), @@ -309,6 +309,7 @@ namespace FrontendWebApi.ApiControllers { devices = null, floor_guid = floor.floor_guid, + Floor_map_name = floor.Floor_map_name, full_name = floor.full_name, InitMapName = floor.InitMapName, priority = floor.priority diff --git a/FrontendWebApi/Models/Build.cs b/FrontendWebApi/Models/Build.cs index 4bc8352..d072fd8 100644 --- a/FrontendWebApi/Models/Build.cs +++ b/FrontendWebApi/Models/Build.cs @@ -97,7 +97,7 @@ namespace FrontendWebApi.Models } public class Sub_system { - public string sub_system_guid { get; set; } + public string sub_system_tag { get; set; } public string full_name { get; set; } public int priority { get; set; } public byte left_drawing { get; set; }