From 75efa502561ee43f275da6d2232e6cf24924476a Mon Sep 17 00:00:00 2001 From: DucDangAnh Date: Tue, 30 Jun 2020 14:17:11 +0700 Subject: [PATCH] Statistic - Remove redundant code. --- AIParkingApplication/Statistic.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/AIParkingApplication/Statistic.cs b/AIParkingApplication/Statistic.cs index 1d27a22..28108a8 100644 --- a/AIParkingApplication/Statistic.cs +++ b/AIParkingApplication/Statistic.cs @@ -2,13 +2,11 @@ using System.Windows.Forms; using System.Threading; using Newtonsoft.Json; -using System.Net.Http; namespace AIParkingApplication { public partial class Statistic : UserControl { - private readonly HttpClient client; private readonly Thread thrStatistics; private readonly TimeSpan updateInterval; private ParkInfo parkInfo; @@ -90,8 +88,8 @@ namespace AIParkingApplication tlpStatisticTable.Controls.Add(lblSoLuong, 1, 0); tlpStatisticTable.Controls.Add(lblSoLuongXeMay, 1, 1); tlpStatisticTable.Controls.Add(lblSoLuongOto, 1, 2); - } + public class ParkInfo { [JsonProperty("oto")]