- Timestamp:
- 05/27/11 19:15:16 (13 years ago)
- Location:
- branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Controllers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Controllers/ChartController.cs
r6303 r6318 37 37 // runIds[i] = i; 38 38 //} 39 long[] runIds = client.GetRunIds((CombinedFilter)Session["Content"]); 40 Run[] runs = client.GetRuns(runIds,false); 41 // Run[] runs = Session[""]; 42 cm.Runs = runs; 43 cm.UpdateRunCollection(runs); 44 cm.UpdateBubbleChart(selectedAxisY, selectedAxisX, selectedBubbleSize); 39 long[] runIds = new long[0]; 40 CombinedFilter cf = (CombinedFilter)Session["Content"]; 41 if (cf != null) 42 runIds = client.GetRunIds(cf); 43 44 Run[] runs = client.GetRuns(runIds, false); 45 // Run[] runs = Session[""]; 46 cm.Runs = runs; 47 cm.UpdateRunCollection(runs); 48 cm.UpdateBubbleChart(selectedAxisY, selectedAxisX, selectedBubbleSize); 45 49 46 50 return View("Index",cm); … … 213 217 214 218 // Later, we will get the runs from the session ... 215 QueryServiceClient client = Query.GetClientFactory("okbtester", "okbtester"); 216 217 long[] runIds = new long[5]; 218 for (int i = 0; i < 5; i++) { 219 runIds[i] = i; 220 } 219 QueryServiceClient client = Query.GetClientFactory(); 220 221 long[] runIds = new long[0]; 222 CombinedFilter cf = (CombinedFilter)Session["Content"]; 223 if (cf != null) 224 runIds = client.GetRunIds(cf); 225 221 226 Run[] runs = client.GetRuns(runIds, false); 222 223 cm.UpdateRunCollection(runs); 227 cm.Runs = runs; 224 228 225 229 -
branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Controllers/FilterController.cs
r6311 r6318 33 33 { 34 34 ids = client.GetRunIds(fm.Content); 35 35 36 } 36 37 catch (Exception e)
Note: See TracChangeset
for help on using the changeset viewer.