…… file.Close(); data_from_NC_to_PLC();//此函数作用是译码结束后将M代码译码的值直接用RS232传送到PLC中 } void CS1Dlg::data_from_NC_to_PLC() { //此段不知如何编写 }