MFC-Simulator/TestSimulator/BlockOut.h

57 lines
1.2 KiB
C
Raw Normal View History

2023-02-03 03:07:52 +01:00
#pragma once
//Block<63>l<EFBFBD><6C><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>GBlock Out
#include "BlockBasis.h"
#include <vector>
class CBlockOut : public CBlockBasis
{
private:
//Block rect(<28>s<EFBFBD>b<EFBFBD>@<40>ӿ<EFBFBD><D3BF>JPin)
CRect m_rcPinIn;
//<2F>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD>vector(<28>s<EFBFBD>b<EFBFBD>h<EFBFBD>ӿ<EFBFBD><D3BF>Jchannel)
std::vector <CBlockBasis*> m_vcBlkHeadPtr;
//<2F>s<EFBFBD><73><EFBFBD>s<EFBFBD><73>vector(<28>s<EFBFBD>b<EFBFBD>h<EFBFBD>ӿ<EFBFBD><D3BF>Jchannel)
std::vector <int> m_vcBlkHeadNum;
//<2F><><EFBFBD>Jchannel<65>ƥ<EFBFBD>
int m_iBlkHeadSize;
public:
//<2F>غc<D8BA>B<EFBFBD>Ѻc<D1BA>l
CBlockOut ();
virtual ~CBlockOut ();
//<2F><><EFBFBD>o<EFBFBD>B<EFBFBD>]<5D>wrect
virtual void SetBlkRect (CPoint, int, int);
virtual CRect GetPinIn1Rect () const;
//<2F><><EFBFBD>o<EFBFBD>B<EFBFBD>]<5D>w<EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD>Block<63><6B><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
virtual CBlockBasis* GetBlkHead1Ptr (int) const;
virtual void SetBlkHead1Ptr (CBlockBasis*);
virtual void DeleteBlkHead1Ptr (int);
//<2F><><EFBFBD>o<EFBFBD>B<EFBFBD>]<5D>w<EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD>Block<63><6B><EFBFBD>s<EFBFBD><73>
virtual int GetBlkHead1Num (int) const;
virtual void SetBlkHead1Num (int) ;
virtual void ClearBlkHead1Num ();
//<2F><><EFBFBD>o<EFBFBD>B<EFBFBD>]<5D>w<EFBFBD><77><EFBFBD>Jchannel<65>ƥ<EFBFBD>
virtual int GetBlkHeadSize () const;
virtual void SetBlkHeadSize (int);
virtual double GetBlkValue (int) const; //<2F><><EFBFBD>oBlock<63><6B>
virtual int GetValueFlag (int) const; //<2F><><EFBFBD>oValue<75>X<EFBFBD><58>
virtual void Move (CPoint); //<2F><><EFBFBD><EFBFBD>Block
virtual void Draw (CDC*); //ø<>sBlock
virtual void DrawLine (CDC*); //ø<>sBlock<63>s<EFBFBD><73><EFBFBD>u
//<2F>P<EFBFBD>_Block<63><6B><EFBFBD><EFBFBD>
virtual int BlkTypeIs () const;
};