| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <%@ WebHandler Language="C#" Class="GetDashBoard" %>
- using System;
- using System.Web;
- using System.Web.SessionState;
- using System.Collections.Generic;
- using System.Configuration;
- using System.Data;
- using Curtain.DataAccess;
- using Curtain.Log;
- using DK.XuWei.WebMes;
- using Newtonsoft.Json.Linq;
- public class GetDashBoard : IHttpHandler,IRequiresSessionState
- {
- public void ProcessRequest(HttpContext context)
- {
- //看板数据
- JArray array = new JArray();
- array.Add(new JObject(new JProperty("name", "【正式】月度缺陷统计表"),new JProperty("url", "/main/DashBoard/hg5010_month.html")));
- array.Add(new JObject(new JProperty("name", "【正式】月度缺陷统计表(固定表头)"),new JProperty("url", "/main/DashBoard/hg5010_month_fix.html")));
- array.Add(new JObject(new JProperty("name", "【正式】各缺陷类型缺陷率"),new JProperty("url", "/main/Procedure/test5/demo.html")));
- array.Add(new JObject(new JProperty("name", "【正式】成检看板"),new JProperty("url", "/main/Procedure/test3/index.html")));
- array.Add(new JObject(new JProperty("name", "【正式】质量看板"),new JProperty("url", "/main/Procedure/test6/QualityBulletinBoard.html")));
- array.Add(new JObject(new JProperty("name", "【正式】机械手施釉看板"),new JProperty("url", "/main/Procedure/test7/GlazingQuality.html")));
- array.Add(new JObject(new JProperty("name", "【正式】上水质量看板"),new JProperty("url", "/main/Procedure/test16/SecondaryCheck.html")));
- array.Add(new JObject(new JProperty("name", "【正式】二检质量看板(旧)"),new JProperty("url", "/main/Procedure/test8/SecondaryCheck.html")));
- array.Add(new JObject(new JProperty("name", "【正式】登窑看板"),new JProperty("url", "/main/Procedure/test9/DenKiln.html")));
- array.Add(new JObject(new JProperty("name", "【正式】一检看板"),new JProperty("url", "/main/Procedure/test10/Onecheck.html")));
- array.Add(new JObject(new JProperty("name", "【正式】小件看板"),new JProperty("url", "/main/Procedure/test11/SmallKanban.html")));
- array.Add(new JObject(new JProperty("name", "【正式】打磨看板"),new JProperty("url", "/main/Procedure/test12/BurnishKanban.html")));
- array.Add(new JObject(new JProperty("name", "【正式】成检分级质量看板"),new JProperty("url", "/main/Procedure/test13/GradingData.html")));
- array.Add(new JObject(new JProperty("name", "【正式】施釉节拍看板(一期)"),new JProperty("url", "/main/Procedure/test14/GlazingBeats.html")));
- array.Add(new JObject(new JProperty("name", "【正式】施釉节拍看板(二期)"),new JProperty("url", "/main/Procedure/test15/GlazingBeats2.html")));
- array.Add(new JObject(new JProperty("name", "【测试】烧成工序看板"),new JProperty("url", "/main/Procedure/test/demo.html")));
- array.Add(new JObject(new JProperty("name", "【测试】功能检测看板"),new JProperty("url", "/main/Procedure/test1/demo.html")));
- array.Add(new JObject(new JProperty("name", "【测试】包装工序看板"),new JProperty("url", "/main/Procedure/test2/demo.html")));
- array.Add(new JObject(new JProperty("name", "【测试】次品区看板"),new JProperty("url", "/main/Procedure/test3/demo.html")));
- array.Add(new JObject(new JProperty("name", "【测试】成检工序看板"),new JProperty("url", "/main/Procedure/test4/demo.html")));
- array.Add(new JObject(new JProperty("name", "【手机】当日产品"),new JProperty("url", "/main/phone/001/index.html")));
- context.Response.Write(array.ToString());
- }
- public bool IsReusable
- {
- get
- {
- return false;
- }
- }
- }
|