优化CSV导出功能:将测温区信息文件的标题栏改为中文

This commit is contained in:
zqm
2025-11-11 14:30:37 +08:00
parent 91fe54cb5c
commit d33dbe3811

View File

@@ -3026,8 +3026,8 @@ namespace JoyD.Windows.CS
// 使用StreamWriter保存为CSV文件
using (StreamWriter writer = new StreamWriter(saveFileDialog.FileName, false, Encoding.UTF8))
{
// 写入CSV文件头部
writer.WriteLine("Index,X,Y,Width,Height,Color");
// 写入CSV文件头部(使用中文标题)
writer.WriteLine("索引,X坐标,Y坐标,宽度,高度,颜色");
// 遍历所有测温区将信息写入CSV文件
foreach (RegionInfo region in _drawnRectangles)