You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
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 TemperatureHistoryServices : BaseServices<TemperatureHistory>, ITemperatureHistoryServices
|
|
|
|
|
{
|
|
|
|
|
private static readonly log4net.ILog logHelper = LogManager.GetLogger(typeof(TemperatureHistoryServices));
|
|
|
|
|
private readonly IBaseRepository<TemperatureHistory> _dal;
|
|
|
|
|
private readonly ITemperatureHistoryRepository _temperatureHistoryRepository;
|
|
|
|
|
|
|
|
|
|
public TemperatureHistoryServices(IBaseRepository<TemperatureHistory> dal, ITemperatureHistoryRepository temperatureHistoryRepository)
|
|
|
|
|
{
|
|
|
|
|
this._dal = dal;
|
|
|
|
|
base.BaseDal = dal;
|
|
|
|
|
_temperatureHistoryRepository = temperatureHistoryRepository;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Task<List<QualityView>> GetAllIsFlag(int objId)
|
|
|
|
|
{
|
|
|
|
|
return _temperatureHistoryRepository.GetAllIsFlag(objId);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|