⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 parseserver_tlb.pas

📁 财务软件:功能尚可,基于UML设计开发的delphi系统,文档齐全
💻 PAS
字号:
unit ParseServer_TLB;

// ************************************************************************ //
// WARNING                                                                    
// -------                                                                    
// The types declared in this file were generated from data read from a       
// Type Library. If this type library is explicitly or indirectly (via        
// another type library referring to this type library) re-imported, or the   
// 'Refresh' command of the Type Library Editor activated while editing the   
// Type Library, the contents of this file will be regenerated and all        
// manual modifications will be lost.                                         
// ************************************************************************ //

// PASTLWTR : 1.2
// File generated on 2005-10-13 9:49:48 from Type Library described below.

// ************************************************************************  //
// Type Lib: H:\MySoft\Finance\Source\ParseServer\ParseServer.tlb (1)
// LIBID: {53348B38-5A63-4ABE-8DA7-C1BA69DB3BD9}
// LCID: 0
// Helpfile: 
// HelpString: ParseServer Library
// DepndLst: 
//   (1) v1.0 Midas, (C:\WINDOWS\system32\midas.dll)
//   (2) v2.0 stdole, (C:\WINDOWS\system32\STDOLE2.TLB)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers. 
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
{$VARPROPSETTER ON}
interface

uses Windows, ActiveX, Classes, Graphics, Midas, StdVCL, Variants;
  

// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:        
//   Type Libraries     : LIBID_xxxx                                      
//   CoClasses          : CLASS_xxxx                                      
//   DISPInterfaces     : DIID_xxxx                                       
//   Non-DISP interfaces: IID_xxxx                                        
// *********************************************************************//
const
  // TypeLibrary Major and minor versions
  ParseServerMajorVersion = 1;
  ParseServerMinorVersion = 0;

  LIBID_ParseServer: TGUID = '{53348B38-5A63-4ABE-8DA7-C1BA69DB3BD9}';

  IID_IFinanceParseServer: TGUID = '{B953DE37-E6E0-4360-8DC0-95F00044BF27}';
  CLASS_FinanceParseServer: TGUID = '{8E738CF2-F5D0-46F5-A65F-2996083958C9}';
type

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
  IFinanceParseServer = interface;
  IFinanceParseServerDisp = dispinterface;

// *********************************************************************//
// Declaration of CoClasses defined in Type Library                       
// (NOTE: Here we map each CoClass to its Default Interface)              
// *********************************************************************//
  FinanceParseServer = IFinanceParseServer;


// *********************************************************************//
// Interface: IFinanceParseServer
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {B953DE37-E6E0-4360-8DC0-95F00044BF27}
// *********************************************************************//
  IFinanceParseServer = interface(IAppServer)
    ['{B953DE37-E6E0-4360-8DC0-95F00044BF27}']
    function Parse(const AExpression: WideString): WideString; safecall;
    function GetCodeStart(vYear: Integer; vPeriod: Integer; const vCode: WideString): Double; safecall;
    function GetCodeCurDebit(vYear: Integer; vPeriod: Integer; const vCode: WideString): Double; safecall;
    function GetCodeCurLender(vYear: Integer; vPeriod: Integer; const vCode: WideString): Double; safecall;
    function GetCodeEnd(vYear: Integer; vPeriod: Integer; const vCode: WideString): Double; safecall;
    function GetCodeStartYear(vYear: Integer; const vCode: WideString): Double; safecall;
    function GetCodeDebitYear(vYear: Integer; const vCode: WideString): Double; safecall;
    function GetCodeLenderYear(vYear: Integer; const vCode: WideString): Double; safecall;
    function GetCodeEndYear(vYear: Integer; const vCode: WideString): Double; safecall;
  end;

// *********************************************************************//
// DispIntf:  IFinanceParseServerDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {B953DE37-E6E0-4360-8DC0-95F00044BF27}
// *********************************************************************//
  IFinanceParseServerDisp = dispinterface
    ['{B953DE37-E6E0-4360-8DC0-95F00044BF27}']
    function Parse(const AExpression: WideString): WideString; dispid 301;
    function GetCodeStart(vYear: Integer; vPeriod: Integer; const vCode: WideString): Double; dispid 302;
    function GetCodeCurDebit(vYear: Integer; vPeriod: Integer; const vCode: WideString): Double; dispid 303;
    function GetCodeCurLender(vYear: Integer; vPeriod: Integer; const vCode: WideString): Double; dispid 304;
    function GetCodeEnd(vYear: Integer; vPeriod: Integer; const vCode: WideString): Double; dispid 305;
    function GetCodeStartYear(vYear: Integer; const vCode: WideString): Double; dispid 306;
    function GetCodeDebitYear(vYear: Integer; const vCode: WideString): Double; dispid 307;
    function GetCodeLenderYear(vYear: Integer; const vCode: WideString): Double; dispid 308;
    function GetCodeEndYear(vYear: Integer; const vCode: WideString): Double; dispid 309;
    function AS_ApplyUpdates(const ProviderName: WideString; Delta: OleVariant; MaxErrors: Integer; 
                             out ErrorCount: Integer; var OwnerData: OleVariant): OleVariant; dispid 20000000;
    function AS_GetRecords(const ProviderName: WideString; Count: Integer; out RecsOut: Integer; 
                           Options: Integer; const CommandText: WideString; var Params: OleVariant; 
                           var OwnerData: OleVariant): OleVariant; dispid 20000001;
    function AS_DataRequest(const ProviderName: WideString; Data: OleVariant): OleVariant; dispid 20000002;
    function AS_GetProviderNames: OleVariant; dispid 20000003;
    function AS_GetParams(const ProviderName: WideString; var OwnerData: OleVariant): OleVariant; dispid 20000004;
    function AS_RowRequest(const ProviderName: WideString; Row: OleVariant; RequestType: Integer; 
                           var OwnerData: OleVariant): OleVariant; dispid 20000005;
    procedure AS_Execute(const ProviderName: WideString; const CommandText: WideString; 
                         var Params: OleVariant; var OwnerData: OleVariant); dispid 20000006;
  end;

// *********************************************************************//
// The Class CoFinanceParseServer provides a Create and CreateRemote method to          
// create instances of the default interface IFinanceParseServer exposed by              
// the CoClass FinanceParseServer. The functions are intended to be used by             
// clients wishing to automate the CoClass objects exposed by the         
// server of this typelibrary.                                            
// *********************************************************************//
  CoFinanceParseServer = class
    class function Create: IFinanceParseServer;
    class function CreateRemote(const MachineName: string): IFinanceParseServer;
  end;

implementation

uses ComObj;

class function CoFinanceParseServer.Create: IFinanceParseServer;
begin
  Result := CreateComObject(CLASS_FinanceParseServer) as IFinanceParseServer;
end;

class function CoFinanceParseServer.CreateRemote(const MachineName: string): IFinanceParseServer;
begin
  Result := CreateRemoteComObject(MachineName, CLASS_FinanceParseServer) as IFinanceParseServer;
end;

end.

⌨️ 快捷键说明

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