示例#1
0
        public bool AddPowerPlant(PowerPlant powerPlant)
        {
            var result = _simulationContext.AddPowerPlant(powerPlant);

            _backgroundTaskQueue.QueueBackgroundWorkItem(BackGroundTaskType.Simulation);

            return(result);
        }