home *** CD-ROM | disk | FTP | other *** search
- #if !defined(AFX_SCROLLX_H__6182BB39_8033_11D1_A956_00C0F6A06F60__INCLUDED_)
- #define AFX_SCROLLX_H__6182BB39_8033_11D1_A956_00C0F6A06F60__INCLUDED_
-
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // 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.
-
- /////////////////////////////////////////////////////////////////////////////
- // CScrollX wrapper class
-
- class CScrollX : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CScrollX)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0x7a0c53e6, 0xeb00, 0x11d0, { 0x80, 0x83, 0x0, 0xc0, 0xf6, 0xa0, 0x6f, 0x60 } };
- return clsid;
- }
- virtual BOOL Create(LPCTSTR lpszClassName,
- LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect,
- CWnd* pParentWnd, UINT nID,
- CCreateContext* pContext = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
-
- BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect, CWnd* pParentWnd, UINT nID,
- CFile* pPersist = NULL, BOOL bStorage = FALSE,
- BSTR bstrLicKey = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
- pPersist, bStorage, bstrLicKey); }
-
- // Attributes
- public:
- long GetPlotBackgroundColor();
- void SetPlotBackgroundColor(long);
- double GetLeftPlotArea();
- void SetLeftPlotArea(double);
- double GetRightPlotArea();
- void SetRightPlotArea(double);
- long GetMajorTickSize();
- void SetMajorTickSize(long);
- long GetMinorTickSize();
- void SetMinorTickSize(long);
- double GetBottomPlotArea();
- void SetBottomPlotArea(double);
- double GetTopPlotArea();
- void SetTopPlotArea(double);
- long GetCurrentPlot();
- void SetCurrentPlot(long);
- long GetCurrentAxis();
- void SetCurrentAxis(long);
- long GetWindowBorderColor();
- void SetWindowBorderColor(long);
- long GetWindowBackgroundColor();
- void SetWindowBackgroundColor(long);
- long GetWindowBorderStyle();
- void SetWindowBorderStyle(long);
- long GetWindowBorderThickness();
- void SetWindowBorderThickness(long);
- long GetWindowResizeMode();
- void SetWindowResizeMode(long);
- long GetPrintStyle();
- void SetPrintStyle(long);
- BOOL GetPrintBorder();
- void SetPrintBorder(BOOL);
- BOOL GetPrintMaintainAspectRatio();
- void SetPrintMaintainAspectRatio(BOOL);
- BOOL GetPrintPlotBackground();
- void SetPrintPlotBackground(BOOL);
- BOOL GetPrintGraphBackground();
- void SetPrintGraphBackground(BOOL);
- double GetPrintLeft();
- void SetPrintLeft(double);
- double GetPrintBottom();
- void SetPrintBottom(double);
- double GetPrintRight();
- void SetPrintRight(double);
- double GetPrintTop();
- void SetPrintTop(double);
- long GetSLegendType();
- void SetSLegendType(long);
- double GetSLegendTop();
- void SetSLegendTop(double);
- double GetSLegendBottom();
- void SetSLegendBottom(double);
- double GetSLegendLeft();
- void SetSLegendLeft(double);
- double GetSLegendRight();
- void SetSLegendRight(double);
- long GetSLegendBackgroundColor();
- void SetSLegendBackgroundColor(long);
- long GetSLegendBorderColor();
- void SetSLegendBorderColor(long);
- long GetSLegendBorderThickness();
- void SetSLegendBorderThickness(long);
- CString GetSLegendFont();
- void SetSLegendFont(LPCTSTR);
- long GetSLegendFontStyle();
- void SetSLegendFontStyle(long);
- long GetSLegendFontColor();
- void SetSLegendFontColor(long);
- BOOL GetSLegendEnable();
- void SetSLegendEnable(BOOL);
- CString GetSLegendStrings();
- void SetSLegendStrings(LPCTSTR);
- long GetSLegendFontSize();
- void SetSLegendFontSize(long);
- BOOL GetEnableInternalTimer();
- void SetEnableInternalTimer(BOOL);
- double GetTimerFrequency();
- void SetTimerFrequency(double);
- long GetSLegendOrientation();
- void SetSLegendOrientation(long);
-
- // Operations
- public:
- double GetAxisMin(long axis);
- void SetAxisMin(long axis, double newValue);
- double GetAxisMax(short axis);
- void SetAxisMax(short axis, double newValue);
- BOOL GetScaleEnable(short axis);
- void SetScaleEnable(short axis, BOOL bNewValue);
- BOOL GetAxisEnable(short axis);
- void SetAxisEnable(short axis, BOOL bNewValue);
- BOOL GetAxisInterceptTrack(short axis);
- void SetAxisInterceptTrack(short axis, BOOL bNewValue);
- BOOL GetAxisLabelsEnable(short axis);
- void SetAxisLabelsEnable(short axis, BOOL bNewValue);
- long GetAxisScaleMode(short axis);
- void SetAxisScaleMode(short axis, long nNewValue);
- double GetAxisIntercept(short axis);
- void SetAxisIntercept(short axis, double newValue);
- long GetAxisColor(short axis);
- void SetAxisColor(short axis, long nNewValue);
- long GetAxisLineWidth(short axis);
- void SetAxisLineWidth(short axis, long nNewValue);
- long GetAxisMinorTicks(short axis);
- void SetAxisMinorTicks(short axis, long nNewValue);
- double GetAxisMajorTickInterval(short axis);
- void SetAxisMajorTickInterval(short axis, double newValue);
- long GetAxisTickStyle(short axis);
- void SetAxisTickStyle(short axis, long nNewValue);
- long GetAxisLabelPos(short axis);
- void SetAxisLabelPos(short axis, long nNewValue);
- long GetAxisLabelDecs(short axis);
- void SetAxisLabelDecs(short axis, long nNewValue);
- long GetAxisLabelColor(short axis);
- void SetAxisLabelColor(short axis, long nNewValue);
- CString GetAxisLabelFont(short axis);
- void SetAxisLabelFont(short axis, LPCTSTR lpszNewValue);
- long GetAxisLabelFontStyle(short axis);
- void SetAxisLabelFontStyle(short axis, long nNewValue);
- long GetAxisLabelFontSize(short axis);
- void SetAxisLabelFontSize(short axis, long nNewValue);
- long GetAxisNumericStyle(short axis);
- void SetAxisNumericStyle(short axis, long nNewValue);
- CString GetAxisTitleString(short axis);
- void SetAxisTitleString(short axis, LPCTSTR lpszNewValue);
- CString GetAxisTitleFont(short axis);
- void SetAxisTitleFont(short axis, LPCTSTR lpszNewValue);
- CString GetAxisLabelStrings(short axis);
- void SetAxisLabelStrings(short axis, LPCTSTR lpszNewValue);
- long GetNumAxisLabelStrings(short axis);
- void SetNumAxisLabelStrings(short axis, long nNewValue);
- BOOL GetAxisLabelStringsEnable(short axis);
- void SetAxisLabelStringsEnable(short axis, BOOL bNewValue);
- long GetAxisLabelStringsStart(short axis);
- void SetAxisLabelStringsStart(short axis, long nNewValue);
- long GetAxisTitleColor(short axis);
- void SetAxisTitleColor(short axis, long nNewValue);
- long GetAxisTitleFontStyle(short axis);
- void SetAxisTitleFontStyle(short axis, long nNewValue);
- long GetAxisTitleFontSize(short axis);
- void SetAxisTitleFontSize(short axis, long nNewValue);
- long GetAxisTitlePos(short axis);
- void SetAxisTitlePos(short axis, long nNewValue);
- BOOL GetAxisGridEnable(short axis);
- void SetAxisGridEnable(short axis, BOOL bNewValue);
- long GetAxisGridColor(short axis);
- void SetAxisGridColor(short axis, long nNewValue);
- long GetAxisGridLineWidth(short axis);
- void SetAxisGridLineWidth(short axis, long nNewValue);
- long GetAxisGridLineStyle(short axis);
- void SetAxisGridLineStyle(short axis, long nNewValue);
- long GetAxisGridType(short axis);
- void SetAxisGridType(short axis, long nNewValue);
- CString GetTitleString(short title);
- void SetTitleString(short title, LPCTSTR lpszNewValue);
- CString GetTitleFont(short title);
- void SetTitleFont(short title, LPCTSTR lpszNewValue);
- long GetTitleColor(short title);
- void SetTitleColor(short title, long nNewValue);
- long GetTitleFontStyle(short axis);
- void SetTitleFontStyle(short axis, long nNewValue);
- long GetTitleFontSize(short title);
- void SetTitleFontSize(short title, long nNewValue);
- long GetTitlePos(short title);
- void SetTitlePos(short title, long nNewValue);
- long GetSPlotType(short dataset);
- void SetSPlotType(short dataset, long nNewValue);
- long GetSPlotRefAxes(short dataset);
- void SetSPlotRefAxes(short dataset, long nNewValue);
- long GetSDataNumPlotPoints(short dataset);
- void SetSDataNumPlotPoints(short dataset, long nNewValue);
- CString GetSDataName(short dataset);
- void SetSDataName(short dataset, LPCTSTR lpszNewValue);
- BOOL GetSDataEnable(short dataset);
- void SetSDataEnable(short dataset, BOOL bNewValue);
- long GetSDataType(short dataset);
- void SetSDataType(short dataset, long nNewValue);
- long GetSDataNumGroups(short dataset);
- void SetSDataNumGroups(short dataset, long nNewValue);
- BOOL GetAxisAutoAxis(short axis);
- void SetAxisAutoAxis(short axis, BOOL bNewValue);
- void UpdateGraph();
- double GetXDataValues(short dataset, long nIndex);
- void SetXDataValues(short dataset, long nIndex, double newValue);
- double GetYDataValues(short dataset, long nIndex, long nGroup);
- void SetYDataValues(short dataset, long nIndex, long nGroup, double newValue);
- BOOL SavePageMeta(long mftype, LPCTSTR filename);
- long GetSDataXData(long index);
- void SetSDataXData(long index, long nNewValue);
- long GetGetSDataYData(long index);
- void SetGetSDataYData(long index, long nNewValue);
- void FFTDSPWindow(double* pRealData, double* pImData, long nNumDataPoints, long nWindowType);
- void FFTComplexFFT(double* pRealData, double* pImData, long nNumDataPoints, BOOL bInverse);
- void FFTRealFFT(double* pRealData, double* pImData, long nNumDataPoints, BOOL bInverse);
- void FFTPowerSpectrum(double* pRealData, double* pImData, long nNumDataPoints, double rInterval);
- double FFTMagnitude(double* pRealData, double* pImData, long nNumDataPoints, long index);
- double FFTPhase(double* pRealData, double* pImData, long nNumDataPoints, long index);
- double FFTFrequency(long nNumDataPoints, double rSampleFreq, long index);
- long GetScrollStepMode(long dataset);
- void SetScrollStepMode(long dataset, long nNewValue);
- long GetScrollSweepLineColor(long dataset);
- void SetScrollSweepLineColor(long dataset, long nNewValue);
- double GetScrollRelReset(long dataset);
- void SetScrollRelReset(long dataset, double newValue);
- double GetScrollRelSize(long dataset);
- void SetScrollRelSize(long dataset, double newValue);
- double GetScrollSampleInterval(long dataset);
- void SetScrollSampleInterval(long dataset, double newValue);
- long GetScrollXYNumPoints(long dataset);
- void SetScrollXYNumPoints(long dataset, long nNewValue);
- BOOL GetScrollDirection(long dataset);
- void SetScrollDirection(long dataset, BOOL bNewValue);
- double GetScrollBarWidth(long dataset);
- void SetScrollBarWidth(long dataset, double newValue);
- long GetScrollLineColor(long dataset, long channel);
- void SetScrollLineColor(long dataset, long channel, long nNewValue);
- long GetScrollLineStyle(long dataset, long channel);
- void SetScrollLineStyle(long dataset, long channel, long nNewValue);
- long GetScrollLineThickness(long dataset, long channel);
- void SetScrollLineThickness(long dataset, long channel, long nNewValue);
- CString GetScrollTagName(long dataset, long channel);
- void SetScrollTagName(long dataset, long channel, LPCTSTR lpszNewValue);
- long GetScrollNormalAlarmColor(long dataset);
- void SetScrollNormalAlarmColor(long dataset, long nNewValue);
- long GetScrollLowAlarmColor(long dataset);
- void SetScrollLowAlarmColor(long dataset, long nNewValue);
- long GetScrollHighAlarmColor(long dataset);
- void SetScrollHighAlarmColor(long dataset, long nNewValue);
- long GetScrollLowLowAlarmColor(long dataset);
- void SetScrollLowLowAlarmColor(long dataset, long nNewValue);
- long GetScrollHighHighAlarmColor(long dataset);
- void SetScrollHighHighAlarmColor(long dataset, long nNewValue);
- BOOL GetScrollHighHighAlarmEnable(long dataset);
- void SetScrollHighHighAlarmEnable(long dataset, BOOL bNewValue);
- BOOL GetScrollHighAlarmEnable(long dataset);
- void SetScrollHighAlarmEnable(long dataset, BOOL bNewValue);
- BOOL GetScrollLowAlarmEnable(long dataset);
- void SetScrollLowAlarmEnable(long dataset, BOOL bNewValue);
- BOOL GetScrollLowLowAlarmEnable(long dataset);
- void SetScrollLowLowAlarmEnable(long dataset, BOOL bNewValue);
- BOOL GetScrollAlarmMarksEnable(long dataset);
- void SetScrollAlarmMarksEnable(long dataset, BOOL bNewValue);
- BOOL GetScrollSetpointEnable(long dataset);
- void SetScrollSetpointEnable(long dataset, BOOL bNewValue);
- double GetScrollHighHighAlarmValue(long dataset);
- void SetScrollHighHighAlarmValue(long dataset, double newValue);
- double GetScrollHighAlarmValue(long dataset);
- void SetScrollHighAlarmValue(long dataset, double newValue);
- double GetScrollLowLowAlarmValue(long dataset);
- void SetScrollLowLowAlarmValue(long dataset, double newValue);
- double GetScrollLowAlarmValue(short dataset);
- void SetScrollLowAlarmValue(short dataset, double newValue);
- double GetScrollSetpointValue(long dataset);
- void SetScrollSetpointValue(long dataset, double newValue);
- long GetAxisLabelTimeBase(long nAxis);
- void SetAxisLabelTimeBase(long nAxis, long nNewValue);
- BOOL GetAxisLabelAutoUpdate(long nAxis);
- void SetAxisLabelAutoUpdate(long nAxis, BOOL bNewValue);
- long GetAxisLabelStartHour(long nAxis);
- void SetAxisLabelStartHour(long nAxis, long nNewValue);
- long GetAxisLabelStartMin(long nAxis);
- void SetAxisLabelStartMin(long nAxis, long nNewValue);
- long GetAxisLabelStartSec(long nAxis);
- void SetAxisLabelStartSec(long nAxis, long nNewValue);
- BOOL SerializeLoadFile(LPCTSTR filename);
- BOOL SerializeSaveFile(LPCTSTR filename);
- long GetScrollAlarmUpdateMode(long dataset);
- void SetScrollAlarmUpdateMode(long dataset, long nNewValue);
- double GetScrollAlarmUpdatePeriod(long dataset);
- void SetScrollAlarmUpdatePeriod(long dataset, double newValue);
- BOOL GetScrollAlarmHorizontal(long dataset);
- void SetScrollAlarmHorizontal(long dataset, BOOL bNewValue);
- double GetAxisGridUpdatePeriod(long nAxis);
- void SetAxisGridUpdatePeriod(long nAxis, double newValue);
- long GetAxisGridUpdateMode(long nAxis);
- void SetAxisGridUpdateMode(long nAxis, long nNewValue);
- long GetScrollHistoryBufferSize(long nDataset);
- void SetScrollHistoryBufferSize(long nDataset, long nNewValue);
- void UpdateDynData(long nDataset, double* rNewValues);
- void DefineDynDataset(long nDataset, LPCTSTR sName, long nNumTraces, long nHistBufferSize);
- void PrintGraph();
- void PrinterSetup();
- BOOL GetSDataSimulationMode(long nDataset);
- void SetSDataSimulationMode(long nDataset, BOOL bNewValue);
- void ResetScroll(long nDataset);
- BOOL CopyToClipboard();
- void AboutBox();
- };
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_SCROLLX_H__6182BB39_8033_11D1_A956_00C0F6A06F60__INCLUDED_)
-