using Aucma.Scada.Model.domain; using HighWayIot.Log4net; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HighWayIot.Repository.service.Impl { public class RecordInStoreServiceImpl : IRecordInStoreService { Repository _repository => new Repository("mes"); private LogHelper logHelper = LogHelper.Instance; public bool InsertRecordInStore(RecordInstore recordInstore) { bool result = false; try { result = _repository.Insert(recordInstore); }catch (Exception ex) { logHelper.Error("入库记录添加异常", ex); } return result; } } }