www.gusucode.com > 铁路列车车辆监控系统本系统要求PC机有两个串行通讯串口, > 铁路列车车辆监控系统本系统要求PC机有两个串行通讯串口,有线MODEM一个。其它配置没有严格的要求,一般配置即可。/铁路列车车辆监控系统/电子地图显示模块(江军)/EagleViewNew/cmapxtheme.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 "cmapxtheme.h" // Dispatch interfaces referenced by this interface #include "cmapxthemeproperties.h" #include "CMapXLegend.h" #include "CMapXLayer.h" #include "CMapXFields.h" ///////////////////////////////////////////////////////////////////////////// // CCMapXTheme properties BOOL CCMapXTheme::GetVisible() { BOOL result; GetProperty(0x1, VT_BOOL, (void*)&result); return result; } void CCMapXTheme::SetVisible(BOOL propVal) { SetProperty(0x1, VT_BOOL, propVal); } short CCMapXTheme::GetType() { short result; GetProperty(0x2, VT_I2, (void*)&result); return result; } CCMapXThemeProperties CCMapXTheme::GetProperties() { LPDISPATCH pDispatch; GetProperty(0x3, VT_DISPATCH, (void*)&pDispatch); return CCMapXThemeProperties(pDispatch); } CCMapXLegend CCMapXTheme::GetLegend() { LPDISPATCH pDispatch; GetProperty(0x4, VT_DISPATCH, (void*)&pDispatch); return CCMapXLegend(pDispatch); } BOOL CCMapXTheme::GetAutoRecompute() { BOOL result; GetProperty(0x5, VT_BOOL, (void*)&result); return result; } void CCMapXTheme::SetAutoRecompute(BOOL propVal) { SetProperty(0x5, VT_BOOL, propVal); } CString CCMapXTheme::GetName() { CString result; GetProperty(0x6, VT_BSTR, (void*)&result); return result; } void CCMapXTheme::SetName(LPCTSTR propVal) { SetProperty(0x6, VT_BSTR, propVal); } CCMapXThemeProperties CCMapXTheme::GetThemeProperties() { LPDISPATCH pDispatch; GetProperty(0x7, VT_DISPATCH, (void*)&pDispatch); return CCMapXThemeProperties(pDispatch); } CCMapXLayer CCMapXTheme::GetLayer() { LPDISPATCH pDispatch; GetProperty(0x9, VT_DISPATCH, (void*)&pDispatch); return CCMapXLayer(pDispatch); } CCMapXFields CCMapXTheme::GetFields() { LPDISPATCH pDispatch; GetProperty(0xa, VT_DISPATCH, (void*)&pDispatch); return CCMapXFields(pDispatch); } double CCMapXTheme::GetDataMin() { double result; GetProperty(0xb, VT_R8, (void*)&result); return result; } void CCMapXTheme::SetDataMin(double propVal) { SetProperty(0xb, VT_R8, propVal); } double CCMapXTheme::GetDataMax() { double result; GetProperty(0xc, VT_R8, (void*)&result); return result; } void CCMapXTheme::SetDataMax(double propVal) { SetProperty(0xc, VT_R8, propVal); } BOOL CCMapXTheme::GetComputeTheme() { BOOL result; GetProperty(0xd, VT_BOOL, (void*)&result); return result; } void CCMapXTheme::SetComputeTheme(BOOL propVal) { SetProperty(0xd, VT_BOOL, propVal); } ///////////////////////////////////////////////////////////////////////////// // CCMapXTheme operations BOOL CCMapXTheme::ThemeDlg(const VARIANT& HelpFile, const VARIANT& HelpID) { BOOL result; static BYTE parms[] = VTS_VARIANT VTS_VARIANT; InvokeHelper(0x8, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, &HelpFile, &HelpID); return result; }