Пример #1
0
 /// <summary>
 /// 添加一条数据
 /// </summary>
 /// <param name="entity">实体</param>
 /// <returns></returns>
 public int AddEntity(CSM.Model.ServAlarmCommandModel entity)
 {
     return(_servAlarmCommandDAL.AddEntity(entity));
 }
Пример #2
0
 /// <summary>
 /// 更新一条数据
 /// </summary>
 /// <param name="model">model</param>
 /// <returns></returns>
 public int UpdateAlarmCommandById(CSM.Model.ServAlarmCommandModel model)
 {
     return(_servAlarmCommandDAL.UpdateAlarmCommandById(model));
 }