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

📄 ca200srvrlib_tlb.pas

📁 采用PC控制Ca210彩色分析仪
💻 PAS
📖 第 1 页 / 共 5 页
字号:
unit CA200SRVRLib_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 2006-1-17 21:43:03 from Type Library described below.

// ************************************************************************  //
// Type Lib: C:\Program Files\CA-SDK\SDK\CA200Srvr.dll (1)
// LIBID: {81480671-9287-43D4-8A21-F0CB0157077F}
// LCID: 0
// Helpfile: 
// HelpString: CA200Srvr 1.1 Type Library
// DepndLst: 
//   (1) v2.0 stdole, (C:\WINDOWS\system32\StdOle2.tlb)
// Errors:
//   Error creating palette bitmap of (TCa200) : Server C:\Program Files\CA-SDK\SDK\CA200Srvr.dll contains no icons
//   Error creating palette bitmap of (TCas) : Server C:\Program Files\CA-SDK\SDK\CA200Srvr.dll contains no icons
//   Error creating palette bitmap of (TCa) : Server C:\Program Files\CA-SDK\SDK\CA200Srvr.dll contains no icons
//   Error creating palette bitmap of (TMemory) : Server C:\Program Files\CA-SDK\SDK\CA200Srvr.dll contains no icons
//   Error creating palette bitmap of (TProbes) : Server C:\Program Files\CA-SDK\SDK\CA200Srvr.dll contains no icons
//   Error creating palette bitmap of (TProbe) : Server C:\Program Files\CA-SDK\SDK\CA200Srvr.dll contains no icons
//   Error creating palette bitmap of (TOutputProbes) : Server C:\Program Files\CA-SDK\SDK\CA200Srvr.dll contains no icons
// ************************************************************************ //
// *************************************************************************//
// NOTE:                                                                      
// Items guarded by $IFDEF_LIVE_SERVER_AT_DESIGN_TIME are used by properties  
// which return objects that may need to be explicitly created via a function 
// call prior to any access via the property. These items have been disabled  
// in order to prevent accidental use from within the object inspector. You   
// may enable them by defining LIVE_SERVER_AT_DESIGN_TIME or by selectively   
// removing them from the $IFDEF blocks. However, such items must still be    
// programmatically created via a method of the appropriate CoClass before    
// they can be used.                                                          
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers. 
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
{$VARPROPSETTER ON}
interface

uses Windows, ActiveX, Classes, Graphics, OleServer, 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
  CA200SRVRLibMajorVersion = 1;
  CA200SRVRLibMinorVersion = 1;

  LIBID_CA200SRVRLib: TGUID = '{81480671-9287-43D4-8A21-F0CB0157077F}';

  IID_ICa200: TGUID = '{DB87A8F6-FAF3-433A-B7F3-31BB4D759361}';
  CLASS_Ca200: TGUID = '{006B0650-AF9A-4EE1-B18F-B5740004D7CE}';
  IID_ICas: TGUID = '{5415C7C6-D982-46EE-BA22-FB6DC1AD5DE0}';
  IID_ICa: TGUID = '{A930F0DB-F79A-467A-8479-F8369B063B8D}';
  IID_IProbes: TGUID = '{B455EFE8-1576-481C-BAC6-A1C506BF4E81}';
  IID_IProbe: TGUID = '{B2FDD51E-CBA7-45CE-AF0A-DD962E46B74F}';
  IID_IOutputProbes: TGUID = '{3EE4760C-B9F3-47B1-953F-F5A2F83FF688}';
  IID_IMemory: TGUID = '{20EA33BB-6914-465A-B98E-8DBD4E386CD0}';
  CLASS_Cas: TGUID = '{C1F0B433-1841-4330-960E-DB7403635DB3}';
  DIID__ICaEvents: TGUID = '{F7663750-5900-45EB-905F-78C5D5378481}';
  IID_IProbeInfo: TGUID = '{5C542273-19D5-4C56-A12A-A58B1BAAD65E}';
  IID_ICaOption: TGUID = '{3CBE6157-1D53-4CAE-B4B0-33ACC30E6421}';
  CLASS_Ca: TGUID = '{3B5F9680-00A6-469B-BADE-04C781AAFAA1}';
  CLASS_Memory: TGUID = '{0C0A2E9B-EFA3-4B95-AC32-98B8506F95EF}';
  CLASS_Probes: TGUID = '{BFA8834E-4853-4D35-98FC-BAF5906DAA83}';
  CLASS_Probe: TGUID = '{A1874391-65BA-402A-A0F8-AE9F9A11EB8B}';
  CLASS_OutputProbes: TGUID = '{DF97B9A4-49FF-44CC-A5B8-06D7C6FBC9B6}';
