Compare commits

..

2 Commits

2 changed files with 4 additions and 2 deletions

View File

@ -9,5 +9,7 @@
#endregion
public const string CAMERA_FAILED_IMAGE_PATH = @"Images\CantConnectCamera.jpg";
public const int TIME_TO_GET_STATISTIC_INFO = 60;
}
}

View File

@ -32,7 +32,7 @@ namespace AIParkingApplication
while (true)
{
GETDataFromServer();
Thread.Sleep(1000);
Thread.Sleep(AppConstant.TIME_TO_GET_STATISTIC_INFO * 1000);
}
}
@ -63,7 +63,7 @@ namespace AIParkingApplication
}
catch (Exception ex)
{
Console.WriteLine($"SendEngineRequest : {ex.Message}");
Console.WriteLine($"SendApiStatisticRequest : {ex.Message}");
}
}