From 4ed7fc8447d202e21ef9907e2aac63ef6fcbf301 Mon Sep 17 00:00:00 2001
From: zxd <zxdvslxy@gmail.com>
Date: 星期二, 17 十月 2023 12:33:23 +0800
Subject: [PATCH] 提交图码转换部分修改: 1.基本图形转换 2.ANS\ORS\PSHS\POPS命令的处理 3.重构了转换方法,命名为CMTerm1View::ScanLDSCells2();同时将翻译单独提出为方法CMTerm1View::Translate2Prog() 4.快捷键的添加绑定 5.其他相关方法修改,Insert,Delete,FocusChg…… 6.其他关联修改

---
 MTerm2/MTerm2View.cpp |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/MTerm2/MTerm2View.cpp b/MTerm2/MTerm2View.cpp
index c7045df..ac169e9 100644
--- a/MTerm2/MTerm2View.cpp
+++ b/MTerm2/MTerm2View.cpp
@@ -1429,13 +1429,14 @@
 	s1.Format(_T("Insert Blank Line"));
 	SysLog(s1);
 	m_FocusRow;
+	//褰撳墠琛屼箣鍚庣殑鎵�鏈夛紝涓嬬Щ涓�琛�
 	for (int i = m_nTotalRow - 1; i >= m_FocusRow; i--) {
 		for (int j = 0; j < m_CellPerLine; j++) {
 			Cells[i + 1][j] = Cells[i][j];
 		}
 	}
 	m_nTotalRow += 1;
-		
+	// 褰撳墠琛岀伆鑹�	
 	for (int j = 0; j < m_CellPerLine; j++)	{
 		Cells[m_FocusRow][j].clear();
 		Cells[m_FocusRow][j].bEditing = 1;
@@ -1446,7 +1447,12 @@
 		}
 	}
 
-	
+	// 褰撳墠琛� 鍔犲叆 瑙︾偣
+//	m_FocusCol;
+//	Cells[m_FocusRow][0].nType= typeNO;
+//	Cells[m_FocusRow][0].nDataType = KLCoilTypeX;
+//	Cells[m_FocusRow][0].nDataAddr = 15;
+//	Cells[m_FocusRow][0].sCoilName = "ABCDEFG";
 
 	m_bModified = 1;
 	needReDraw = 1;
@@ -1463,6 +1469,7 @@
 	}
 	return -1;
 }
+
 void CMTerm2View::GetIncToView(stCell cell1)               //**************************************************************************************************//
 {
 

--
Gitblit v1.9.1