| 12345678910111213141516171819202122232425262728293031323334353637 |
- <%@ WebHandler Language="C#" Class="test" %>
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using Newtonsoft.Json;
- using Newtonsoft.Json.Linq;
- using System.Configuration;
- using Curtain.DataAccess;
- using DK.XuWei.WebMes;
- public class test : IHttpHandler
- {
- public void ProcessRequest(HttpContext context)
- {
- context.Response.ContentType = "text/plain";
- WCF wcf = new WCF();
- wcf.Para.Add(new JProperty("barcode", "10000000001"));
- wcf.Para.Add(new JProperty("procedure_no", "110"));
- wcf.Para.Add(new JProperty("road_no", "0"));
- wcf.Para.Add(new JProperty("rack", ""));
- wcf.Para.Add(new JProperty("position", ""));
- wcf.Para.Add(new JProperty("procedure_in", "1"));
- string jsonStr = wcf.Get("/DKService/ExHGS3QR/AddWorkInfoHGS3_QR");
- }
- public bool IsReusable
- {
- get
- {
- return false;
- }
- }
- }
|