SafetyPreWarningTicker(IHubConnectionContext <dynamic> clients) { _sfpwrtp = new NinjectControllerFactory().GetInstance <ISafetyPreWarningRealTimePushService>(); Clients = clients; //定时器 _timer = new Timer(UpdateStockPrices, null, _updateInterval, _updateInterval); }