siudevices.cpp

来自「在驱动开发时」· C++ 代码 · 共 75 行

CPP
75
字号
// SIUDevices.cpp: implementation of the CSIUDevices class.
//
//////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// Project:$$ROOT$$
// Author:谢兴锋
// Date:2005年08月12日
// Description:kingteller virtula devices platform sdk
//
/////////////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "SIUDevices.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif


//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CSIUDevices::CSIUDevices()
{

}

CSIUDevices::~CSIUDevices()
{

}

//取厂家名称	
CString CSIUDevices::GetVendorName()
{
	return "$$VENDORNAME$$";
}

int CSIUDevices::Init()
{
	int nRes=0;
	return nRes;
}
//重启
int CSIUDevices::Uninit()
{
	return 0;
}

void CSIUDevices::OnInitDoorNameList(CStringArray& arName)
{
}

void CSIUDevices::OnInitLightNameList(CStringArray& arName)
{

}

int CSIUDevices::SetLight(CString csLightName, CString csFlashRate, CString& csErrorCode)
{
	return 0;
}



CString CSIUDevices::GetDoorState(CString csDoorName, CString csErrorCode)
{
	return "";
}


⌨️ 快捷键说明

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