Statistic - Remove redundant code.

This commit is contained in:
DucDangAnh 2020-06-30 14:17:11 +07:00
parent a7f5406550
commit 75efa50256

View File

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