www.gusucode.com > 铁路列车车辆监控系统本系统要求PC机有两个串行通讯串口, > 铁路列车车辆监控系统本系统要求PC机有两个串行通讯串口,有线MODEM一个。其它配置没有严格的要求,一般配置即可。/铁路列车车辆监控系统/电子地图显示模块(江军)/EagleViewNew/repeaterbindings.cpp

    // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.


#include "stdafx.h"
#include "repeaterbindings.h"

// Dispatch interfaces referenced by this interface
#include "repeaterbinding.h"


/////////////////////////////////////////////////////////////////////////////
// CRepeaterBindings properties

/////////////////////////////////////////////////////////////////////////////
// CRepeaterBindings operations

CRepeaterBinding CRepeaterBindings::GetItem(VARIANT* pvItem)
{
	LPDISPATCH pDispatch;
	static BYTE parms[] =
		VTS_PVARIANT;
	InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
		pvItem);
	return CRepeaterBinding(pDispatch);
}

long CRepeaterBindings::GetCount()
{
	long result;
	InvokeHelper(0xc8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
	return result;
}

void CRepeaterBindings::Clear()
{
	InvokeHelper(0xc9, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

CRepeaterBinding CRepeaterBindings::Add(LPCTSTR bstrPropertyName, LPCTSTR bstrDataField, LPDISPATCH pDataFormat, LPCTSTR btrKey)
{
	LPDISPATCH pDispatch;
	static BYTE parms[] =
		VTS_BSTR VTS_BSTR VTS_DISPATCH VTS_BSTR;
	InvokeHelper(0xca, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
		bstrPropertyName, bstrDataField, pDataFormat, btrKey);
	return CRepeaterBinding(pDispatch);
}

void CRepeaterBindings::Remove(VARIANT* pvItem)
{
	static BYTE parms[] =
		VTS_PVARIANT;
	InvokeHelper(0xcb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 pvItem);
}