修复钻带文件输出末尾缺少空行的问题

在 DrillTapeProcessor 和 MainWindowViewModel 中的钻带生成逻辑里,
为 M30 结束标记后添加换行符,确保输出文件符合标准钻带文件格式。

🤖 Generated with [Claude Code](https://claude.com/claude-code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
2026-03-02 11:06:02 +08:00
parent 5e8b989add
commit 0c14c16a21
2 changed files with 4 additions and 2 deletions

View File

@@ -784,7 +784,8 @@ namespace DrillTools
// 添加结束标记
result.Add("M30");
return string.Join("\r\n", result);
// 在M30后添加空行符合标准钻带文件格式
return string.Join("\r\n", result) + "\r\n";
}
/// <summary>