home *** CD-ROM | disk | FTP | other *** search
- #if !defined(AFX_RTBARX_H__6182BB36_8033_11D1_A956_00C0F6A06F60__INCLUDED_)
- #define AFX_RTBARX_H__6182BB36_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.
-
- /////////////////////////////////////////////////////////////////////////////
- // CRTBARX wrapper class
-
- class CRTBARX : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CRTBARX)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0xcda5f5e7, 0xde50, 0x11d0, { 0xa9, 0x56, 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 GetWindowBackgroundColor();
- void SetWindowBackgroundColor(long);
- long GetWindowBorderColor();
- void SetWindowBorderColor(long);
- long GetPlotBackgroundColor();
- void SetPlotBackgroundColor(long);
- long GetWindowBorderStyle();
- void SetWindowBorderStyle(long);
- double GetTopPlotArea();
- void SetTopPlotArea(double);
- double GetRightPlotArea();
- void SetRightPlotArea(double);
- double GetLeftPlotArea();
- void SetLeftPlotArea(double);
- long GetWindowResizeMode();
- void SetWindowResizeMode(long);
- long GetWindowBorderThickness();
- void SetWindowBorderThickness(long);
- double GetBottomPlotArea();
- void SetBottomPlotArea(double);
- long GetBarType();
- void SetBarType(long);
- long GetBarLabelsSize();
- void SetBarLabelsSize(long);
- long GetBarLabelsFontStyle();
- void SetBarLabelsFontStyle(long);
- long GetBarDynTextPrecision();
- void SetBarDynTextPrecision(long);
- long GetBarLabelsPrecision();
- void SetBarLabelsPrecision(long);
- long GetBarNumChannels();
- void SetBarNumChannels(long);
- double GetBarScaleMax();
- void SetBarScaleMax(double);
- double GetBarScaleMin();
- void SetBarScaleMin(double);
- BOOL GetBarDynTextEnable();
- void SetBarDynTextEnable(BOOL);
- double GetBarScaleCenter();
- void SetBarScaleCenter(double);
- CString GetBarUnitsString();
- void SetBarUnitsString(LPCTSTR);
- CString GetBarLabelsFont();
- void SetBarLabelsFont(LPCTSTR);
- long GetBarLowAlarmColor();
- void SetBarLowAlarmColor(long);
- long GetBarNormalAlarmColor();
- void SetBarNormalAlarmColor(long);
- long GetBarHighAlarmColor();
- void SetBarHighAlarmColor(long);
- CString GetBarHighAlarmString();
- void SetBarHighAlarmString(LPCTSTR);
- double GetBarHighAlarmValue();
- void SetBarHighAlarmValue(double);
- CString GetBarLowAlarmString();
- void SetBarLowAlarmString(LPCTSTR);
- double GetBarLowAlarmValue();
- void SetBarLowAlarmValue(double);
- long GetBarLabelsColor();
- void SetBarLabelsColor(long);
- BOOL GetBarAlarmMessageEnable();
- void SetBarAlarmMessageEnable(BOOL);
- BOOL GetBarAlarmMarksEnable();
- void SetBarAlarmMarksEnable(BOOL);
- CString GetBarNormalAlarmString();
- void SetBarNormalAlarmString(LPCTSTR);
- double GetBarSetpointValue();
- void SetBarSetpointValue(double);
- BOOL GetBarAutoPosition();
- void SetBarAutoPosition(BOOL);
- double GetBarInitialValue();
- void SetBarInitialValue(double);
- short GetBorderStyle();
- void SetBorderStyle(short);
- BOOL GetEnableInternalTimer();
- void SetEnableInternalTimer(BOOL);
- double GetTimerFrequency();
- void SetTimerFrequency(double);
- long GetBarNumTicks();
- void SetBarNumTicks(long);
- double GetBarTickSpace();
- void SetBarTickSpace(double);
- BOOL GetSDataSimulationMode();
- void SetSDataSimulationMode(BOOL);
-
- // Operations
- public:
- CString GetTitleString(long title);
- void SetTitleString(long title, LPCTSTR lpszNewValue);
- CString GetTitleFont(long title);
- void SetTitleFont(long title, LPCTSTR lpszNewValue);
- long GetTitleColor(long title);
- void SetTitleColor(long title, long nNewValue);
- long GetTitleFontStyle(long title);
- void SetTitleFontStyle(long title, long nNewValue);
- long GetTitleFontSize(long title);
- void SetTitleFontSize(long title, long nNewValue);
- long GetBarChannelColor(long channel);
- void SetBarChannelColor(long channel, long nNewValue);
- void UpdateDataValue(long nIndex, double rDataValue, BOOL bUpdate);
- CString GetBarChannelTagName(long nChannel);
- void SetBarChannelTagName(long nChannel, LPCTSTR lpszNewValue);
- BOOL SerializeLoadFile(LPCTSTR sFilename);
- BOOL SerializeSaveFile(LPCTSTR sFilename);
- void UpdateGraph();
- void UpdateDynData(double* rNewValues);
- void UpdateDynGraph();
- BOOL SavePageMeta(long nmftype, LPCTSTR sFilename);
- BOOL CopyToClipboard();
- void AboutBox();
- };
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_RTBARX_H__6182BB36_8033_11D1_A956_00C0F6A06F60__INCLUDED_)
-