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

📄 igaugecomponent.hpp

📁 Iocomp Ultra Pack v3.0.2 Sources.For.Delphi 数据显示编程插件,可用于工业控制
💻 HPP
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'iGaugeComponent.pas' rev: 6.00

#ifndef iGaugeComponentHPP
#define iGaugeComponentHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <iComponent.hpp>	// Pascal unit
#include <iVCLComponent.hpp>	// Pascal unit
#include <iOPCItem.hpp>	// Pascal unit
#include <iPositionComponent.hpp>	// Pascal unit
#include <iGaugePointer.hpp>	// Pascal unit
#include <iScaleComponent.hpp>	// Pascal unit
#include <iGPFunctions.hpp>	// Pascal unit
#include <iTypes.hpp>	// Pascal unit
#include <ExtCtrls.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <ComCtrls.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Variants.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Types.hpp>	// Pascal unit
#include <Clipbrd.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <TypInfo.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Igaugecomponent
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TiGaugeComponent;
class PASCALIMPLEMENTATION TiGaugeComponent : public Iscalecomponent::TiScaleComponent 
{
	typedef Iscalecomponent::TiScaleComponent inherited;
	
private:
	Igaugepointer::TiGaugePointerManager* FPointerManager;
	double FSectionEnd1;
	double FSectionEnd2;
	double FSectionEnd3;
	double FSectionEnd4;
	int FSectionCount;
	Graphics::TColor FSectionColor1;
	Graphics::TColor FSectionColor2;
	Graphics::TColor FSectionColor3;
	Graphics::TColor FSectionColor4;
	Graphics::TColor FSectionColor5;
	Itypes::TIndexObjectEvent FOnClickPointer;
	
protected:
	void __fastcall SetSectionColor1(const Graphics::TColor Value);
	void __fastcall SetSectionColor2(const Graphics::TColor Value);
	void __fastcall SetSectionColor3(const Graphics::TColor Value);
	void __fastcall SetSectionColor4(const Graphics::TColor Value);
	void __fastcall SetSectionColor5(const Graphics::TColor Value);
	void __fastcall SetSectionCount(const int Value);
	void __fastcall SetSectionEnd1(const double Value);
	void __fastcall SetSectionEnd2(const double Value);
	void __fastcall SetSectionEnd3(const double Value);
	void __fastcall SetSectionEnd4(const double Value);
	virtual double __fastcall GetPosition(void);
	virtual void __fastcall SetPosition(const double Value);
	virtual void __fastcall DoPointerBounds(void);
	Igaugepointer::TiGaugePointer* __fastcall GetPointers(int Index);
	int __fastcall GetPointerCount(void);
	virtual void __fastcall DefineProperties(Classes::TFiler* Filer);
	void __fastcall WriteSectionEnd1(Classes::TWriter* Writer);
	void __fastcall ReadSectionEnd1(Classes::TReader* Reader);
	void __fastcall WriteSectionEnd2(Classes::TWriter* Writer);
	void __fastcall ReadSectionEnd2(Classes::TReader* Reader);
	__property Graphics::TColor SectionColor1 = {read=FSectionColor1, write=SetSectionColor1, default=32768};
	__property Graphics::TColor SectionColor2 = {read=FSectionColor2, write=SetSectionColor2, default=65535};
	__property Graphics::TColor SectionColor3 = {read=FSectionColor3, write=SetSectionColor3, default=255};
	__property Graphics::TColor SectionColor4 = {read=FSectionColor4, write=SetSectionColor4, default=65535};
	__property Graphics::TColor SectionColor5 = {read=FSectionColor5, write=SetSectionColor5, default=65535};
	__property int SectionCount = {read=FSectionCount, write=SetSectionCount, default=0};
	__property double SectionEnd1 = {read=FSectionEnd1, write=SetSectionEnd1};
	__property double SectionEnd2 = {read=FSectionEnd2, write=SetSectionEnd2};
	__property double SectionEnd3 = {read=FSectionEnd3, write=SetSectionEnd3};
	__property double SectionEnd4 = {read=FSectionEnd4, write=SetSectionEnd4};
	void __fastcall InsertEvent(System::TObject* Sender);
	void __fastcall RemoveEvent(System::TObject* Sender);
	void __fastcall ChangeEvent(System::TObject* Sender);
	__property Igaugepointer::TiGaugePointerManager* PointerManager = {read=FPointerManager};
	virtual void __fastcall InitializePointer(Igaugepointer::TiGaugePointer* iGaugePointer);
	virtual void __fastcall UpdateOPCSpecialList(void);
	virtual bool __fastcall OPCNewDataSpecial(Iopcitem::TiOPCItem* iOPCItem);
	
public:
	__fastcall virtual TiGaugeComponent(Classes::TComponent* AOwner);
	__fastcall virtual ~TiGaugeComponent(void);
	int __fastcall AddPointer(void);
	void __fastcall RemoveAllPointers(void);
	void __fastcall DeletePointer(int Index);
	__property int PointerCount = {read=GetPointerCount, nodefault};
	__property Igaugepointer::TiGaugePointer* Pointers[int Index] = {read=GetPointers};
	bool __fastcall GetPointersVisible(int Index);
	double __fastcall GetPointersPosition(int Index);
	int __fastcall GetPointersSize(int Index);
	Graphics::TColor __fastcall GetPointersColor(int Index);
	void __fastcall SetPointersVisible(int Index, bool Value);
	void __fastcall SetPointersPosition(int Index, double Value);
	void __fastcall SetPointersSize(int Index, int Value);
	void __fastcall SetPointersColor(int Index, Graphics::TColor Value);
	
__published:
	__property Itypes::TIndexObjectEvent OnClickPointer = {read=FOnClickPointer, write=FOnClickPointer};
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TiGaugeComponent(HWND ParentWindow) : Iscalecomponent::TiScaleComponent(ParentWindow) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Igaugecomponent */
using namespace Igaugecomponent;
#pragma option pop	// -w-
#pragma option pop	// -Vx

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// iGaugeComponent

⌨️ 快捷键说明

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