// U_Fejlbehandling.h // 21. maj 2001 // Datamatiker, Programmering af store systemer // Mikkel Munksgaard og Niels Grove-Rasmussen //--------------------------------------------------------------------------- #ifndef U_FejlbehandlingH #define U_FejlbehandlingH //--------------------------------------------------------------------------- // added by Munksgaard & Grove #include "U_TroubleticketNy.h" #include "U_BeskrivelseNy.h" #include "U_Reperation.h" #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- class TForm_Fejlbehandling : public TForm { __published: // IDE-managed Components TPageControl *PgCt_Oplysninger; TTabSheet *TabS_TroubleTickets; TLabel *Labl_Indmelder; TLabel *Labl_Fejlmeldinger; TButton *Butn_Opdater; TButton *Butn_Luk; TDataSource *Sour_Indmelder; TDataSource *Sour_TroubleTicket; TDataSource *Sour_Fejlmelding; TTable *Tabl_TroubleTicket; TTable *Tabl_Fejlmelding; TTable *Tabl_Indmelder; TDBGrid *DBGr_FejlMelding; TDBLookupComboBox *CBox_Indmelder; TTable *Tabl_Status; TDataSource *Sour_Status; TDBLookupComboBox *CBox_Status; TLabel *Labl_Status; TButton *Butn_NyBeskrivelse; TTabSheet *TabSheet1; TDBGrid *DBGr_TroubleTicket; TButton *Butn_TroubleTicketNy; TLabel *Labl_Troubletickets; TPageControl *PageControl1; TTabSheet *TabSheet2; TTabSheet *TabSheet3; TTable *Tabl_Beskrivelseslog; TDataSource *Sour_Beskrivelseslog; TDBGrid *Grid_Beskrivelselog; TTable *Tabl_Statuslog; TDataSource *Sour_Statuslog; TDBGrid *Grid_Statuslog; TTable *Tabl_Tilstandlog; TDataSource *Sour_Tilstandlog; TDBGrid *Grid_Tilstandlog; TTable *Tabl_Tilstand; TDataSource *Sour_Tilstand; TDBLookupComboBox *CBox_Tilstand; TLabel *Labl_Tilstand; TTable *Tabl_ReperationFejl; TDataSource *Sour_ReperationFejl; TDBGrid *Grid_ReperationFejl; TButton *Butn_RepFejl; TTable *Tabl_ReperationTicket; TDataSource *Sour_ReperationTicket; TDBGrid *Grid_ReperationTicket; TButton *Butn_RepTicket; void __fastcall Butn_OpdaterClick(TObject *Sender); void __fastcall Butn_LukClick(TObject *Sender); void __fastcall Butn_TroubleTicketNyClick(TObject *Sender); void __fastcall FormActivate(TObject *Sender); void __fastcall CBox_StatusExit(TObject *Sender); void __fastcall Butn_NyBeskrivelseClick(TObject *Sender); void __fastcall CBox_TilstandExit(TObject *Sender); void __fastcall Butn_RepFejlClick(TObject *Sender); void __fastcall Butn_RepTicketClick(TObject *Sender); private: // User declarations // added by Munksgaard & Grove int __fastcall TForm_Fejlbehandling::getUserId(); int __fastcall TForm_Fejlbehandling::getAnsvarligId(); int __fastcall TForm_Fejlbehandling::getUdstyrId(); int __fastcall TForm_Fejlbehandling::getTilstandId(); int __fastcall TForm_Fejlbehandling::getTilstandNyId(); int __fastcall TForm_Fejlbehandling::getStatusId(); int __fastcall TForm_Fejlbehandling::getProblemId(); int __fastcall TForm_Fejlbehandling::setTroubleticket(); int __fastcall TForm_Fejlbehandling::setProblemlog(); int __fastcall TForm_Fejlbehandling::setBeskrivelselog(); int __fastcall TForm_Fejlbehandling::setStatuslog(); int __fastcall TForm_Fejlbehandling::setReperationlog(int kald); int __fastcall TForm_Fejlbehandling::setTilstandlog(); void __fastcall TForm_Fejlbehandling::Fejl(const String& metode, const String& meddelelse); public: // User declarations __fastcall TForm_Fejlbehandling(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TForm_Fejlbehandling *Form_Fejlbehandling; //--------------------------------------------------------------------------- #endif