//
//  CommonConstants.swift
//  mcare-demo
//
//  Created by KangSH on 2019. 2. 15..
//  Copyright © 2019년 LemonHealthcare. All rights reserved.
//  공통상수 모음.

import Foundation

struct CommonConstants {

    //Fido RP 주소
    static let MCARE_RP_URL:String = "http://dev.lemonhc.com/auth-server/rp/"
    static let NEXSIGN_URL:String  = "https://ncp-nexsign.samsungsds.com/nexsign-server/"
    
    //MCare NiceApp 정보
    static let MCARE_PAYMENT_NICE_APP_CARD_SCHEME       = "niceappcard://%@?"
    static let MCARE_PAYMENT_NICE_APP_OPEN_PAYMENT      = "payment"
    static let MCARE_PAYMENT_NICE_APP_OPEN_MAIN         = "main"
    static let MCARE_PAYMENT_NICE_APP_CARD_KEY          = "niceappcardswallet"
    
    //MCare Error RetryType
    static let MCARE_RETRY_TYPE_DEFAULT = "DefaultRetry"
    static let MCARE_RETRY_TYPE_REQUEST = "RequestRetry"
    
    //ViewTag
    static let TOOLBAR_FIXIEDSPACE_TAG:Int  = 128
    static let TOOLBAR_BTNWIDTH:Float       = 44.0
    static let BACK_BTN_TAG:Int             = 40
    static let NEXT_BTN_TAG:Int             = 41
    static let REFRESH_BTN_TAG:Int          = 42
    static let CLOSE_BTN_TAG:Int            = 43
    static let CUSTOM_ALERT_VIEW_TAG:Int    = 9999
    
    static let CRACK_CODE_1001  = "1001"
    static let CRACK_CODE_1002  = "1002"
    static let CRACK_CODE_1003  = "1003"
    static let CRACK_CODE_1004  = "1004"
    static let CRACK_CODE_1005  = "1005"
    static let CRACK_CODE_1006  = "1006"
    static let CRACK_CODE_1007  = "1007"
}

