//---------------------------------------------------------------------------

#ifndef CommFlashFH
#define CommFlashFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include "ShockwaveEx.hpp"
#include "ShockwaveFlashObjects_TLB.hpp"
//---------------------------------------------------------------------------

/*
*  define facility kind
*/
#define FAC_CCTV   String("CCTV")
#define FAC_VMS    String("VMS")
#define FAC_RSE    String("RSE")
#define FAC_WCAM   String("WCAM")
#define FAC_VDS    String("VDS")
#define FAC_AVI    String("AVI")
#define FAC_DSRC   String("DSRC")
#define FAC_INCD   String("INCD")
#define FAC_PARK   String("PARK")
#define FAC_PVMS   String("PVMS")
#define FAC_PVDS   String("PVDS")
#define FAC_BIT    String("BIT")
#define FAC_SIG    String("SIG")
#define FAC_SIGDET String("LVD")    //신호검지기
#define FAC_EVENT  String("EVT")    //이벤트(블랙박스용-남양주시)
#define FAC_WTHR   String("WTHR")   //기상
#define FAC_ATMP   String("ATMP")   //대기환경


/*
*  Flash interface class
*/
class TCommFlash
{
public:
    TCommFlash();
    virtual ~TCommFlash();
    void Clear();
private:
protected:

public:
    static bool CallFunc(TShockwaveFlashEx *ShockwaveFlash1, String AFuncName, String AArgs);
    static String ReplaceName(String AName);
};
#endif
