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

📄 iplotchannel.hpp

📁 Iocomp Ultra Pack v3.0.2 Sources.For.Delphi 数据显示编程插件,可用于工业控制
💻 HPP
📖 第 1 页 / 共 2 页
字号:
	void __fastcall SetHighLowOpenColor(const Graphics::TColor Value);
	void __fastcall SetHighLowOpenWidth(const double Value);
	void __fastcall SetHighLowOpenHeight(const double Value);
	void __fastcall SetHighLowCloseShow(const bool Value);
	void __fastcall SetHighLowCloseColor(const Graphics::TColor Value);
	void __fastcall SetHighLowCloseWidth(const double Value);
	void __fastcall SetHighLowCloseHeight(const double Value);
	void __fastcall SetHighLowShadowColor(const Graphics::TColor Value);
	void __fastcall SetHighLowBullishColor(const Graphics::TColor Value);
	void __fastcall SetHighLowBearishColor(const Graphics::TColor Value);
	double __fastcall GetBarReference(void);
	double __fastcall GetBarWidth(void);
	Graphics::TColor __fastcall GetBarPenColor(void);
	int __fastcall GetBarPenWidth(void);
	Graphics::TPenStyle __fastcall GetBarPenStyle(void);
	Graphics::TColor __fastcall GetBarBrushColor(void);
	Graphics::TBrushStyle __fastcall GetBarBrushStyle(void);
	double __fastcall GetDataHigh(const int Index);
	double __fastcall GetDataLow(const int Index);
	double __fastcall GetDataOpen(const int Index);
	double __fastcall GetDataClose(const int Index);
	bool __fastcall GetDataBarVisible(const int Index);
	double __fastcall GetDataBarReference(const int Index);
	double __fastcall GetDataBarWidth(const int Index);
	Graphics::TColor __fastcall GetDataBarPenColor(const int Index);
	int __fastcall GetDataBarPenWidth(const int Index);
	Graphics::TPenStyle __fastcall GetDataBarPenStyle(const int Index);
	Graphics::TColor __fastcall GetDataBarBrushColor(const int Index);
	Graphics::TBrushStyle __fastcall GetDataBarBrushStyle(const int Index);
	void __fastcall SetDataHigh(const int Index, const double Value);
	void __fastcall SetDataLow(const int Index, const double Value);
	void __fastcall SetDataOpen(const int Index, const double Value);
	void __fastcall SetDataClose(const int Index, const double Value);
	void __fastcall SetDataBarVisible(const int Index, const bool Value);
	void __fastcall SetDataBarReference(const int Index, const double Value);
	void __fastcall SetDataBarWidth(const int Index, const double Value);
	void __fastcall SetDataBarPenColor(const int Index, const Graphics::TColor Value);
	void __fastcall SetDataBarPenWidth(const int Index, const int Value);
	void __fastcall SetDataBarPenStyle(const int Index, const Graphics::TPenStyle Value);
	void __fastcall SetDataBarBrushColor(const int Index, const Graphics::TColor Value);
	void __fastcall SetDataBarBrushStyle(const int Index, const Graphics::TBrushStyle Value);
	virtual void __fastcall CalcStartXIndex(void);
	virtual void __fastcall CalcStopXIndex(void);
	int __fastcall CalcIndex(double TargetValue);
	int __fastcall CalcXIndexIncreasing(double TargetValue);
	int __fastcall CalcXIndexDecreasing(double TargetValue);
	virtual double __fastcall GetVisibleMaxX(void);
	virtual double __fastcall GetVisibleMinX(void);
	virtual double __fastcall GetVisibleMaxY(void);
	virtual double __fastcall GetVisibleMinY(void);
	virtual void __fastcall DataCursorUpate(System::TObject* Sender);
	AnsiString __fastcall GetDataCursorDisplayText(Iplotchannelcustom::TiPlotDataCursorStyle Style, double XValue, double YValue, Iplotchannelcustom::TiPlotDataPointStatus Status);
	virtual void __fastcall DrawSetup(const Graphics::TCanvas* Canvas);
	virtual void __fastcall Draw(const Graphics::TCanvas* Canvas, const Graphics::TColor BackGroundColor);
	void __fastcall DrawFill(Graphics::TCanvas* Canvas, bool XYAxisReverse);
	void __fastcall DrawBar(Graphics::TCanvas* Canvas, bool XYAxisReverse);
	void __fastcall DrawHighLow(Graphics::TCanvas* Canvas, bool XYAxisReverse);
	void __fastcall DrawHighLowCandleStick(Graphics::TCanvas* Canvas, bool XYAxisReverse);
	virtual void __fastcall DrawConnectPoints(Graphics::TCanvas* Canvas, bool XYAxisReverse);
	virtual void __fastcall DrawMarkers(Graphics::TCanvas* Canvas, bool XYAxisReverse);
	void __fastcall DrawDigital(Graphics::TCanvas* Canvas, bool XYAxisReverse);
	void __fastcall DrawFast(Graphics::TCanvas* Canvas, bool XYAxisReverse);
	void __fastcall DrawDigitalSequence(Graphics::TCanvas* Canvas, bool XYAxisReverse, Iclasses::TDigitalSequenceData* SequenceData);
	void __fastcall DrawCubicSpline(Graphics::TCanvas* Canvas, bool XYAxisReverse);
	void __fastcall DrawCubicSplineSet(Graphics::TCanvas* Canvas, bool XYAxisReverse, Imath::DoubleDynamicArray XArray, Imath::DoubleDynamicArray YArray, Imath::DoubleDynamicArray Y2Array, int Size);
	void __fastcall DrawPolynomial(Graphics::TCanvas* Canvas, bool XYAxisReverse);
	void __fastcall DrawRational(Graphics::TCanvas* Canvas, bool XYAxisReverse);
	void __fastcall DrawDifferential(Graphics::TCanvas* Canvas, bool XYAxisReverse);
	void __fastcall DrawPointSet(const Graphics::TCanvas* Canvas, const bool XYAxisReverse, const Iclasses::TiPlotMinMaxPoint* Point1, const Iclasses::TiPlotMinMaxPoint* Point2, const Iclasses::TiPlotMinMaxPoint* Point3);
	virtual bool __fastcall iMouseHitTest(const Iplotobjects::TiPlotMouseData &MouseData);
	virtual void __fastcall OPCNewData(System::TObject* Sender);
	void __fastcall AddPixelListValue(int XPixel, double YValue);
	
