GetDashBoardSplitScreen.ashx 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <%@ WebHandler Language="C#" Class="GetDashBoardSplitScreen" %>
  2. using System;
  3. using System.Web;
  4. using System.Web.SessionState;
  5. using System.Collections.Generic;
  6. using System.Configuration;
  7. using System.Data;
  8. using Curtain.DataAccess;
  9. using Curtain.Log;
  10. using DK.XuWei.WebMes;
  11. using Newtonsoft.Json.Linq;
  12. public class GetDashBoardSplitScreen : IHttpHandler,IRequiresSessionState
  13. {
  14. public void ProcessRequest(HttpContext context)
  15. {
  16. //看板数据
  17. JArray array = new JArray();
  18. array.Add(new JObject(new JProperty("name", "【分屏】1号屏"),new JProperty("url", "/main/Split/Screen01/index.html?navbar=1")));
  19. array.Add(new JObject(new JProperty("name", "【分屏】2号屏"),new JProperty("url", "/main/Split/Screen02/index_split.html?navbar=1")));
  20. array.Add(new JObject(new JProperty("name", "【分屏】3号屏"),new JProperty("url", "/main/Split/Screen03/index_split.html?navbar=1")));
  21. array.Add(new JObject(new JProperty("name", "【分屏】4号屏"),new JProperty("url", "/main/Split/Screen04/index.html?navbar=1")));
  22. array.Add(new JObject(new JProperty("name", "【分屏】5号屏"),new JProperty("url", "/main/Split/Screen05/index.html?navbar=1")));
  23. array.Add(new JObject(new JProperty("name", "【分屏】6号屏"),new JProperty("url", "/main/Split/Screen06/index_split.html?navbar=1")));
  24. array.Add(new JObject(new JProperty("name", "【分屏】7号屏"),new JProperty("url", "/main/Split/Screen07/index_split.html?navbar=1")));
  25. array.Add(new JObject(new JProperty("name", "【分屏】8号屏"),new JProperty("url", "/main/Split/Screen08/index.html?navbar=1")));
  26. array.Add(new JObject(new JProperty("name", "【分屏】9号屏"),new JProperty("url", "/main/Split/Screen09/index.html?navbar=1")));
  27. array.Add(new JObject(new JProperty("name", "【分屏】10号屏"),new JProperty("url", "/main/Split/Screen10/index.html?navbar=1")));
  28. array.Add(new JObject(new JProperty("name", "【分屏】11号屏"),new JProperty("url", "/main/Split/Screen11/index.html?navbar=1")));
  29. array.Add(new JObject(new JProperty("name", "【分屏】12号屏"),new JProperty("url", "/main/Split/Screen12/index.html?navbar=1")));
  30. context.Response.Write(array.ToString());
  31. }
  32. public bool IsReusable
  33. {
  34. get
  35. {
  36. return false;
  37. }
  38. }
  39. }