using Microsoft.AspNetCore.Mvc; using Module.HMeter.ModBusTcp; namespace Monitor.EqmMgr.WebApi.Controllers { public class HMeterParamController: ControllerBase { private readonly ILogger _logger; public HMeterParamController(ILogger logger) { _logger = logger; } /// /// 主控室温湿度设备参数值 /// /// [HttpPost] [Route("/api/[controller]/GetHumiParamValue")] public MHumiParamResult GetMainControlHumiParamValue() { return CmnHumiMeterBaseInfo.HUM01.F_HumiParamResult; } /// /// 下层温湿度设备参数值 /// /// [HttpPost] [Route("/api/[controller]/GetLowerHumiParamValue")] public MHumiParamResult GetLowerHumiParamValue() { return CmnHumiMeterBaseInfo.HUM02.F_HumiParamResult; } /// /// 上层温湿度设备参数值 /// /// [HttpPost] [Route("/api/[controller]/GetUpperHumiParamValue")] public MHumiParamResult GetUpperHumiParamValue() { return CmnHumiMeterBaseInfo.HUM03.F_HumiParamResult; } } }