⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 transferview.h

📁 《操作系统原理》课程设计 课题名称:磁臂调度及扇区排队算法模拟 模拟了FCFS和SSTF两种调度
💻 H
字号:
// transferView.h : interface of the CTransferView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TRANSFERVIEW_H__393ABDF5_B694_4E7B_B93A_B6C375F274D0__INCLUDED_)
#define AFX_TRANSFERVIEW_H__393ABDF5_B694_4E7B_B93A_B6C375F274D0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CTransferView : public CView
{
protected: // create from serialization only
	CTransferView();
	DECLARE_DYNCREATE(CTransferView)

// Attributes
public:
	CTransferDoc* GetDocument();
int randnumber,task[300],vertical[300],cursor,vertical_current,position,
current,temp,temp2,current_v,last,last_v,first,task_mirror[300],vertical_mirror[300],
records[300],records_v[300],h,l,temptemp,ax,ba,kko,num,cx,arr[300][300],request_num,flag,
randnumber2,kksave,transferstop,length,once,current_angle,pointer,second,delay,sth;
int arr2[300][300];
int n;
int ll,served;
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTransferView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CTransferView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTransferView)
	afx_msg void Onabc();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in transferView.cpp
inline CTransferDoc* CTransferView::GetDocument()
   { return (CTransferDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TRANSFERVIEW_H__393ABDF5_B694_4E7B_B93A_B6C375F274D0__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -