diff --git a/FrontendWebApi/Models/Device.cs b/FrontendWebApi/Models/Device.cs index f8054b3..d35bbec 100644 --- a/FrontendWebApi/Models/Device.cs +++ b/FrontendWebApi/Models/Device.cs @@ -36,19 +36,19 @@ namespace FrontendWebApi.Models public string device_coordinate { get; set; } public string device_coordinate_3d { get; set; } public string status { get; set; } - public string device_status - { - get - { - Dictionary name = new Dictionary() - { - { "0", "關閉"}, - { "1", "正常"}, - { "2", "異常"} - }; - return name[status]; - } - } + //public string device_status + //{ + // get + // { + // Dictionary name = new Dictionary() + // { + // { "0", "關閉"}, + // { "1", "正常"}, + // { "2", "異常"} + // }; + // return name[status]; + // } + //} public string device_image { get; set; } public string device_normal_point_id { get; set; } public string device_normal_point_guid { get; set; }