/// <summary> /// 重新加载数据 /// </summary> private void ReloadData() { cmbPeWkc.DataSource = MyDataLoadCtrl.LoadEqm(); cmbPeWkc.DisplayMember = "eqm_name"; cmbPeWkc.ValueMember = "eqm_no"; LoadFile(); }
/// <summary> /// 加载数据设备、质量原因列表和工站信息 /// </summary> private void LoadJamQcCauseAndWkcData() { cmbJamCause.DataSource = MyDataLoadCtrl.GetEqmJamCause(); cmbJamCause.DisplayMember = "jam_cause_name"; cmbQcCause.DataSource = MyDataLoadCtrl.GetQcmQaCause(); cmbQcCause.DisplayMember = "qa_cause_name"; cmbWkc.DataSource = MyDataLoadCtrl.LoadEqm(); cmbWkc.DisplayMember = "eqm_name"; cmbWkc.ValueMember = "eqm_no"; cmbWkc.SelectedValue = MyDataUniversal.EqmNo; LoadPartTypeData(); }