002
09.09.2003, 14:22 Uhr
~mimi_fifi
Gast
|
das sind die Headerdatein
DieTRUNTrendAna.h
C++: |
//---------------------------------------------------------------------------
#ifndef TRUNTrendAnaH #define TRUNTrendAnaH //--------------------------------------------------------------------------- #include <Classes.hpp> #include <Controls.hpp> #include <StdCtrls.hpp> #include <Forms.hpp>
//#include "TRUNForm.h" #include "RUNData.h" #include "PrgData.h" #include "MotorData.h" #include "MeasData.h" #include "RunParameter.h"
class TRUNForm; class RUN_data; class Prg_data; class Motor_data; class Meas_data; class Run_param;
//---------------------------------------------------------------------------
typedef struct { float ak1; float bk1; float U; double MessTime; }history;
//---------------------------------------------------------------------------
class TRUNTrendAna : public TForm { __published: // IDE-managed Components private: // User declarations AnsiString ProgDir; bool trend_mode; bool database; TDateTime TrendTime;
public: // User declarations //Run_data * runData; Run_data *theData, Prg_data *prgData; Motor_data *engData; Meas_data *measData; Run_param *run_paramData;
__fastcall TRUNTrendAna(TComponent* Owner); __fastcall TRUNTrendAna(TComponent* Owner, Prg_data *theprgData, Motor_data *theengData, Meas_data *themeasData);
}; //--------------------------------------------------------------------------- extern PACKAGE TRUNTrendAna *RUNTrendAna; //--------------------------------------------------------------------------- #endif _________________________________________________________________die TRUNForm.h
//---------------------------------------------------------------------------
#ifndef TRUNFormH #define TRUNFormH //--------------------------------------------------------------------------- #include <Classes.hpp> #include <Controls.hpp> #include <StdCtrls.hpp> #include <Forms.hpp> #include <Buttons.hpp> #include <ExtCtrls.hpp> #include <Graphics.hpp> #include <ComCtrls.hpp>
/* #include "PrgData.h" #include "RUNData.h" #include "MotorData.h" #include "MeasData.h" */
#include "TKurbelsternForm.h" #include "TZeitverlaufForm.h" #include "TRUNTrendAna.h" #include "dir.h" #include "MeasData.h"
#include "hardware/tk.h" #include "hardware/tkstruct.h" #include <SCommunicationMgr.h> #include <Dialogs.hpp> #include <Db.hpp> #include <DBTables.hpp> #include <Buttons.hpp> #include "Stati.h"
class TZeitverlaufForm;
class Run_data; class TFormKurbelstern; class TFormZeitverlauf; class TFormTrendAnalyse; class TRunOption; class TFormCDSOption; class TFormCalibrate; class TFormFortschritt; class TViewer; class TRepRun; class TRUNTrendAna; class TKurbelsternForm;
//--------------------------------------------------------------------------- class TRUNForm : public TForm { __published: // IDE-managed Components TPanel *Panel1; TLabel *LAdmin; TBitBtn *ToolButton1; TBitBtn *ToolButton2; TBitBtn *ToolButton3; TPanel *PanelHead; TLabel *LabelCicles; TLabel *rpm; TLabel *Cycles; TLabel *Label1; TImage *Logo; TLabel *LabelUniformity; TPanel *Panel2; TButton *ConfirmUniformityAlarm; TPanel *Panel6; TButton *Button1; TPanel *Panel7; TPanel *Panel4; TLabel *LabelLimit; TLabel *LabelCurrent; TLabel *Limit; TLabel *Current; TPanel *Panel3; TLabel *LabelMaxValue; TLabel *LabelMinValue; TTrackBar *TrackBarUniformity; TPanel *Panel5; TShape *Shape1; TPanel *PanelLampen; TPanel *PanelStatusLoadBalance; TStatusBar *StatusBarRun; TTimer *Preview_Timer; TTimer *MyTimer; TTimer *AdmTimer; void __fastcall TimerAction(TObject *Sender);
private: // User declarations AnsiString ProgDir; Prg_data *prgData ; history *run_history ;
short msg_pending; TKurbelsternForm *myKurbelstern; TZeitverlaufForm *myZeitverlaufForm; TRUNTrendAna *myFormTrendAnalyse; Run_data *test;
public: // User declarations __fastcall TRUNForm(TComponent* Owner); __fastcall TRUNForm(TComponent* Owner, Prg_data *theprgData) ; bool stat_win_active; Run_data *runData; Motor_data *engData; Meas_data *measData; Run_param *run_paramData; }; //--------------------------------------------------------------------------- extern PACKAGE TRUNForm *RUNForm; //--------------------------------------------------------------------------- #endif
|
edit mike: cpp Tags Dieser Post wurde am 09.09.2003 um 14:56 Uhr von mike editiert. |