type

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
  ICa200 = interface;
  ICa200Disp = dispinterface;
  ICas = interface;
  ICasDisp = dispinterface;
  ICa = interface;
  ICaDisp = dispinterface;
  IProbes = interface;
  IProbesDisp = dispinterface;
  IProbe = interface;
  IProbeDisp = dispinterface;
  IOutputProbes = interface;
  IOutputProbesDisp = dispinterface;
  IMemory = interface;
  IMemoryDisp = dispinterface;
  _ICaEvents = dispinterface;
  IProbeInfo = interface;
  IProbeInfoDisp = dispinterface;
  ICaOption = interface;
  ICaOptionDisp = dispinterface;

// *********************************************************************//
// Declaration of CoClasses defined in Type Library                       
// (NOTE: Here we map each CoClass to its Default Interface)              
// *********************************************************************//
  Ca200 = ICa200;
  Cas = ICas;
  Ca = ICa;
  Memory = IMemory;
  Probes = IProbes;
  Probe = IProbe;
  OutputProbes = IOutputProbes;


// *********************************************************************//
// Interface: ICa200
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {DB87A8F6-FAF3-433A-B7F3-31BB4D759361}
// *********************************************************************//
  ICa200 = interface(IDispatch)
    ['{DB87A8F6-FAF3-433A-B7F3-31BB4D759361}']
    function Get_Cas: ICas; safecall;
    procedure SetConfiguration(CaNumberVal: Integer; const ConnecStringVal: WideString; 
                               PortVal: Integer; BaudRateVal: Integer); safecall;
    procedure AutoConnect; safecall;
    function Get_SingleCa: ICa; safecall;
    property Cas: ICas read Get_Cas;
    property SingleCa: ICa read Get_SingleCa;
  end;

// *********************************************************************//
// DispIntf:  ICa200Disp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {DB87A8F6-FAF3-433A-B7F3-31BB4D759361}
// *********************************************************************//
  ICa200Disp = dispinterface
    ['{DB87A8F6-FAF3-433A-B7F3-31BB4D759361}']
    property Cas: ICas readonly dispid 1;
    procedure SetConfiguration(CaNumberVal: Integer; const ConnecStringVal: WideString; 
                               PortVal: Integer; BaudRateVal: Integer); dispid 3;
    procedure AutoConnect; dispid 4;
    property SingleCa: ICa readonly dispid 2;
  end;

// *********************************************************************//
// Interface: ICas
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {5415C7C6-D982-46EE-BA22-FB6DC1AD5DE0}
// *********************************************************************//
  ICas = interface(IDispatch)
    ['{5415C7C6-D982-46EE-BA22-FB6DC1AD5DE0}']
    function Get_Item(IndexVal: OleVariant): ICa; safecall;
    function Get__NewEnum: IUnknown; safecall;
    function Get_Count: Integer; safecall;
    procedure SendMsr; safecall;
    procedure ReceiveMsr; safecall;
    function Get_ItemOfNumber(CaNumberVal: Integer): ICa; safecall;
    procedure SetCaID(CaNumberVal: Integer; const CaIDVal: WideString); safecall;
    property Item[IndexVal: OleVariant]: ICa read Get_Item; default;
    property _NewEnum: IUnknown read Get__NewEnum;
    property Count: Integer read Get_Count;
    property ItemOfNumber[CaNumberVal: Integer]: ICa read Get_ItemOfNumber;
  end;

// *********************************************************************//
// DispIntf:  ICasDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {5415C7C6-D982-46EE-BA22-FB6DC1AD5DE0}
// *********************************************************************//
  ICasDisp = dispinterface
    ['{5415C7C6-D982-46EE-BA22-FB6DC1AD5DE0}']
    property Item[IndexVal: OleVariant]: ICa readonly dispid 0; default;
    property _NewEnum: IUnknown readonly dispid -4;
    property Count: Integer readonly dispid 1;
    procedure SendMsr; dispid 6;
    procedure ReceiveMsr; dispid 7;
    property ItemOfNumber[CaNumberVal: Integer]: ICa readonly dispid 8;
    procedure SetCaID(CaNumberVal: Integer; const CaIDVal: WideString); dispid 9;
  end;

