优化CSV导出功能:将测温区信息文件的标题栏改为中文
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user