123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- //---------------------------------------------------------------------------
- #ifndef WCAM010MFH
- #define WCAM010MFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <DB.hpp>
- #include <Menus.hpp>
- #include <ExtCtrls.hpp>
- #include <ADODB.hpp>
- #include <ImgList.hpp>
- #include <Graphics.hpp>
- #include <ComCtrls.hpp>
- //---------------------------------------------------------------------------
- #include "CenterCommF.h"
- #include "DataTypesF.h"
- #include "WindowMsgF.h"
- #include "CDSCctvCtlrF.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 "cxGridBandedTableView.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 "cxTextEdit.hpp"
- #include "dxSkinBlue.hpp"
- #include "dxSkinsCore.hpp"
- #include "dxSkinscxPCPainter.hpp"
- //---------------------------------------------------------------------------
- class TWCAM010M : public TForm
- {
- __published: // IDE-managed Components
- TTimer *TmrShow;
- TcxButton *BtnSearch;
- TLabel *LblCaption;
- TShape *ShpTitle;
- TcxButton *BtnClose;
- TShape *ShpList;
- TPanel *PnlBack;
- TPanel *PnlLeft;
- TcxGroupBox *cxGroupBox3;
- TcxGrid *CxList;
- TcxGridBandedTableView *TvList;
- TcxGridBandedColumn *ColId;
- TcxGridBandedColumn *ColName;
- TcxGridBandedColumn *ColCommS;
- TcxGridBandedColumn *ColDoorS;
- TcxGridBandedColumn *ColFanS;
- TcxGridBandedColumn *ColHeaterS;
- TcxGridBandedColumn *ColCamS;
- TcxGridBandedColumn *ColTextS;
- TcxGridBandedColumn *ColFanOn;
- TcxGridBandedColumn *ColFanOff;
- TcxGridBandedColumn *ColHeaterOff;
- TcxGridBandedColumn *ColHeaterOn;
- TcxGridBandedColumn *ColBattS;
- TcxGridBandedColumn *ColHamS;
- TcxGridBandedColumn *ColCtrlS;
- TcxGridBandedColumn *ColTemp;
- TcxGridBandedColumn *ColVolt;
- TcxGridBandedColumn *ColVoltOut;
- TcxGridBandedColumn *ColUpdtDt;
- TcxGridBandedColumn *ColNmbr;
- TcxGridLevel *GlList;
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall FormShow(TObject *Sender);
- void __fastcall TmrShowTimer(TObject *Sender);
- void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
- void __fastcall BtnSearchClick(TObject *Sender);
- void __fastcall ColCommSCustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
- bool &ADone);
- void __fastcall BtnCloseClick(TObject *Sender);
- private: // User declarations
- void __fastcall CommClose();
- public:
- String FTitle;
- public: // User declarations
- __fastcall TWCAM010M(TComponent* Owner);
- void __fastcall LoadLocalSkin();
- void __fastcall Refreshtatus(bool ARealtime=false);
- void __fastcall RefreshData();
- void __fastcall OnMainFormMessage(TMessage &Msg);
- BEGIN_MESSAGE_MAP
- MESSAGE_HANDLER(WM_MAINFORM, TMessage, OnMainFormMessage)
- END_MESSAGE_MAP(TForm)
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TWCAM010M *WCAM010M;
- //---------------------------------------------------------------------------
- #endif
|