软测单独项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
636 B

using FangYar.FYMQTT;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace FangYar.WebUI.ashx
{
/// <summary>
/// Handler2 的摘要说明
/// </summary>
public class Handler2 : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
FangYar.FYMQTT.MQTT mqtt = new FYMQTT.MQTT();
mqtt.messagePublished("{\"type\":\"a\"}", "044A58B5F3E74B6CBBAD9EC33A339C22/123456789/PC/ALL");
}
public bool IsReusable
{
get
{
return false;
}
}
}
}