using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using LeaRun.Application.Service.NBManage; namespace LeaRun.Application.Web.Areas.NBManage.Controllers { /// /// 设置表地址 /// public class ReSetMeterAddressController : MvcControllerBase { ReSetMeterAddressService service = new ReSetMeterAddressService(); public ActionResult Index() { return View(); } /// /// 发送命令 /// /// /// /// public ActionResult SendCommand(string id, string addr, string metesta, string IOT_Code, string timeStart, string timeEnd) { var result = service.SendCommand(id, addr, metesta, IOT_Code, timeStart,timeEnd); return Success("命令发送成功"); } public ActionResult ReSetAddrForm() { return View(); } } }