Loại bỏ labelTT do không dùng đến nữa và xoá constant AIPARKING_CLIENT_HTTP_API_REQUEST

This commit is contained in:
Le Chau 2020-06-25 09:40:33 +07:00
parent a5932bebef
commit b877a1493e

View File

@ -13,14 +13,12 @@ namespace AIParkingApplication
{ {
public partial class Statistic : UserControl public partial class Statistic : UserControl
{ {
private const string AIPARKING_CLIENT_HTTP_API_REQUEST = "http://{0}:{1}{2}";
private readonly HttpClient client = new HttpClient { BaseAddress = new Uri("http://192.168.1.123:80/"), Timeout = TimeSpan.FromMilliseconds(5000) }; private readonly HttpClient client = new HttpClient { BaseAddress = new Uri("http://192.168.1.123:80/"), Timeout = TimeSpan.FromMilliseconds(5000) };
Label lblLoaiXe; Label lblLoaiXe;
Label lblXeMay; Label lblXeMay;
Label lblOto; Label lblOto;
Label lblSoLuong; Label lblSoLuong;
Label lblTT;
Label lblSoLuongXeMay; Label lblSoLuongXeMay;
Label lblSoLuongOto; Label lblSoLuongOto;
@ -82,7 +80,6 @@ namespace AIParkingApplication
lblXeMay = new Label() { Text = "Xe máy", Font = labelFont }; lblXeMay = new Label() { Text = "Xe máy", Font = labelFont };
lblOto = new Label() { Text = "Ô tô", Font = labelFont }; lblOto = new Label() { Text = "Ô tô", Font = labelFont };
lblSoLuong = new Label() { Text = "Số Lượng", Font = labelFont }; lblSoLuong = new Label() { Text = "Số Lượng", Font = labelFont };
lblTT = new Label() { Text = "TT", Font = labelFont };
lblSoLuongXeMay = new Label() { Text = "0", Font = labelFont }; lblSoLuongXeMay = new Label() { Text = "0", Font = labelFont };
lblSoLuongOto = new Label() { Text = "0", Font = labelFont }; lblSoLuongOto = new Label() { Text = "0", Font = labelFont };