示例#1
0
        private void btnFlush_Click(object sender, EventArgs e)
        {
            switch (_method)
            {
            case "PEConfig":
                m_methodAction = "PE_Flush";
                break;

            case "PPConfig":
                m_methodAction = "PP_Flush";
                break;

            case "HPConfig":
                m_methodAction = "HP_Flush";
                break;

            case "CHDFConfig":
                m_methodAction = "CHDF_Flush";
                break;

            case "PDFConfig":
                m_methodAction = "PDF_Flush";
                break;

            case "Li-ALSConfig":
                m_methodAction = "Li-ALS_Flush";
                break;
            }
            //显示自动化操作界面
            frmCustomAction fca = new frmCustomAction(m_methodAction);

            fca.Port_Main = _port_Main;
            fca.Port_Pump = _port_Pump;
            fca.ShowDialog();
        }
示例#2
0
        private void btnRecycle_Click(object sender, EventArgs e)
        {
            switch (_method)
            {
            case "PEConfig":
                m_methodAction = "PE_Recycle";
                break;

            case "PPConfig":
                m_methodAction = "PP_Recycle";
                break;

            case "HPConfig":
                m_methodAction = "HP_Recycle";
                break;

            case "CHDFConfig":
                m_methodAction = "CHDF_Recycle";
                break;

            case "PDFConfig":
                m_methodAction = "PDF_Recycle";
                break;

            //case "Manual":
            //    m_methodAction = "Manual_Recycle";
            //break;
            case "Li-ALSConfig":
                m_methodAction = "Li-ALS_Recycle";
                break;
            }
            //显示自动化操作界面
            frmCustomAction fca = new frmCustomAction(m_methodAction);

            fca.Port_Main = _port_Main;
            fca.Port_Pump = _port_Pump;
            fca.ShowDialog();
        }