You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
862 B
C
21 lines
862 B
C
|
1 year ago
|
#pragma once
|
||
|
|
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
#include "DllDefines.h"
|
||
|
|
|
||
|
|
class IODLLCLASS CHardwareConfiguration
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
// !!! MUST declare destructor. Else factory design will cause memory leak
|
||
|
|
virtual ~CHardwareConfiguration(){}
|
||
|
|
|
||
|
|
virtual bool GetChannelConfig(int nCardType, int nCardNo, int nNoOfChannel, int* npChannelArray, int nWhatCard) = 0;
|
||
|
|
virtual int GetSharing(int nCardType, int nCardNo, int nWhatCard) = 0;
|
||
|
|
virtual int GetNoOfDifferentCardType(int nWhatCard) = 0;
|
||
|
|
virtual std::string GetCardName(int nCardTypeNo, int nWhatCard) = 0;
|
||
|
|
|
||
|
|
// get the no of card of different card category
|
||
|
|
virtual int GetNoOfCard(int nCardTypeNo, int nWhatCard) = 0;
|
||
|
|
|
||
|
|
};
|