iplotchannelx.h
00001 #if !defined(AFX_IPLOTCHANNELX_H__70F4152A_81D7_11D5_A84F_0050BA05DDC8__INCLUDED_)
00002 #define AFX_IPLOTCHANNELX_H__70F4152A_81D7_11D5_A84F_0050BA05DDC8__INCLUDED_
00003
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007
00008
00009
00010
00011
00013
00014
00015 class CiPlotChannelX : public COleDispatchDriver
00016 {
00017 public:
00018 CiPlotChannelX() {}
00019 CiPlotChannelX(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
00020 CiPlotChannelX(const CiPlotChannelX& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
00021
00022
00023 public:
00024
00025
00026 public:
00027 CString GetName();
00028 void SetName(LPCTSTR lpszNewValue);
00029 BOOL GetVisible();
00030 void SetVisible(BOOL bNewValue);
00031 CString GetTitleText();
00032 void SetTitleText(LPCTSTR lpszNewValue);
00033 unsigned long GetColor();
00034 void SetColor(unsigned long newValue);
00035 BOOL GetVisibleInLegend();
00036 void SetVisibleInLegend(BOOL bNewValue);
00037 long GetRingBufferSize();
00038 void SetRingBufferSize(long nNewValue);
00039 BOOL GetTraceVisible();
00040 void SetTraceVisible(BOOL bNewValue);
00041 long GetTraceLineStyle();
00042 void SetTraceLineStyle(long nNewValue);
00043 long GetTraceLineWidth();
00044 void SetTraceLineWidth(long nNewValue);
00045 BOOL GetMarkersVisible();
00046 void SetMarkersVisible(BOOL bNewValue);
00047 long GetMarkersSize();
00048 void SetMarkersSize(long nNewValue);
00049 long GetMarkersStyle();
00050 void SetMarkersStyle(long nNewValue);
00051 unsigned long GetMarkersPenColor();
00052 void SetMarkersPenColor(unsigned long newValue);
00053 BOOL GetMarkersPenUseChannelColor();
00054 void SetMarkersPenUseChannelColor(BOOL bNewValue);
00055 long GetMarkersPenStyle();
00056 void SetMarkersPenStyle(long nNewValue);
00057 long GetMarkersPenWidth();
00058 void SetMarkersPenWidth(long nNewValue);
00059 unsigned long GetMarkersBrushColor();
00060 void SetMarkersBrushColor(unsigned long newValue);
00061 BOOL GetMarkersBrushUseChannelColor();
00062 void SetMarkersBrushUseChannelColor(BOOL bNewValue);
00063 long GetMarkersBrushStyle();
00064 void SetMarkersBrushStyle(long nNewValue);
00065 CString GetXAxisName();
00066 void SetXAxisName(LPCTSTR lpszNewValue);
00067 CString GetYAxisName();
00068 void SetYAxisName(LPCTSTR lpszNewValue);
00069 BOOL GetXAxisTrackingEnabled();
00070 void SetXAxisTrackingEnabled(BOOL bNewValue);
00071 BOOL GetYAxisTrackingEnabled();
00072 void SetYAxisTrackingEnabled(BOOL bNewValue);
00073 long GetCount();
00074 void SetCount(long nNewValue);
00075 double GetDataX(long Index);
00076 void SetDataX(long Index, double newValue);
00077 double GetDataY(long Index);
00078 void SetDataY(long Index, double newValue);
00079 BOOL GetDataNull(long Index);
00080 void SetDataNull(long Index, BOOL bNewValue);
00081 long AddXY(double X, double Y);
00082 void Clear();
00083 void SavePropertiesToFile(LPCTSTR FileName);
00084 void LoadPropertiesFromFile(LPCTSTR FileName);
00085 void SaveDataToFile(LPCTSTR FileName);
00086 void LoadDataFromFile(LPCTSTR FileName, BOOL ClearPreviousData);
00087 void LogActivate(BOOL Append);
00088 void LogDeactivate();
00089 CString GetLogFileName();
00090 void SetLogFileName(LPCTSTR lpszNewValue);
00091 long GetLogBufferSize();
00092 void SetLogBufferSize(long nNewValue);
00093 BOOL GetLoggingActive();
00094 BOOL GetFillEnabled();
00095 void SetFillEnabled(BOOL bNewValue);
00096 double GetFillReference();
00097 void SetFillReference(double newValue);
00098 long GetFillStyle();
00099 void SetFillStyle(long nNewValue);
00100 unsigned long GetFillColor();
00101 void SetFillColor(unsigned long newValue);
00102 BOOL GetFillUseChannelColor();
00103 void SetFillUseChannelColor(BOOL bNewValue);
00104 double GetElapsedStartTime();
00105 void SetElapsedStartTime(double newValue);
00106 BOOL GetYInterpolated(double XValue, double* YValue);
00107 long AddXNull(double X);
00108 long AddYNow(double Y);
00109 long AddYElapsedTime(double Y);
00110 void ResetElapsedStartTime();
00111 long AddYElapsedSeconds(double Y);
00112 BOOL GetDigitalEnabled();
00113 void SetDigitalEnabled(BOOL bNewValue);
00114 long GetDigitalReferenceStyle();
00115 void SetDigitalReferenceStyle(long nNewValue);
00116 double GetDigitalReferenceLow();
00117 void SetDigitalReferenceLow(double newValue);
00118 double GetDigitalReferenceHigh();
00119 void SetDigitalReferenceHigh(double newValue);
00120 };
00121
00122
00123
00124
00125 #endif // AFX_IPLOTCHANNELX_H__70F4152A_81D7_11D5_A84F_0050BA05DDC8__INCLUDED_
Erzeugt am Tue Mar 11 14:25:03 2008 für SchunkFPS von
1.3.7