ibms-dome/Backend/Models/BuildingCollapse.cs
2022-10-14 16:08:54 +08:00

71 lines
2.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Backend.Models
{
public class BuildingMenuRawData
{
public string Building_guid { get; set; }
public string bFull_name { get; set; }
public int bPriority { get; set; }
public string Main_system_guid { get; set; }
public string mFull_name { get; set; }
public int mPriority { get; set; }
public string Sub_system_guid { get; set; }
public string sFull_name { get; set; }
public int sPriority { get; set; }
}
public class BuildingCollapse : Actor
{
public string Building_guid { get; set; }
public string Full_name { get; set; }
public string Ip_address { get; set; }
public int Priority { get; set; }
public List<Main_system> Main_systems { get; set; }
}
public class Main_system
{
public string Main_system_guid { get; set; }
public string Full_name { get; set; }
public int Priority { get; set; }
public string Code { get; set; }
public List<Sub_system> Sub_systems { get; set; }
}
public class Sub_system
{
public string Sub_system_guid { get; set; }
public string Full_name { get; set; }
public int Priority { get; set; }
public byte Drawing { get; set; }
public byte Icon_click { get; set; }
public string Icon_click_url { get; set; }
public string System_url { get; set; }
public List<Floor> Floors { get; set; }
}
public class Floor
{
public string Floor_guid { get; set; }
public string Full_name { get; set; }
public string InitMapName { get; set; }
public string Floor_map_name { get; set; } //平面圖檔名
public int Priority { get; set; }
}
public class SubSystemFloorRawData
{
public string Sub_system_floor_guid { get; set; }
public string Building_guid { get; set; }
public string Main_system_guid { get; set; }
public string Sub_system_guid { get; set; }
public string Floor_guid { get; set; }
public string fFull_name { get; set; }
public string InitMapName { get; set; }
public string Floor_map_name { get; set; }
public string fPriority { get; set; }
public int Priority { get; set; }
}
}