Finalised Ui tweaks

This commit is contained in:
2023-01-25 21:20:45 +01:00
parent 512fc44e0f
commit 7ac7570470
6 changed files with 412 additions and 211 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ namespace Caisses
}
public void Tick(GraphicalStore store)
{
if (!Open && store.AverageWaitingTime > GraphicalStore.CROSSOVER_TIME && store.GetEmptyCheckoutCount() == 0 || store.OpenCheckoutCount == 0 || store.WaitingClients.Count > MAX_CAPACITY * 2 && store.GetEmptyCheckoutCount() == 0)
if (!Open && store.AverageWaitingTime > store.CrossoverTime && store.GetEmptyCheckoutCount() == 0 || store.OpenCheckoutCount == 0 || store.WaitingClients.Count > MAX_CAPACITY * 2 && store.GetEmptyCheckoutCount() == 0)
{
Open = true;
}