private void btn多功能端子控制_Click(object sender, EventArgs e) { Protocol645 p645 = new Protocol645(); string strData = ""; if (rbTimeSecPulse.Checked) { strData = "00"; } if (rbMandCyclePulse.Checked) { strData = "01"; } if (rbPeriodChangePulse.Checked) { strData = "02"; } p645.MultFunOutPutCtrl(strData); }