/// <summary> /// 获得监测结果 /// </summary> /// <param name="ContractID">合同ID</param> /// <param name="TestType">监测类型</param> /// <returns>监测结果</returns> public DataTable GetTestResult_ST(string ContractID, string ContractType, string strSampleCode) { ReportTestResultVo reportTestResult = new ReportTestResultVo(); reportTestResult.ID = ContractID; reportTestResult.TEST_TYPE = ContractType; DataTable TableTemp = new ReportTestResultAccess().SelectTable_ST(0, 0, reportTestResult, strSampleCode); //判断是否非空 if (null != TableTemp && TableTemp.Rows.Count > 0) { return(TableTemp); } else { return(TableTemp); } }
/// <summary> /// 取得样品号、排口、性状 /// </summary> /// <param name="strContractID"></param> /// <returns></returns> public DataTable SelSampleInfoWater_ST_forSendSanple(string strTaskID, string mItemTypeID) { DataTable TableTemp = new ReportTestResultAccess().SelSampleInfoWater_ST_forSendSanple(strTaskID, mItemTypeID); return(TableTemp); }
/// <summary> /// 取得监测参数 /// </summary> /// <param name="strContractID"></param> /// <returns></returns> public DataTable SelAttribute(string strTaskID, string mItemTypeID, string strOtherWhere) { DataTable TableTemp = new ReportTestResultAccess().SelAttribute(strTaskID, mItemTypeID, strOtherWhere); return(TableTemp); }
/// <summary> /// 取得样品号、排口、性状 (清远)Create By weilin 2014-03-25 /// </summary> /// <param name="strTaskID">监测任务</param> /// <param name="mItemTypeID">类别ID串,逗号分隔,必须有值</param> /// <param name="strAttType">性状的类型的ID</param> /// <returns></returns> public DataTable SelSampleInfoWater(string strTaskID, string mItemTypeID, string strAttType) { DataTable TableTemp = new ReportTestResultAccess().SelSampleInfoWater(strTaskID, mItemTypeID, strAttType); return(TableTemp); }