using ProjectBase.Data.BaseDAL; using ProjectBase.Data.Pager; using SIMDP.Model; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SIMDP.DAL.IDALSQL { public interface IDalPlcInfo : IBaseDAL { /// /// 获取PLC配置信息 /// /// plc id /// plc名称 /// List GetAllPlcInfo(); /// /// 以分页的方式获取PLC配置信息 /// /// /// /// 分页信息 /// List GetPlcInfoWithPager(long id, string name, PagerInfo info); /// /// 插入一条PLC配置信息 /// /// /// bool InsetPlcInfo(MoPlcInfo obj); /// /// 删除记录 /// /// /// bool DeleteWithId(long id, string userId); /// /// 更新信息 /// /// /// /// bool UpdateWithId(long id, MoPlcInfo newoObj); } }