public:
	__fastcall virtual TiPlotChannel(System::TObject* AOwner, Classes::TNotifyEvent AOnChange, Classes::TNotifyEvent AOnInsert, Classes::TNotifyEvent AOnRemove, Classes::TNotifyEvent AOnRename);
	__fastcall virtual ~TiPlotChannel(void);
	bool __fastcall GetYInterpolated(double XValue, double &YValue);
	int __fastcall AddXNull(double X);
	int __fastcall AddXEmpty(double X);
	int __fastcall AddHighLow(double X, double High, double Low, double Open, double Close);
	int __fastcall AddYNow(double Y);
	int __fastcall AddYElapsedTime(double Y);
	int __fastcall AddYElapsedSeconds(double Y);
	void __fastcall AddYArray(double XInterval, const Variant &YData);
	void __fastcall ResetElapsedStartTime(void);
	__property double DataHigh[int Index] = {read=GetDataHigh, write=SetDataHigh};
	__property double DataLow[int Index] = {read=GetDataLow, write=SetDataLow};
	__property double DataOpen[int Index] = {read=GetDataOpen, write=SetDataOpen};
	__property double DataClose[int Index] = {read=GetDataClose, write=SetDataClose};
	__property bool DataBarVisible[int Index] = {read=GetDataBarVisible, write=SetDataBarVisible};
	__property double DataBarReference[int Index] = {read=GetDataBarReference, write=SetDataBarReference};
	__property double DataBarWidth[int Index] = {read=GetDataBarWidth, write=SetDataBarWidth};
	__property Graphics::TColor DataBarPenColor[int Index] = {read=GetDataBarPenColor, write=SetDataBarPenColor};
	__property int DataBarPenWidth[int Index] = {read=GetDataBarPenWidth, write=SetDataBarPenWidth};
	__property Graphics::TPenStyle DataBarPenStyle[int Index] = {read=GetDataBarPenStyle, write=SetDataBarPenStyle};
	__property Graphics::TColor DataBarBrushColor[int Index] = {read=GetDataBarBrushColor, write=SetDataBarBrushColor};
	__property Graphics::TBrushStyle DataBarBrushStyle[int Index] = {read=GetDataBarBrushStyle, write=SetDataBarBrushStyle};
	__property double ElapsedStartTime = {read=FElapsedStartTime, write=FElapsedStartTime};
	
