Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

54 lines
1.2 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: Report.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of Report.h
//----------------------------------------------------------------------------
#ifndef __REPORT__H__INCLUDED__
#define __REPORT__H__INCLUDED__
#pragma once
#include "..\..\LgLib\Report\LgReport.h"
#include "..\DLIB\EventQueue.h"
class CSensorArray;
class CReport :
public CLgReport
{
public:
CReport();
virtual ~CReport();
public:
void SetSensorArray( CSensorArray *pSensorArray ) { m_pSensorArray = pSensorArray; }
BOOL Write( EVENT& event );
protected:
virtual BOOL OnCreateSite();
virtual BOOL OnAskForDeleteOld();
public:
void OnTimer();
private:
void OnAlarm();
CSensorArray *m_pSensorArray;
private:
BOOL StoreBackground();
BOOL m_bAlarm;
LARGE_INTEGER m_liAlarmTimeLast;
LARGE_INTEGER m_liAlarmTimeFirst;
WORD m_wDay;
};
#endif