From 978e85f857db27bd0ab18d349e0a7df91d0157b8 Mon Sep 17 00:00:00 2001 From: dev02 Date: Thu, 17 Nov 2022 15:20:31 +0800 Subject: [PATCH] fix modal --- FrontendWebApi/Models/Device.cs | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) 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; }