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

📄 postavitarifudlg.h

📁 load data from pc to hand held terminal and vice versa
💻 H
字号:
#if !defined(AFX_POSTAVITARIFUDLG_H__0FF97232_FCBE_11D6_A856_00902759EFC4__INCLUDED_)
#define AFX_POSTAVITARIFUDLG_H__0FF97232_FCBE_11D6_A856_00902759EFC4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PostaviTarifuDlg.h : header file
//
#include "Interpret.h"

/////////////////////////////////////////////////////////////////////////////
// CPostaviTarifuDlg dialog

class CPostaviTarifuDlg : public CDialog
{
// Construction
public:
	CPostaviTarifuDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CPostaviTarifuDlg)
	enum { IDD = IDD_POSTAVI_TARIFU };
	CTime	m_PrelazakNaLetnje;
	CTime	m_PrelazakNaZimsko;
	BOOL	m_VisaTarifa_RD1;
	BOOL	m_VisaTarifa_RD2;
	BOOL	m_VisaTarifa_RD3;
	BOOL	m_VisaTarifa_RD4;
	BOOL	m_VisaTarifa_V1;
	BOOL	m_VisaTarifa_V2;
	BOOL	m_VisaTarifa_V3;
	BOOL	m_VisaTarifa_V4;
	CTime	m_Vreme_RD1;
	CTime	m_Vreme_RD2;
	CTime	m_Vreme_RD3;
	CTime	m_Vreme_RD4;
	CTime	m_Vreme_V1;
	CTime	m_Vreme_V2;
	CTime	m_Vreme_V3;
	CTime	m_Vreme_V4;
	CTime	m_PrelazNaLetnjeSat;
	CTime	m_PrelazNaZimskoSat;
	BOOL	m_PrelazAktivan;
	BOOL	m_SubotaJeRadniDan;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPostaviTarifuDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPostaviTarifuDlg)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnOcitajMasterTarifu();
	afx_msg void OnZakljucajTarifu();
	afx_msg void OnIzmeniLozinku();
	afx_msg void OnOtkljucajTarifu();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
    // Pomocne procedure
    void DodajPromenuUSpisak( TSpisakVremenaPromeneTarife& spisak, CTime vreme, BOOL visaTarifa );

    void NapuniPromeneTarife( TSpisakVremenaPromeneTarife* spisakVremenaPromene,
                              unsigned int                 nBrojPromena, 
                              CTime*                       vreme[], 
                              BOOL*                        bVisaTarifa[] );

    // Procedura ocitava tarifu sa rucnog terminala i postavlja odgovarajuce promenljive forme.
    // Ukoliko citanje sa serijskog porta ne uspe, vraca false.
    bool ProcitajMasterTarifuSaTerminala( bool& bDobraVeza,
                                          bool& bZakljucan, bool& bIspravanID, 
                                          bool bBrzaKomunikacija = false );
};

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

#endif // !defined(AFX_POSTAVITARIFUDLG_H__0FF97232_FCBE_11D6_A856_00902759EFC4__INCLUDED_)

⌨️ 快捷键说明

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