//--------------------------------------------------------------------------- #ifndef PIS0030MFH #define PIS0030MFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- #include "WindowMsgF.h" #include "cxButtons.hpp" #include "cxClasses.hpp" #include "cxContainer.hpp" #include "cxControls.hpp" #include "cxCustomData.hpp" #include "cxData.hpp" #include "cxDataStorage.hpp" #include "cxEdit.hpp" #include "cxFilter.hpp" #include "cxGraphics.hpp" #include "cxGrid.hpp" #include "cxGridCustomTableView.hpp" #include "cxGridCustomView.hpp" #include "cxGridLevel.hpp" #include "cxGridTableView.hpp" #include "cxGroupBox.hpp" #include "cxLabel.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "cxStyles.hpp" #include "dxSkinBlack.hpp" #include "dxSkinBlue.hpp" #include "dxSkinsCore.hpp" #include "dxSkinscxPCPainter.hpp" #include "dxSkinMcSkin.hpp" class TPIS0030M : public TForm { __published: // IDE-managed Components TTimer *TmrShow; TShape *ShpTitle; TcxButton *BtnClose; TLabel *LblCaption; TShape *ShpList; TEdit *EdFocus; TPanel *PnlBack; TcxGroupBox *cxGroupBox1; TTimer *TmrControlTimeout; TcxGroupBox *cxGroupBox3; TcxGrid *CxList; TcxGridTableView *TvList; TcxGridColumn *Col11; TcxGridColumn *Col12; TcxGridColumn *Col00; TcxGridColumn *Col01; TcxGridColumn *Col02; TcxGridColumn *Col03; TcxGridColumn *Col04; TcxGridColumn *Col05; TcxGridColumn *Col06; TcxGridColumn *Col07; TcxGridColumn *Col08; TcxGridColumn *Col09; TcxGridColumn *Col10; TcxGridLevel *GlList; TLabel *Label1; TLabel *Label2; TLabel *Label3; TLabel *Label4; TLabel *Label5; TLabel *Label6; TEdit *Edit1; TEdit *Edit2; TEdit *Edit3; TEdit *Edit4; TEdit *Edit5; TEdit *Edit6; TcxButton *BtnControl; TLabel *Label7; TLabel *Label8; TEdit *CTLR_MNGM_NMBR; TEdit *CTLR_MNGM_NM; TLabel *Label9; TEdit *COMM_STATE; TcxGridColumn *Col13; TcxButton *BtnSearch; TcxGridColumn *TvListColumn1; void __fastcall FormShow(TObject *Sender); void __fastcall TmrShowTimer(TObject *Sender); void __fastcall BtnCloseClick(TObject *Sender); void __fastcall FormClose(TObject *Sender, TCloseAction &Action); void __fastcall BtnControlClick(TObject *Sender); void __fastcall Col13CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone); void __fastcall TvListCellClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton, TShiftState AShift, bool &AHandled); void __fastcall BtnSearchClick(TObject *Sender); void __fastcall TvListFocusedRecordChanged(TcxCustomGridTableView *Sender, TcxCustomGridRecord *APrevFocusedRecord, TcxCustomGridRecord *AFocusedRecord, bool ANewItemRecordFocusingChanged); void __fastcall Edit1KeyPress(TObject *Sender, wchar_t &Key); private: // User declarations void __fastcall CommClose(); String FTitle; AnsiString FIpAddress; int FPort; public: DWORD FReqSeq; /* Packet Number */ public: // User declarations __fastcall TPIS0030M(TComponent* Owner); void __fastcall FormInit(); void __fastcall LoadParkServerInfo(); void __fastcall RefreshData(); void __fastcall DisplayInfo(); void __fastcall ClearForm(); void __fastcall OnMainFormMessage(TMessage &Msg); BEGIN_MESSAGE_MAP MESSAGE_HANDLER(WM_MAINFORM, TMessage, OnMainFormMessage) END_MESSAGE_MAP(TForm) }; //--------------------------------------------------------------------------- extern PACKAGE TPIS0030M *PIS0030M; //--------------------------------------------------------------------------- #endif