示例#1
0
文件: WorkForm.cs 项目: w7789475/EVOK
        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;
        }
示例#2
0
        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;
        }
示例#3
0
文件: MainForm.cs 项目: w7789475/EVOK
 private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
 {
     workMan.ShowDoor(comboBox1.SelectedItem.ToString(), dgSize, dgDoorBan, dgDoorShell);
 }