修复钻带文件输出末尾缺少空行的问题
在 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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user