public int Send_S6F12_EventReportAck(eACKC6 _nACKC6) { int nErr = 0; SECS2_XML_MESSAGE Packet = new SECS2_XML_MESSAGE(MakeSystemByte(), (byte)eCMD.user, 6, 12); Packet.BODY.ACKC6 = (int)_nACKC6; nErr = do_Send(Packet); return(nErr); }
// sned s6f12 private void button4_Click(object sender, EventArgs e) { eACKC6 _ackc6 = (eACKC6)comboBox_ACKC6.SelectedIndex; m_tcp_comm.Send_S6F12_EventReportAck(_ackc6); }