private void button4_Click(object sender, EventArgs e) { /***单机启动 * if (DialogExcelDataLoad.ShowDialog() == DialogResult.OK) * { * optSize.Len = 244000;//evokWork.lcOutInPs.ShowValue; * optSize.Dbc = 0;//evokWork.dbcOutInPs.ShowValue; * optSize.Ltbc = 0;/// evokWork.ltbcOutInPs.ShowValue; * optSize.Safe = 0;// evokWork.safeOutInPs.ShowValue; * optSize.LoadCsvData(DialogExcelDataLoad.FileName); * } ****/ loadDataBtn.Enabled = false; if (workMan.LoadData()) { workMan.ShowDoor(Constant.doorBanId, UserData); //数据整理成一次性下发的数据 } loadDataBtn.Enabled = true; }
private void button4_Click(object sender, EventArgs e) { /***单机启动 * if (DialogExcelDataLoad.ShowDialog() == DialogResult.OK) * { * optSize.Len = 244000;//evokWork.lcOutInPs.ShowValue; * optSize.Dbc = 0;//evokWork.dbcOutInPs.ShowValue; * optSize.Ltbc = 0;/// evokWork.ltbcOutInPs.ShowValue; * optSize.Safe = 0;// evokWork.safeOutInPs.ShowValue; * optSize.LoadCsvData(DialogExcelDataLoad.FileName); * } ****/ loadDataBtn.Enabled = false; if (workMan.LoadData()) { workMan.ShowDoor(Constant.doorShellId, UserData); if (evokWork.SetOptSizeData((DataTable)UserData.DataSource)) { optNoGetData(); } } loadDataBtn.Enabled = true; }
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { workMan.ShowDoor(comboBox1.SelectedItem.ToString(), dgSize, dgDoorBan, dgDoorShell); }