__published:
	__property bool FastDrawEnabled = {read=FFastDrawEnabled, write=SetFastDrawEnabled, default=1};
	__property TiPlotInterpolationStyle InterpolationStyle = {read=FInterpolationStyle, write=SetInterpolationStyle, default=0};
	__property bool FillEnabled = {read=FFillEnabled, write=SetFillEnabled, default=0};
	__property double FillReference = {read=FFillReference, write=SetFillReference};
	__property Graphics::TBrushStyle FillStyle = {read=FFillStyle, write=SetFillStyle, default=0};
	__property Graphics::TColor FillColor = {read=FFillColor, write=SetFillColor, default=0};
	__property bool FillUseChannelColor = {read=FFillUseChannelColor, write=SetFillUseChannelColor, default=1};
	__property bool DigitalEnabled = {read=FDigitalEnabled, write=SetDigitalEnabled, default=0};
	__property TiPlotDigitalReferenceStyle DigitalReferenceStyle = {read=FDigitalReferenceStyle, write=SetDigitalReferenceStyle, default=0};
	__property double DigitalReferenceLow = {read=FDigitalReferenceLow, write=SetDigitalReferenceLow};
	__property double DigitalReferenceHigh = {read=FDigitalReferenceHigh, write=SetDigitalReferenceHigh};
	__property TiPlotHighLowStyle HighLowStyle = {read=FHighLowStyle, write=SetHighLowStyle, default=0};
	__property bool HighLowEnabled = {read=FHighLowEnabled, write=SetHighLowEnabled, default=0};
	__property Graphics::TColor HighLowBarColor = {read=FHighLowBarColor, write=SetHighLowBarColor, default=16711680};
	__property double HighLowBarWidth = {read=FHighLowBarWidth, write=SetHighLowBarWidth};
	__property bool HighLowOpenShow = {read=FHighLowOpenShow, write=SetHighLowOpenShow, default=1};
	__property Graphics::TColor HighLowOpenColor = {read=FHighLowOpenColor, write=SetHighLowOpenColor, default=32768};
	__property double HighLowOpenWidth = {read=FHighLowOpenWidth, write=SetHighLowOpenWidth};
	__property double HighLowOpenHeight = {read=FHighLowOpenHeight, write=SetHighLowOpenHeight};
	__property bool HighLowCloseShow = {read=FHighLowCloseShow, write=SetHighLowCloseShow, default=1};
	__property Graphics::TColor HighLowCloseColor = {read=FHighLowCloseColor, write=SetHighLowCloseColor, default=255};
	__property double HighLowCloseWidth = {read=FHighLowCloseWidth, write=SetHighLowCloseWidth};
	__property double HighLowCloseHeight = {read=FHighLowCloseHeight, write=SetHighLowCloseHeight};
	__property Graphics::TColor HighLowShadowColor = {read=FHighLowShadowColor, write=SetHighLowShadowColor, default=8421504};
	__property Graphics::TColor HighLowBullishColor = {read=FHighLowBullishColor, write=SetHighLowBullishColor, default=16777215};
	__property Graphics::TColor HighLowBearishColor = {read=FHighLowBearishColor, write=SetHighLowBearishColor, default=8421504};
	__property bool BarEnabled = {read=FBarEnabled, write=SetBarEnabled, default=0};
	__property bool BarPenUseChannelColor = {read=FBarPenUseChannelColor, write=SetBarPenUseChannelColor, default=1};
	__property bool BarBrushUseChannelColor = {read=FBarBrushUseChannelColor, write=SetBarBrushUseChannelColor, default=1};
	__property double BarReference = {read=GetBarReference, write=SetBarReference};
	__property double BarWidth = {read=GetBarWidth, write=SetBarWidth};
	__property Graphics::TColor BarPenColor = {read=GetBarPenColor, write=SetBarPenColor, default=255};
	__property int BarPenWidth = {read=GetBarPenWidth, write=SetBarPenWidth, default=0};
	__property Graphics::TPenStyle BarPenStyle = {read=GetBarPenStyle, write=SetBarPenStyle, default=0};
	__property Graphics::TColor BarBrushColor = {read=GetBarBrushColor, write=SetBarBrushColor, default=255};
	__property Graphics::TBrushStyle BarBrushStyle = {read=GetBarBrushStyle, write=SetBarBrushStyle, default=0};
	__property TiOPCXValueSourceStyle OPCXValueSource = {read=FOPCXValueSource, write=FOPCXValueSource, default=0};
};


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

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

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

⌨️ 快捷键说明

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