/***************************************************************************
                   Data Define Header ( DataDefine.h )
                -----------------------------------------

	begin      : 2013/06/04
	copyright  : (C) 2013 Solbox Inc.
	author     : Development 1 Team
					- 2013/06/04 - 1st dadamin
	email      : dev1@solbox.com
	version    : 3.2.0

	CopyRight(C) 2005 Solbox Inc. All Rights reserved.
	Redistribution and use in source and binary forms, with or with out
	modification, are not permitted in outside of Solbox Inc.
***************************************************************************/
#ifndef __DATA_DEFINE_H__
#define __DATA_DEFINE_H__

#define		XML_STR_ROOT		"CCSTAT"
#define		XML_SVC				"SERVICE"
#define		XML_SVC_RC			"RC"
#define		XML_SVC_USER_SEQ	"USERSEQ"
#define		XML_SVC_SEQ			"SVCSEQ"
#define		XML_SVC_NAME		"SVCNAME"
#define		XML_STAT			"STAT"
#define		XML_STAT_TIME		"TIME"
#define		XML_STAT_ACCESS		"ACCESS"
#define		XML_STAT_ACCESS_UP_SUCCESS_COUNT			"UP_SUCCESS_COUNT"
#define		XML_STAT_ACCESS_DOWN_SUCCESS_COUNT			"DOWN_SUCCESS_COUNT"
#define		XML_STAT_ACCESS_UP_AUTH_FAIL_COUNT			"UP_AUTH_FAIL_COUNT"
#define		XML_STAT_ACCESS_DOWN_AUTH_FAIL_COUNT		"DOWN_AUTH_FAIL_COUNT"
#define		XML_STAT_ACCESS_UP_ILLEGAL_REQ_COUNT		"UP_ILLEGAL_REQ_COUNT"
#define		XML_STAT_ACCESS_DOWN_ILLEGAL_REQ_COUNT		"DOWN_ILLEGAL_REQ_COUNT"
#define		XML_STAT_ACCESS_UP_TIMEOUT_COUNT			"UP_TIMEOUT_COUNT"
#define		XML_STAT_ACCESS_DOWN_TIMEOUT_COUNT			"DOWN_TIMEOUT_COUNT"
#define		XML_STAT_ACCESS_UP_DISCONNECT_COUNT			"UP_DISCONNECT_COUNT"
#define		XML_STAT_ACCESS_DOWN_DISCONNECT_COUNT		"DOWN_DISCONNECT_COUNT"
#define		XML_STAT_ACCESS_VALUE_LIST	XML_STAT_ACCESS_UP_SUCCESS_COUNT","\
										XML_STAT_ACCESS_DOWN_SUCCESS_COUNT","\
										XML_STAT_ACCESS_UP_AUTH_FAIL_COUNT","\
										XML_STAT_ACCESS_DOWN_AUTH_FAIL_COUNT","\
										XML_STAT_ACCESS_UP_ILLEGAL_REQ_COUNT","\
										XML_STAT_ACCESS_DOWN_ILLEGAL_REQ_COUNT","\
										XML_STAT_ACCESS_UP_TIMEOUT_COUNT","\
										XML_STAT_ACCESS_DOWN_TIMEOUT_COUNT","\
										XML_STAT_ACCESS_UP_DISCONNECT_COUNT","\
										XML_STAT_ACCESS_DOWN_DISCONNECT_COUNT
#define		XML_STAT_STORAGE 	"STORAGE"
#define		XML_STAT_STORAGE_STG_SIZE 		"STG_SIZE"
#define		XML_STAT_STORAGE_USED_STG_SIZE 	"USED_STG_SIZE"
#define		XML_STAT_STORAGE_VALUE_LIST	XML_STAT_STORAGE_STG_SIZE","\
										XML_STAT_STORAGE_USED_STG_SIZE
#define		XML_STAT_NETWORK  	"NETWORK"
#define		XML_STAT_NETWORK_UP_TRAFFIC  			"UP_TRAFFIC"
#define		XML_STAT_NETWORK_DOWN_TRAFFIC  			"DOWN_TRAFFIC"
#define		XML_STAT_NETWORK_UP_SIZE  				"UP_SIZE"
#define		XML_STAT_NETWORK_DOWN_SIZE  			"DOWN_SIZE"
#define		XML_STAT_NETWORK_UP_CONCURRENT_SESS  	"UP_CONCURRENT_SESS"
#define		XML_STAT_NETWORK_DOWN_CONCURRENT_SESS  	"DOWN_CONCURRENT_SESS"
#define		XML_STAT_NETWORK_VALUE_LIST	XML_STAT_NETWORK_UP_TRAFFIC","\
										XML_STAT_NETWORK_DOWN_TRAFFIC","\
										XML_STAT_NETWORK_UP_SIZE","\
										XML_STAT_NETWORK_DOWN_SIZE","\
										XML_STAT_NETWORK_UP_CONCURRENT_SESS","\
										XML_STAT_NETWORK_DOWN_CONCURRENT_SESS
#define		XML_STAT_TRANSFER  	"TRANSFER"
#define		XML_STAT_TRANSFER_SESSION_ID  		"SESSION_ID"
#define		XML_STAT_TRANSFER_CONTENT_NAME  	"CONTENT_NAME"
#define		XML_STAT_TRANSFER_TRANSFER_SIZE  	"TRANSFER_SIZE"
#define		XML_STAT_TRANSFER_DIRECTION  		"DIRECTION"
#define		XML_STAT_TRANSFER_START_DATE  		"START_DATE"
#define		XML_STAT_TRANSFER_END_DATE  		"END_DATE"
#define		XML_STAT_TRANSFER_REPONSE_CODE 		"REPONSE_CODE"
#define		XML_STAT_TRANSFER_VALUE_LIST	XML_STAT_TRANSFER_SESSION_ID","\
											XML_STAT_TRANSFER_CONTENT_NAME","\
											XML_STAT_TRANSFER_TRANSFER_SIZE","\
											XML_STAT_TRANSFER_DIRECTION","\
											XML_STAT_TRANSFER_START_DATE","\
											XML_STAT_TRANSFER_END_DATE","\
											XML_STAT_TRANSFER_REPONSE_CODE
#define		XML_FAIL			"FAIL"
#define		XML_FAIL_DATABASE	"DATABASE"
#define		XML_FAIL_TYPE		"TYPE"

#define USED_TYPE_ORACLE		"ORACLE"
#define USED_TYPE_POSTGRESQL	"POSTGRESQL"

#define USED_KIND_STAT			"STAT"
#define USED_KIND_LOG			"LOG"
#define USED_KIND_INTEGRATE		"INTEGRATE"

#endif // __DATA_DEFINE_H__
