//--------------------------------------------------------------------------- #ifndef CTVM010MFH #define CTVM010MFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- #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" #include "dxSkinBlack.hpp" #include "dxSkinMcSkin.hpp" #include "cxSpinEdit.hpp" //--------------------------------------------------------------------------- class TCTVM010M : 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; TcxGridBandedColumn *ColTypeNm; TcxLabel *lblMOS0; TcxLabel *lblMOS1; TcxLabel *lblPWS0; TcxLabel *lblPWS1; TcxLabel *lblCDS0; TcxLabel *lblCDS1; TcxLabel *lblPAS0; TcxLabel *lblPAS1; TcxLabel *lblHTS0; TcxLabel *lblHTS1; TcxLabel *lblUnknown; 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); void __fastcall ColUpdtDtCustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone); void __fastcall ColTempCustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone); private: // User declarations void __fastcall CommClose(); public: String FTitle; public: // User declarations __fastcall TCTVM010M(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 TCTVM010M *CTVM010M; //--------------------------------------------------------------------------- #endif