/// <summary> /// 更新RTU信息 /// </summary> /// <param name="model">测站实体</param> /// <param name="Where">条件</param> /// <returns></returns> public bool UpdRTU(YY_RTU_Basic model, string Where) { return(dt.Update <YY_RTU_Basic>("YY_RTU_Basic", model, Where)); }
/// <summary> /// 添加测站信息 /// </summary> /// <param name="model">测站实体</param> /// <returns></returns> public bool AddRTU(YY_RTU_Basic model) { return(dt.Insert <YY_RTU_Basic>("YY_RTU_Basic", model)); }