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")]