private void button1_Click(object sender, EventArgs e) { try { string[] num = textBox1.Text.Split(new char[] { '-' }); if (textBox_Header.TextLength <= 0) { MessageBox.Show("请输入Header"); return; } byte[] callId = new byte[] { (byte)VsProtocol.DevType.DEV_INDOORPHONE, Convert.ToByte(num[0]), Convert.ToByte(num[1]), Convert.ToByte(num[2]), Convert.ToByte(num[3]), 1 }; talkback.call_out(callId, 0, null); } catch { MessageBox.Show("格式错误"); } //talkback.audioDeal.playPath = textBox2.Text; Output.MessaggeOutput("呼叫室内机 :" + textBox1.Text); }