private void timer1_Tick(object sender, EventArgs e) {
if (wether_processing == 1)
{
datecount = LTSMC.smc_conti_read_current_mark(CardNum, 0);//功能:读取连续插补缓冲区当前插补段号
int progress_processing = datecount * 100 / Row;
progressBar_processing.Value = progress_processing;
textBox_pointcount.Text = Convert.ToString(datecount); //显示当前节点数
}
if (datecount == (Row) && wether_processing == 1)
{
wether_processing = 0;
wether_loading_pointa = 0;
LTSMC.smc_set_pwm_output(CardNum, 0, 0, 0);
LTSMC.smc_conti_stop_list(CardNum, 0, 0);//停止模式, 0: 减速停止, 1: 立即停止;功能:停止连续插补
MessageBox.