Exemplo n.º 1
0
 public void AddCalibrationCurve(CalibrationCurveInfo calibrationCurveInfo)
 {
     calibrationCurveStateInfo = calibrationCurveInfo;
     textEditProjectName.Text  = calibrationCurveInfo.ProjectName;
     textEditSampleType.Text   = calibrationCurveInfo.SampleType;
     textEditCalibMethod.Text  = calibrationCurveInfo.CalibType;
     //  textEdit16.Text = calibrationCurveInfo.SampleType;
 }
Exemplo n.º 2
0
        /// <summary>
        /// 校准曲线点击事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>

        private void btnCalibCurve_Click(object sender, EventArgs e)
        {
            if (gridView1.SelectedRowsCount > 0)
            {
                if (calibrationCurve == null)
                {
                    calibrationCurve = new CalibrationCurve();
                    calibrationCurve.CalibrationEvent += calibrationCurve_CalibrationEvent;
                    calibrationCurve.StartPosition     = FormStartPosition.CenterScreen;
                }
                CalibrationCurveInfo calibrationCurveInfo = new CalibrationCurveInfo();
                int selectedHandle = this.gridView1.GetSelectedRows()[0];
                calibrationCurveInfo.CalibType   = this.gridView1.GetRowCellValue(selectedHandle, "检测方法").ToString();
                calibrationCurveInfo.ProjectName = this.gridView1.GetRowCellValue(selectedHandle, "检测项目").ToString();
                calibrationCurveInfo.SampleType  = this.gridView1.GetRowCellValue(selectedHandle, "样本类型").ToString();
                calibrationCurve.AddCalibrationCurve(calibrationCurveInfo);
                calibrationCurve.CalibrationCurve_Load(null, null);
                calibrationCurve.ShowDialog();
            }
        }
Exemplo n.º 3
0
 public List <SDTTableItem> QueryCalibrationCurveInfo(string strDBMethod, CalibrationCurveInfo calibrationCurveInfo)
 {
     return(myBatis.QueryCalibrationCurveInfo(strDBMethod, calibrationCurveInfo));
 }