Statistic - Remove redundant code.
This commit is contained in:
parent
a7f5406550
commit
75efa50256
|
@ -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")]
|
||||
|
|
Loading…
Reference in New Issue
Block a user