fix modal

This commit is contained in:
dev02 2022-11-17 15:20:31 +08:00
parent d0880ca348
commit 978e85f857

View File

@ -36,19 +36,19 @@ namespace FrontendWebApi.Models
public string device_coordinate { get; set; } public string device_coordinate { get; set; }
public string device_coordinate_3d { get; set; } public string device_coordinate_3d { get; set; }
public string status { get; set; } public string status { get; set; }
public string device_status //public string device_status
{ //{
get // get
{ // {
Dictionary<string, string> name = new Dictionary<string, string>() // Dictionary<string, string> name = new Dictionary<string, string>()
{ // {
{ "0", "關閉"}, // { "0", "關閉"},
{ "1", "正常"}, // { "1", "正常"},
{ "2", "異常"} // { "2", "異常"}
}; // };
return name[status]; // return name[status];
} // }
} //}
public string device_image { get; set; } public string device_image { get; set; }
public string device_normal_point_id { get; set; } public string device_normal_point_id { get; set; }
public string device_normal_point_guid { get; set; } public string device_normal_point_guid { get; set; }