
#ifndef __KK_SCENE_DB_H__
#define __KK_SCENE_DB_H__

typedef enum{
	DB_SCENETYPE_SCENE = 0,
	DB_SCENETYPE_IFTT,
	DB_SCENETYPE_TIMING,
	DB_SCENETYPE_MUTICONTROL,
};

typedef enum{
	DB_SCENEINFO_NAME = 0,
	DB_SCENEINFO_SCENETYPE,
	DB_SCENEINFO_ENABLE,
	DB_SCENEINFO_SCENEID,
};
	
typedef enum{
	DB_SCENETRIGGER_TYPE = 0,
	DB_SCENETRIGGER_DEVICECODE,
	DB_SCENETRIGGER_EPNUM,
	DB_SCENETRIGGER_PROPERTYNAME,
	DB_SCENETRIGGER_COMPARETYPE,
	DB_SCENETRIGGER_COMPAREVALUE,
	DB_SCENETRIGGER_SCENEID,
	DB_SCENETRIGGER_ISAND,
};

typedef enum{
	DB_SCENECONDITION_TYPE = 0,
	DB_SCENECONDITION_STARTTIME,
	DB_SCENECONDITION_ENDTIME,
	DB_SCENECONDITION_CROSSDAY,
	DB_SCENECONDITION_REPEATDAY,
	DB_SCENECONDITION_SCENEID,
};

typedef enum{
	DB_SCENEACTION_TYPE = 0,
	DB_SCENEACTION_DEVICECODE,
	DB_SCENEACTION_EPNUM,	
	DB_SCENEACTION_PROPERTYNAME,
	DB_SCENEACTION_PROPERTYVALUE,
	DB_SCENEACTION_DELAY,
	DB_SCENEACTION_SCENEID,
	DB_SCENEACTION_GWDEVICECODE,
};

typedef enum{
	DB_SCENETIMER_WEEK = 0,
	DB_SCENETIMER_TIME,
	DB_SCENETIMER_SCENEID,

};

typedef enum{
	DB_SCENEEMBED_WEEK = 0,
	DB_SCENEEMBED_EXECUTESCENEID,
	DB_SCENEMBED_SCENEID,

};

typedef enum{
	DB_SCENEINVOKESERVICE_TYPE = 0,
	DB_SCENEINVOKESERVICE_IDENTIFIER,
	DB_SCENEINVOKESERVICE_SCENEID,
	DB_SCENEINVOKESERVICE_args,
};
#endif
