35 lines
846 B
C#
35 lines
846 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace VRS.Handler.ZHC
|
|
{
|
|
/// <summary>
|
|
/// 获取设备基础信息
|
|
/// </summary>
|
|
public class Dev_Get : BasePage, IHttpHandler
|
|
{
|
|
|
|
DataService.BLL.zhc_dev bll_dev= new DataService.BLL.zhc_dev();
|
|
DataService.BLL.admin_log log = new DataService.BLL.admin_log();
|
|
|
|
public override void ProcessRequest(HttpContext context)
|
|
{
|
|
context.Response.ContentType = "text/plain";
|
|
var result_List = bll_dev.GetModelList("");
|
|
context.Response.Write(GetJsonWithCode(APICode.Success, result_List));
|
|
context.Response.End();
|
|
}
|
|
|
|
public new bool IsReusable
|
|
{
|
|
get
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
} |