123456789101112131415161718192021222324252627282930313233343536373839404142 |
- 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
- {
- /// <summary>
- /// 设置表地址
- /// </summary>
- public class ReSetMeterAddressController : MvcControllerBase
- {
- ReSetMeterAddressService service = new ReSetMeterAddressService();
- public ActionResult Index()
- {
- return View();
- }
- /// <summary>
- /// 发送命令
- /// </summary>
- /// <param name="id"></param>
- /// <param name="commandValue"></param>
- /// <returns></returns>
- 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();
- }
- }
- }
|