private void setddl(string workshop, string eqp) { //膜的等级 CRUD.Setdll(ddlFilmLevel, "FilmLevel"); CRUD.Setdll(ddlWorkshop, "workshop"); //ddlWorkshop.SelectedIndex = 0; ddlWorkshop.ClearSelection(); ddlWorkshop.Items.FindByValue(workshop).Selected = true; ddlEqp.ClearSelection(); CRUD.SetEqpDDL(ddlEqp, ddlWorkshop.SelectedValue, "M40");//获取UV背涂的eqp ddlEqp.Items.FindByValue(eqp).Selected = true; #region //检验结果====================================================== FilmCRUD.setDDLQCResult(ddlAppearanceResult); FilmCRUD.setDDLQCResult(ddlAvailableWidthResult); FilmCRUD.setDDLQCResult(ddlBaigeResult); FilmCRUD.setDDLQCResult(ddlBucklingResult); FilmCRUD.setDDLQCResult(ddlLinesResult); FilmCRUD.setDDLQCResult(ddlMDHazeResult); FilmCRUD.setDDLQCResult(ddlPenetranceResult); FilmCRUD.setDDLQCResult(ddlThinknessResult); FilmCRUD.setDDLQCResult(ddltxtPencilHardnessResult); #endregion }
private void setddl(string workshop, string eqp) { //膜的等级 CRUD.Setdll(ddlFilmLevel, "FilmLevel"); CRUD.Setdll(ddlWorkshop, "workshop"); //ddlWorkshop.SelectedIndex = 0; ddlWorkshop.ClearSelection(); ddlWorkshop.Items.FindByValue(workshop).Selected = true; ddlEqp.ClearSelection(); CRUD.SetEqpDDL(ddlEqp, ddlWorkshop.SelectedValue, "M55");//获取贴膜成型的eqp ddlEqp.Items.FindByValue(eqp).Selected = true; #region //检验结果====================================================== FilmCRUD.setDDLQCResult(ddlAppearanceResult); #endregion }