43 lines
806 B
C
43 lines
806 B
C
|
#pragma once
|
|||
|
|
|||
|
//Block<63>l<EFBFBD><6C><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>GBlock In
|
|||
|
|
|||
|
#include "BlockBasis.h"
|
|||
|
|
|||
|
class CBlockIn : public CBlockBasis
|
|||
|
{
|
|||
|
private:
|
|||
|
//Block rect(<28>s<EFBFBD>b<EFBFBD>@<40>ӿ<EFBFBD><D3BF>XPin)
|
|||
|
CRect m_rcPinOut;
|
|||
|
|
|||
|
//<2F><><EFBFBD>J<EFBFBD>i<EFBFBD><69>flag
|
|||
|
int m_iInputFlag;
|
|||
|
|
|||
|
//Block<63><6B>
|
|||
|
double m_dBlkValue;
|
|||
|
|
|||
|
public:
|
|||
|
//<2F>غc<D8BA>B<EFBFBD>Ѻc<D1BA>l
|
|||
|
CBlockIn ();
|
|||
|
virtual ~CBlockIn ();
|
|||
|
|
|||
|
//<2F><><EFBFBD>o<EFBFBD>B<EFBFBD>]<5D>wrect
|
|||
|
virtual void SetBlkRect (CPoint, int, int);
|
|||
|
virtual CRect GetPinOutRect () const;
|
|||
|
|
|||
|
//<2F><><EFBFBD>o<EFBFBD>B<EFBFBD>]<5D>w<EFBFBD><77><EFBFBD>J<EFBFBD>i<EFBFBD><69>flag
|
|||
|
virtual int GetInputFlag () const;
|
|||
|
virtual void SetInputFlag (int);
|
|||
|
|
|||
|
//<2F><><EFBFBD>o<EFBFBD>B<EFBFBD>]<5D>wBlock<63><6B>
|
|||
|
virtual double GetBlkValue () const;
|
|||
|
virtual void SetBlkValue (double);
|
|||
|
virtual void SetBlkValue ();
|
|||
|
virtual int GetValueFlag () const; //<2F><><EFBFBD>oValue<75>X<EFBFBD><58>
|
|||
|
|
|||
|
virtual void Move (CPoint); //<2F><><EFBFBD><EFBFBD>Block
|
|||
|
virtual void Draw (CDC*); //ø<>sBlock
|
|||
|
|
|||
|
//<2F>P<EFBFBD>_Block<63><6B><EFBFBD><EFBFBD>
|
|||
|
virtual int BlkTypeIs () const;
|
|||
|
};
|