// *********************************************************************//
// Interface: ICa
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {A930F0DB-F79A-467A-8479-F8369B063B8D}
// *********************************************************************//
  ICa = interface(IDispatch)
    ['{A930F0DB-F79A-467A-8479-F8369B063B8D}']
    function Get_Probes: IProbes; safecall;
    function Get_OutputProbes: IOutputProbes; safecall;
    function Get_Memory: IMemory; safecall;
    function Get_DisplayProbe: WideString; safecall;
    procedure Set_DisplayProbe(const DisplayProbeVal: WideString); safecall;
    function Get_SingleProbe: IProbe; safecall;
    function Get_SyncMode: Single; safecall;
    procedure Set_SyncMode(SyncModeVal: Single); safecall;
    function Get_DisplayMode: Integer; safecall;
    procedure Set_DisplayMode(DisplayModeVal: Integer); safecall;
    function Get_DisplayDigits: Integer; safecall;
    procedure Set_DisplayDigits(DisplayDigitsVal: Integer); safecall;
    function Get_AveragingMode: Integer; safecall;
    procedure Set_AveragingMode(AveragingModeVal: Integer); safecall;
    function Get_BrightnessUnit: Integer; safecall;
    procedure Set_BrightnessUnit(BrightnessUnitVal: Integer); safecall;
    function Get_CAType: WideString; safecall;
    function Get_CAVersion: WideString; safecall;
    function Get_Number: Integer; safecall;
    function Get_PortID: WideString; safecall;
    function Get_ID: WideString; safecall;
    procedure Set_ID(const CaIDVal: WideString); safecall;
    procedure CalZero; safecall;
    procedure Measure(newVal: Integer); safecall;
    procedure SetAnalyzerCalMode; safecall;
    procedure Enter; safecall;
    procedure SetAnalogRange(Range1Val: Single; Range2Val: Single); safecall;
    procedure SetPWROnStatus; safecall;
    function Get_CalStandard: Integer; safecall;
    procedure Set_CalStandard(CalStandardVal: Integer); safecall;
    procedure ResetAnalyzerCalMode; safecall;
    procedure SetLvxyCalMode; safecall;
    procedure ResetLvxyCalMode; safecall;
    procedure SetAnalyzerCalData(ColorVal: Integer); safecall;
    procedure SetDisplayProbe(ProbeNumberVal: Integer); safecall;
    procedure SetLvxyCalData(ColorVal: Integer; XVal: Single; YVal: Single; LvVal: Single); safecall;
    procedure Set_RemoteMode(Param1: Integer); safecall;
    procedure SetFMAAnalogRange(RangeVal: Single); safecall;
    procedure GetAnalogRange(out Range1Val: Single; out Range2Val: Single); safecall;
    procedure GetFMAAnalogRange(out RangeVal: Single); safecall;
    property Probes: IProbes read Get_Probes;
    property OutputProbes: IOutputProbes read Get_OutputProbes;
    property Memory: IMemory read Get_Memory;
    property DisplayProbe: WideString read Get_DisplayProbe write Set_DisplayProbe;
    property SingleProbe: IProbe read Get_SingleProbe;
    property SyncMode: Single read Get_SyncMode write Set_SyncMode;
    property DisplayMode: Integer read Get_DisplayMode write Set_DisplayMode;
    property DisplayDigits: Integer read Get_DisplayDigits write Set_DisplayDigits;
    property AveragingMode: Integer read Get_AveragingMode write Set_AveragingMode;
    property BrightnessUnit: Integer read Get_BrightnessUnit write Set_BrightnessUnit;
    property CAType: WideString read Get_CAType;
    property CAVersion: WideString read Get_CAVersion;
    property Number: Integer read Get_Number;
    property PortID: WideString read Get_PortID;
    property ID: WideString read Get_ID write Set_ID;
    property CalStandard: Integer read Get_CalStandard write Set_CalStandard;
    property RemoteMode: Integer write Set_RemoteMode;
  end;

