Compare commits
2 Commits
c909ce2cc1
...
56e16cf267
Author | SHA1 | Date | |
---|---|---|---|
56e16cf267 | |||
b2cdbf26f5 |
|
@ -9,5 +9,7 @@
|
|||
#endregion
|
||||
|
||||
public const string CAMERA_FAILED_IMAGE_PATH = @"Images\CantConnectCamera.jpg";
|
||||
|
||||
public const int TIME_TO_GET_STATISTIC_INFO = 60;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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}");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user