public void DisplayWarningSteelArchStrainDatas(int testTypeId) { var sectionIds = _realTimeDatasService.GetSectionIdsBy(testTypeId).ToArray(); for (int i = 0; i < 100; i++) { //Thread.Sleep(1000); var models = _realTimeDatasService.GetWarningStrainDatasBy(sectionIds); Clients.All.RealTimeDisplayDatas(models); } }
private IEnumerable <IncludeSectionWarningColorDataModel> GetRealDatasSource() { var sectionIds = _realTimeDatasService.GetSectionIdsBy(1).ToArray(); return(_realTimeDatasService.GetWarningStrainDatasBy(sectionIds)); }