예제 #1
0
        /// <summary>
        /// Method wich is called on each simulation itteration start
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="_theArgs"></param>
        private static async void StartSimulation(object sender, TickerArgs _theArgs)
        {
            if (!_theArgs.CanselationRequest)
            {
                var backendTask = dayCareBackEndAccessAccess.SimulationProgress(_theArgs);

                await Task.WhenAll(backendTask);
            }
        }
예제 #2
0
 private static async void StartSimulation(object sender, TickerArgs e)
 {
     await dayCareBackEndAccess.SimulationProgress(e);
 }