// *********************************************************************//
// DispIntf:  ICaDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {A930F0DB-F79A-467A-8479-F8369B063B8D}
// *********************************************************************//
  ICaDisp = dispinterface
    ['{A930F0DB-F79A-467A-8479-F8369B063B8D}']
    property Probes: IProbes readonly dispid 1;
    property OutputProbes: IOutputProbes readonly dispid 2;
    property Memory: IMemory readonly dispid 3;
    property DisplayProbe: WideString dispid 4;
    property SingleProbe: IProbe readonly dispid 5;
    property SyncMode: Single dispid 6;
    property DisplayMode: Integer dispid 7;
    property DisplayDigits: Integer dispid 8;
    property AveragingMode: Integer dispid 9;
    property BrightnessUnit: Integer dispid 10;
    property CAType: WideString readonly dispid 12;
    property CAVersion: WideString readonly dispid 13;
    property Number: Integer readonly dispid 14;
    property PortID: WideString readonly dispid 15;
    property ID: WideString dispid 16;
    procedure CalZero; dispid 17;
    procedure Measure(newVal: Integer); dispid 18;
    procedure SetAnalyzerCalMode; dispid 19;
    procedure Enter; dispid 20;
    procedure SetAnalogRange(Range1Val: Single; Range2Val: Single); dispid 21;
    procedure SetPWROnStatus; dispid 24;
    property CalStandard: Integer dispid 34;
    procedure ResetAnalyzerCalMode; dispid 35;
    procedure SetLvxyCalMode; dispid 36;
    procedure ResetLvxyCalMode; dispid 37;
    procedure SetAnalyzerCalData(ColorVal: Integer); dispid 38;
    procedure SetDisplayProbe(ProbeNumberVal: Integer); dispid 39;
    procedure SetLvxyCalData(ColorVal: Integer; XVal: Single; YVal: Single; LvVal: Single); dispid 40;
    property RemoteMode: Integer writeonly dispid 41;
    procedure SetFMAAnalogRange(RangeVal: Single); dispid 42;
    procedure GetAnalogRange(out Range1Val: Single; out Range2Val: Single); dispid 43;
    procedure GetFMAAnalogRange(out RangeVal: Single); dispid 44;
  end;

// *********************************************************************//
// Interface: IProbes
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {B455EFE8-1576-481C-BAC6-A1C506BF4E81}
// *********************************************************************//
  IProbes = interface(IDispatch)
    ['{B455EFE8-1576-481C-BAC6-A1C506BF4E81}']
    function Get_Item(IndexVal: OleVariant): IProbe; safecall;
    function Get__NewEnum: IUnknown; safecall;
    function Get_Count: Integer; safecall;
    function Get_ItemOfNumber(ProbeNumber: Integer): IProbe; safecall;
    procedure SetProbeID(ProbeNumberVal: Integer; const ProbeIDVal: WideString); safecall;
    property Item[IndexVal: OleVariant]: IProbe read Get_Item; default;
    property _NewEnum: IUnknown read Get__NewEnum;
    property Count: Integer read Get_Count;
    property ItemOfNumber[ProbeNumber: Integer]: IProbe read Get_ItemOfNumber;
  end;

// *********************************************************************//
// DispIntf:  IProbesDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {B455EFE8-1576-481C-BAC6-A1C506BF4E81}
// *********************************************************************//
  IProbesDisp = dispinterface
    ['{B455EFE8-1576-481C-BAC6-A1C506BF4E81}']
    property Item[IndexVal: OleVariant]: IProbe readonly dispid 0; default;
    property _NewEnum: IUnknown readonly dispid -4;
    property Count: Integer readonly dispid 1;
    property ItemOfNumber[ProbeNumber: Integer]: IProbe readonly dispid 6;
    procedure SetProbeID(ProbeNumberVal: Integer; const ProbeIDVal: WideString); dispid 7;
  end;

// *********************************************************************//
// Interface: IProbe
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {B2FDD51E-CBA7-45CE-AF0A-DD962E46B74F}
// *********************************************************************//
  IProbe = interface(IDispatch)
    ['{B2FDD51E-CBA7-45CE-AF0A-DD962E46B74F}']

⌨️ 快捷键说明

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