전자공학 자동제어 프로그래밍 - 시스템의 Dialog 출력응답
본 자료는 6페이지 의 미리보기를 제공합니다. 이미지를 클릭하여 주세요.
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
해당 자료는 6페이지 까지만 미리보기를 제공합니다.
6페이지 이후부터 다운로드 후 확인할 수 있습니다.

목차

1. 시스템 모델링
2. Dialog를 갖는 2차계 시스템 출력응답

본문내용

(rect.left+70.0) + t*10000.0);
pt.y = (rect.bottom-150) - y_t;
pDC->SetPixel(pt.x, pt.y, color);
}
}
/////////////////////////////////////////////////////////////////////////////
// CKinputView printing
BOOL CKinputView::OnPreparePrinting(CPrintInfo* pInfo)
{
// default preparation
return DoPreparePrinting(pInfo);
}
void CKinputView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
// TODO: add extra initialization before printing
}
void CKinputView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
// TODO: add cleanup after printing
}
/////////////////////////////////////////////////////////////////////////////
// CKinputView diagnostics
#ifdef _DEBUG
void CKinputView::AssertValid() const
{
CView::AssertValid();
}
void CKinputView::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
CKinputDoc* CKinputView::GetDocument() // non-debug version is inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CKinputDoc)));
return (CKinputDoc*)m_pDocument;
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CKinputView message handlers
Kdlg.h
#if !defined(AFX_KDLG_H__C81F346A_D9D4_4ABD_B47C_66579B7BEEB6__INdefine AFX_KDLG_H__C81F346A_D9D4_4ABD_B47C_66579B7BEEB6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Kdlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CKdlg dialog
class CKdlg : public CDialog
{
// Construction
public:
CKdlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CKdlg)
enum { IDD = IDD_K_DLG };
double m_nK;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CKdlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);// DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CKdlg)
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif //
!defined(AFX_KDLG_H__C81F346A_D9D4_4ABD_B47C_66579B7BEEB6__INCLUDED_)
Kdlg.cpp
// Kdlg.cpp : implementation file
#include "stdafx.h"
#include "Kinput.h"
#include "Kdlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CKdlg dialog
CKdlg::CKdlg(CWnd* pParent /*=NULL*/)
: CDialog(CKdlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CKdlg)
m_nK = 0.0;
//}}AFX_DATA_INIT
}
void CKdlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CKdlg)
DDX_Text(pDX, IDC_EDIT1, m_nK);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CKdlg, CDialog)
//{{AFX_MSG_MAP(CKdlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CKdlg message handlers
  • 가격2,000
  • 페이지수18페이지
  • 등록일2004.09.23
  • 저작시기2004.09
  • 파일형식한글(hwp)
  • 자료번호#268396
본 자료는 최근 2주간 다운받은 회원이 없습니다.
청소해
다운로드 장바구니