/// <summary> /// 获取卫星信息列表DataSet /// </summary> /// <param name="strWhere">条件</param> public static DataSet GetSatInfoDataSet(string strWhere) { CoScheduling.Core.DAL.Satellite dal_satellite = new CoScheduling.Core.DAL.Satellite(); DataSet ds = new DataSet(); ds = dal_satellite.GetListDataSet(strWhere); return(ds); }
/// <summary> /// 检查数据库中是否已存在该卫星 /// </summary> /// <param name="sat_id"></param> /// <returns></returns> private bool checkSatellite(string sat_id) { CoScheduling.Core.DAL.Satellite dal_satellite = new CoScheduling.Core.DAL.Satellite(); return(dal_satellite.Exists(sat_id)); }