123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- //---------------------------------------------------------------------------
- #ifndef PIS0030MFH
- #define PIS0030MFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <DB.hpp>
- #include <DBClient.hpp>
- #include <FMTBcd.hpp>
- #include <Provider.hpp>
- #include <SqlExpr.hpp>
- #include <Menus.hpp>
- #include <ExtCtrls.hpp>
- #include <Graphics.hpp>
- #include <ComCtrls.hpp>
- #include <ADODB.hpp>
- #include <Dialogs.hpp>
- #include <ExtDlgs.hpp>
- //---------------------------------------------------------------------------
- //---------------------------------------------------------------------------
- #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
|