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; }