| | |
| | |
|
| | | #include <memory>
|
| | | #include <vector>
|
| | | #include <stack>
|
| | |
|
| | | #include "MTerm1Doc.h"
|
| | | class CMTerm1View : public CScrollView
|
| | |
| | | typePN=15, //下降沿
|
| | | typeNOT=16,
|
| | | typeDF = 17,
|
| | |
|
| | | typeDF_ = 18,
|
| | | typeOUT=19,
|
| | | typeSET=20,
|
| | |
| | | int isCellInView(int nRow, int nCol);
|
| | | int CellFocusChg(int nRow, int nCol);
|
| | |
|
| | | std::pair<int, CString> CMTerm1View::LDSCheckRule();
|
| | |
|
| | | // 重写
|
| | | public:
|
| | | virtual void OnDraw(CDC* pDC); // 重写以绘制该视图
|
| | |
| | | afx_msg void OnInputIoComment();
|
| | | afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
|
| | | int ScanLDSCells(int nStartLine, int nEndLine, int nPosY, int nPosX, int nLevel, stProgSection & progsec, CString & sProgSec, int &nSteps);
|
| | | void SetCellToView(stCell cell1);
|
| | | int ScanLDSCells2(int nStartLine, int nEndLine, int nPosY, int nPosX, int nSizeX, int nLevel, stProgSection& progsec, CString& sProgSec, int& nSteps);
|
| | | int CMTerm1View::Translate2Prog(
|
| | | int nType, int nCurPosY, int nCurPosX, CString sCellName,
|
| | | stProgSection& progsec, CString& sProgSec, int& nSteps);
|
| | | void SetCellToView(stCell cell1, int flag = 0);//modify0919zxd
|
| | |
|
| | | };
|
| | |
|