//--------------------------------------------------------------------------- #ifndef FrmVmsRemoteCtrlFH #define FrmVmsRemoteCtrlFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- #include "CenterCommF.h" #include "WindowMsgF.h" #include "CDSVmsCtlrF.h" #include "CDSCenterCommF.h" //--------------------------------------------------------------------------- #include "cxContainer.hpp" #include "cxControls.hpp" #include "cxEdit.hpp" #include "cxGraphics.hpp" #include "cxGroupBox.hpp" #include "cxLabel.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "cxPC.hpp" #include "cxPCdxBarPopupMenu.hpp" #include "cxSplitter.hpp" #include "dxSkinBlack.hpp" #include "dxSkinBlue.hpp" #include "dxSkinCaramel.hpp" #include "dxSkinCoffee.hpp" #include "dxSkinDarkRoom.hpp" #include "dxSkinDarkSide.hpp" #include "dxSkinFoggy.hpp" #include "dxSkinGlassOceans.hpp" #include "dxSkiniMaginary.hpp" #include "dxSkinLilian.hpp" #include "dxSkinLiquidSky.hpp" #include "dxSkinLondonLiquidSky.hpp" #include "dxSkinMcSkin.hpp" #include "dxSkinMoneyTwins.hpp" #include "dxSkinOffice2007Black.hpp" #include "dxSkinOffice2007Blue.hpp" #include "dxSkinOffice2007Green.hpp" #include "dxSkinOffice2007Pink.hpp" #include "dxSkinOffice2007Silver.hpp" #include "dxSkinOffice2010Black.hpp" #include "dxSkinOffice2010Blue.hpp" #include "dxSkinOffice2010Silver.hpp" #include "dxSkinsCore.hpp" #include "dxSkinscxPCPainter.hpp" #include "dxSkinSeven.hpp" #include "dxSkinSharp.hpp" #include "dxSkinSilver.hpp" #include "dxSkinStardust.hpp" #include "cxClasses.hpp" #include "cxCustomData.hpp" #include "cxData.hpp" #include "cxDataStorage.hpp" #include "cxFilter.hpp" #include "cxGrid.hpp" #include "cxGridCustomTableView.hpp" #include "cxGridCustomView.hpp" #include "cxGridLevel.hpp" #include "cxGridTableView.hpp" #include "cxStyles.hpp" #include "cxTextEdit.hpp" #include "cxGridCardView.hpp" #include "cxGridCustomLayoutView.hpp" #include "cxCheckBox.hpp" #include "cxDropDownEdit.hpp" #include "cxImage.hpp" #include "cxButtons.hpp" #include "cxCalc.hpp" #include "cxGridBandedTableView.hpp" #include "FRAME_VmsStateListF.h" #include "FRAME_VmsStateF.h" #include "FRAME_VmsMsgListF.h" #include "ImageBtn.h" #include "cxMaskEdit.hpp" #include "cxRadioGroup.hpp" #include "cxSpinEdit.hpp" #include "cxTimeEdit.hpp" #include #include //--------------------------------------------------------------------------- #include "IdBaseComponent.hpp" #include "IdComponent.hpp" #include "IdIcmpClient.hpp" #include "IdRawBase.hpp" #include "IdRawClient.hpp" #include "FFBaseComponent.hpp" #include "FFBasePlay.hpp" #include "FFPlay.hpp" #include "IdHTTP.hpp" #include "IdTCPClient.hpp" #include "IdTCPConnection.hpp" #include "IdAuthenticationDigest.hpp" #include "cxHint.hpp" #include "dxCustomHint.hpp" #include "dxScreenTip.hpp" #include "dxSkinsForm.hpp" #include "dxGDIPlusClasses.hpp" /* idhttp ±ÇÇÑ ¼³Á¤À» À§ÇØ ÇÊ¿äÇÔ */ //--------------------------------------------------------------------------- class TFrmVmsRemoteCtrl : public TForm { __published: // IDE-managed Components TTimer *TmrShow; TPanel *PnlCenter; TPanel *PnlBottom; TPanel *PnlLeft; TPanel *PnlRTop; TcxGroupBox *GrpList; TcxGroupBox *cxGroupBox1; TcxGroupBox *cxGroupBox2; TcxPageControl *PgControl; TcxTabSheet *TsControl; TcxTabSheet *cxTabSheet1; TcxTabSheet *cxTabSheet2; TImageList *ImageList1; TcxButton *BtnAllClear; TcxButton *BtnReverse; TcxButton *BtnAllSelect; TPanel *PnlVms; TPanel *Panel2; TcxRadioButton *RdbOn; TcxRadioButton *RdbOff; TcxRadioButton *RdbReset; TcxTimeEdit *cxTimeOn; TcxTimeEdit *cxTimeOff; TImage *ImgDesc11; TImage *ImgDesc01; TcxButton *BtnOnOffSet; TImage *ImgDesc40; TLabel *Label5; TImage *ImgDesc41; TLabel *Label8; TLabel *Label13; TImage *ImgDesc42; TLabel *Label2; TImage *ImgDesc43; TLabel *Label15; TImage *ImgDesc44; TImage *ImgDesc61; TImage *ImgDesc62; TLabel *Label6; TLabel *Label4; TLabel *Label16; TLabel *Label7; TLabel *Label9; TLabel *Label10; TLabel *Label11; TLabel *Label12; TLabel *Label17; TcxSpinEdit *Se03; TcxSpinEdit *Se04; TcxSpinEdit *Se02; TcxSpinEdit *Se05; TcxSpinEdit *Se01; TcxSpinEdit *Se06; TcxSpinEdit *Se07; TLabel *Label1; TLabel *Label14; TcxButton *BtnConfig; TcxTabSheet *TsOperMode; TcxRadioButton *RdbAuto; TcxRadioButton *RdbFix; TcxRadioButton *RdbBase; TcxButton *BtnModeControl; TLabel *Label18; TcxRadioButton *RdbLuminance; TLabel *Label3; TcxButton *BtnWebCamUrl; TcxButton *BtnBlankDisplay; TcxTabSheet *cxTabSheet5; TcxButton *BtnParamSetting; TLabel *Label23; TLabel *Label24; TLabel *Label25; TLabel *Label26; TLabel *Label27; TLabel *Label32; TcxSpinEdit *SeDAY_LUMI; TcxSpinEdit *SeNGHT_LUMI; TcxSpinEdit *SeCUR_LUMI; TcxSpinEdit *SeCMNC_RTRY_NOCS; TcxSpinEdit *SeCommErrTime; TcxSpinEdit *SeSlotCommErr; TcxSpinEdit *SeSlotPowerErr; TcxButton *BtnDefMsgDownload; TcxTabSheet *cxTabSheet6; TGroupBox *GroupBox1; TImage *ImgDesc59; TLabel *Label22; TcxSpinEdit *SeFormCycleTime; TLabel *Label34; TcxButton *BtnDisplayTimeSet; TcxButton *BtnMsgImmediateDownload; TTimer *TmrCommand; TLabel *Label35; TLabel *Label36; TLabel *Label37; TLabel *Label38; TLabel *Label47; TImage *ImgDesc33; TcxTimeEdit *cxDispStrTm; TcxTimeEdit *cxDispEndTm; TcxButton *BtnModuleOn; TcxButton *BtnModuleOff; TcxButton *BtnBrghControl0; TcxButton *BtnResetProgress; TcxButton *BtnBrghControl1; TcxButton *BtnBrghControl2; TLabel *Label43; TFFPlayer *FFPlayer1; TcxCheckBox *ChkFullScreen; TdxSkinController *dxSkinController1; TcxHintStyleController *cxHintStyleController1; TMemo *reMsg; TPanel *PnlVmsCam; TPanel *PnlRtspStream; TcxLabel *LblErrMsg; TPanel *PnlTitleBack; TImage *ImgCaption; TLabel *LblCaption; TImage *ImgCaptionLeft; TcxGrid *CxList; TcxGridBandedTableView *TvList; TcxGridBandedColumn *ColVMS_CTLR_ID; TcxGridBandedColumn *ColVMS_NM; TcxGridBandedColumn *ColRPRS_STTS; TcxGridBandedColumn *ColDOOR_STTS; TcxGridBandedColumn *ColFAN_STTS; TcxGridBandedColumn *ColHTER_STTS; TcxGridBandedColumn *ColPS_STTS; TcxGridBandedColumn *ColRSET_YN; TcxGridBandedColumn *ColOPER_MODE; TcxGridBandedColumn *ColHUM; TcxGridBandedColumn *ColBOX_TEMP; TcxGridBandedColumn *ColHeaterOn; TcxGridBandedColumn *ColBattS; TcxGridBandedColumn *ColHamS; TcxGridBandedColumn *ColCMNC_STTS; TcxGridBandedColumn *ColTEMP; TcxGridBandedColumn *ColMsgDt; TcxGridBandedColumn *ColMsgCnt; TcxGridBandedColumn *ColLAST_DT_FMT; TcxGridBandedColumn *ColNmbr; TcxGridBandedColumn *ColVMS_MODL_KIND_NM; TcxGridLevel *GlList; TcxGridBandedColumn *ColumnSel; TcxGridBandedColumn *Col99; TcxButton *BtnSearch; TEdit *EdFocus; TcxComboBox *CbCMNC_STTS; TcxComboBox *CbPS_STTS; TcxComboBox *CbRPRS_STTS; TcxComboBox *CbFAN_STTS; TcxComboBox *CbHTER_STTS; TcxComboBox *CbDOOR_STTS; TcxComboBox *CbOPER_MODE; TcxSplitter *cxSplitter2; TLabel *Label20; TLabel *Label21; TLabel *Label28; TLabel *Label45; TLabel *Label50; TLabel *Label51; TLabel *Label46; TLabel *Label44; TLabel *Label49; TLabel *Label29; TcxComboBox *CbLUMI_MODE; TcxComboBox *CbFAN_MODE; TcxComboBox *CbHTER_MODE; TcxSpinEdit *SeERR_MODL_RT; TLabel *Label19; TcxButton *BtnModlErrRate; TcxSpinEdit *SeDFLT_SCNR_RUN_TM; TLabel *Label30; TcxButton *BtnDfltScnrRunTm; TLabel *Label31; TcxSpinEdit *SeNghtBrgh; TcxSpinEdit *SeWeekBrgh; TcxSpinEdit *SeCurrBrgh; TcxSpinEdit *SeUserBrgh; TcxButton *BtnBrghControl3; TcxComboBox *CbDFLT_SCNR_RUN_TM; void __fastcall FormShow(TObject *Sender); void __fastcall TmrShowTimer(TObject *Sender); void __fastcall FormClose(TObject *Sender, TCloseAction &Action); void __fastcall TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton, TShiftState AShift, bool &AHandled); void __fastcall Se01PropertiesChange(TObject *Sender); void __fastcall BtnOnOffSetClick(TObject *Sender); void __fastcall BtnModeControlClick(TObject *Sender); void __fastcall BtnWebCamUrlClick(TObject *Sender); void __fastcall TmrCommandTimer(TObject *Sender); void __fastcall PgControlPageChanging(TObject *Sender, TcxTabSheet *NewPage, bool &AllowChange); void __fastcall Col08CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone); void __fastcall BtnModuleControlClick(TObject *Sender); void __fastcall BtnResetClick(TObject *Sender); void __fastcall BtnBrghControl0Click(TObject *Sender); void __fastcall FFPlayer1State(TObject *Sender, TPlayState APlayState); void __fastcall FFPlayer1OpenFailed(TObject *Sender); void __fastcall ChkFullScreenClick(TObject *Sender); void __fastcall BtnSearchClick(TObject *Sender); void __fastcall BtnAllSelectClick(TObject *Sender); void __fastcall BtnBlankDisplayClick(TObject *Sender); void __fastcall BtnModlErrRateClick(TObject *Sender); void __fastcall BtnDfltScnrRunTmClick(TObject *Sender); void __fastcall ColRPRS_STTSCustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone); void __fastcall CbDFLT_SCNR_RUN_TMClick(TObject *Sender); private: // User declarations void __fastcall CommClose(); public: bool FStrmPlay; String FStrmUser; String FStrmPswd; String FStrmHttp; String FStrmAddr; void __fastcall ErrorMsg(String AErrMsg); void __fastcall WebCamPlay(String AVmsNo); void __fastcall WebCamStop(); public: TForm *FPalyerForm; TVmsCtlr *FSelVmsObj; TStringList *FVmsIds; String FTitle; long FRtspHandle; TcxTabSheet *FCtrlTab; TCommTarget *FCommCtrlTarget; // VMS Åë½Å public: // User declarations __fastcall TFrmVmsRemoteCtrl(TComponent* Owner); void __fastcall SetColorScheme(String ASkinName); void __fastcall LoadLocalSkin(); void __fastcall InitDbLoading(); void __fastcall DisplayInfo(); void __fastcall UpdateList(); void __fastcall RefreshStatusInfo(); void __fastcall ClearCheckList(); bool __fastcall GetSelListItems(bool ACommCheck=true); bool __fastcall UpdateVmsParam(String AVmsNmbr, void *pData); bool __fastcall UpdateVmsParam2(String AVmsNmbr, void *pData); void __fastcall OnVmsStateRefreshMessage(TMessage &Msg); BEGIN_MESSAGE_MAP MESSAGE_HANDLER(WM_VMS_STATE_REFRESH, TMessage, OnVmsStateRefreshMessage) END_MESSAGE_MAP(TForm) }; //--------------------------------------------------------------------------- extern PACKAGE TFrmVmsRemoteCtrl *FrmVmsRemoteCtrl; //--------------------------------------------------------------------------- #endif