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.
48 lines
1.1 KiB
48 lines
1.1 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: DevicePCI1762.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of DevicePCI1762.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __DEVICE__PCI__1762__H__INCLUDED__
|
|
#define __DEVICE__PCI__1762__H__INCLUDED__
|
|
|
|
#include "Device.h"
|
|
#include "DeviceDI.h"
|
|
#include "DeviceDO.h"
|
|
#include "..\..\LgLib\Net\LgNetDeviceGPIOPCI1762.h"
|
|
|
|
class CDevicePCI1762 :
|
|
public CDevice,
|
|
public CDeviceDI,
|
|
public CDeviceDO,
|
|
public CLgNetDeviceGPIOPCI1762
|
|
{
|
|
public:
|
|
CDevicePCI1762();
|
|
virtual ~CDevicePCI1762();
|
|
|
|
public:
|
|
virtual BOOL ReadWriteProc( DWORD dwTimeout );
|
|
|
|
private:
|
|
CLgNetMessageGPIO m_Msg;
|
|
CLgNetDevice m_MsgSink;
|
|
|
|
private:
|
|
typedef struct OUTPUT_STATE
|
|
{
|
|
BOOL bOn;
|
|
BOOL bFirstTime;
|
|
}OUTPUT_STATE;
|
|
CLgArray<OUTPUT_STATE> m_OutputState;
|
|
};
|
|
|
|
#endif
|