public void Main(string arg, UpdateType updateSource) { if (AutoStore.TimeCheckStore.IsOut()) // Ожидаем, пока не настанет время обновления магазина { if (Runtime.UpdateFrequency != UpdateFrequency.Update10) { Runtime.UpdateFrequency = UpdateFrequency.Update10; } AutoStore.StoreUpdate(GridTerminalSystem, Me, ref groupContainersForTrade, ref tagContainerForTrade, ref tagExclude); // Главный метод обновления товаров в магазине } else if (Runtime.UpdateFrequency != UpdateFrequency.Update100) { Runtime.UpdateFrequency = UpdateFrequency.Update100; } if (arg != string.Empty) { Arguments(arg); } Echo($"Выполнение {Runtime.LastRunTimeMs} мс"); AvailableCommands(); }