package com.eactive.eai.adapter.wca; 

/** 
* 1. 기능 : Client 호출 프로퍼티 KEY 및 VALUE 정의
* 2. 처리 개요 : 
* 3. 주의사항 
*
* @author  : 
* @version : v 1.0.0
* @see     : 
* @since   : 
*/
public interface SNAProperties 
{ 
    // Properteis KEY 설정 
    public static final String TRAN_KEY                     = "TRAN_KEY";           // Transaction 마다 유일한 Key 값 (UUID)
    public static final String ADAPTER_GRP_NAME             = "ADAPTER_GRP_NAME";   // Adapter Group Name
    public static final String ADAPTER_NAME                 = "ADAPTER_NAME";       // Adapter Name
    public static final String LU_NAME                      = "LU_NAME";            // LU Name (dedicate LU 일경우만 설정)
    public static final String TRAN_MODE                    = "TRAN_MODE";          // Transaction Mode (Response / NonResponse)
    public static final String DATA_TYPE                    = "DATA_TYPE";          // TimeOut Data, DFS, Normal Data
    public static final String TRAN_TIMEOUT                 = "TRAN_TIMEOUT";       // TimeOut (단위 : 초)
    
    // Properties 값 설정
    public static final String TRAN_MODE_RESPONSE           = "R";                  // Response Transaction Mode
    public static final String TRAN_MODE_NONRESPONSE        = "N";                  // NonResponse Transaction Mode
    public static final String TRAN_MODE_TERMINAL           = "T";                  // 가상 터미널 TRAN_MODE_RESPONSE와 같이 처리
    
    public static final String DATA_TYPE_FIRST              = "F";
    public static final String DATA_TYPE_MIDDLE             = "M";
    public static final String DATA_TYPE_LAST               = "L";
    public static final String DATA_TYPE_ONLY               = "O";
    
    public static final String DATA_TYPE_NORMAL_PREFIX       = "N";
    public static final String DATA_TYPE_NORMAL              = DATA_TYPE_NORMAL_PREFIX + "D";
    public static final String DATA_TYPE_NORMAL_ONLY         = DATA_TYPE_NORMAL_PREFIX + DATA_TYPE_ONLY;             // Normal Data Type (only)
    public static final String DATA_TYPE_NORMAL_FIRST        = DATA_TYPE_NORMAL_PREFIX + DATA_TYPE_FIRST;            // Normal Data Type (First)
    public static final String DATA_TYPE_NORMAL_MIDDLE       = DATA_TYPE_NORMAL_PREFIX + DATA_TYPE_MIDDLE;           // Normal Data Type (Middle)
    public static final String DATA_TYPE_NORMAL_LAST         = DATA_TYPE_NORMAL_PREFIX + DATA_TYPE_LAST;             // Normal Data Type (Last)
    
    public static final String DATA_TYPE_TIMEOUT_PREFIX     = "T";
    public static final String DATA_TYPE_TIMEOUT            = DATA_TYPE_TIMEOUT_PREFIX + "D";
    public static final String DATA_TYPE_TIMEOUT_ONLY       = DATA_TYPE_TIMEOUT_PREFIX + DATA_TYPE_ONLY;                 // TimeOut Data (delayed data) Type (Only)
    public static final String DATA_TYPE_TIMEOUT_FIRST      = DATA_TYPE_TIMEOUT_PREFIX + DATA_TYPE_FIRST;                 // TimeOut Data (delayed data) Type (Fi)
    public static final String DATA_TYPE_TIMEOUT_MIDDLE     = DATA_TYPE_TIMEOUT_PREFIX + DATA_TYPE_MIDDLE;                 // TimeOut Data (delayed data) Type (Middle)
    public static final String DATA_TYPE_TIMEOUT_LAST       = DATA_TYPE_TIMEOUT_PREFIX + DATA_TYPE_LAST;                 // TimeOut Data (delayed data) Type (Last)
    
    public static final String DATA_TYPE_DFS_PREFIX         = "D";
    public static final String DATA_TYPE_DFS                = DATA_TYPE_DFS_PREFIX + "F";
    public static final String DATA_TYPE_DFS_ONLY           = DATA_TYPE_DFS_PREFIX + DATA_TYPE_ONLY;
    public static final String DATA_TYPE_DFS_FIRST          = DATA_TYPE_DFS_PREFIX + DATA_TYPE_FIRST;
    public static final String DATA_TYPE_DFS_MIDDLE         = DATA_TYPE_DFS_PREFIX + DATA_TYPE_MIDDLE;
    public static final String DATA_TYPE_DFS_LAST           = DATA_TYPE_DFS_PREFIX + DATA_TYPE_LAST;

    public static final String DATA_TYPE_SEND_OK            = "SO";                 // SEND OK Data Type
    public static final String DATA_TYPE_ERROR              = "ER";                 // ERROR Data Type
    
    public static final String DATA_TYPE_ADAPTER_OK         = "AO";                 // 자동 백업 명령
    public static final String DATA_TYPE_ADAPTER_ERROR      = "AE";                 // 자동 복구 명령
    
    public static final String DATA_TYPE_GET_ADAPTER_STATUS = "QS";                 // 현재 어댑터 status 반환 명령
    
    // 20090810 Start
    public static final String DATA_TYPE_APP_CODE 			= "CD";                 // 현재 어댑터 Data Code 송신 명령
    // 20090810 End
    
    // 20190828 Start
    public static final String DATA_TYPE_WCA_ADPT_INFO 		= "WN";                 // 현재 WCA 어댑터 정보 송신 명령
    // 20190828 End    
}
