using Admin.Core.IRepository; using Admin.Core.IService; using Admin.Core.Model; using Admin.Core.Model.Model_New; using Admin.Core.Model.ViewModels; using log4net; using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.IdentityModel.Logging; using NPOI.XSSF.UserModel; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Admin.Core.Service { public class TestedCodeMESServices : BaseServices, ITestedCodeMESServices { private static readonly log4net.ILog logHelper = LogManager.GetLogger(typeof(TestedCodeMESServices)); private readonly IBaseRepository _dal; private readonly ITestedCodeMESRepository _testedCodeMESRepository; public TestedCodeMESServices(IBaseRepository dal, ITestedCodeMESRepository testedCodeMESRepository) { this._dal = dal; _testedCodeMESRepository = testedCodeMESRepository; } public List QueryTemperatureHistory(DateTime time) { return _testedCodeMESRepository.QueryTemperatureHistory(time); } } }