#ifndef __SVC2849_H__ 
#define __SVC2849_H__

/* MSG define */
#ifndef MSG_TivValue
#define MSG_TivValue                        1239
#endif
#ifndef MSG_TivValue2
#define MSG_TivValue2                       2032
#endif
#ifndef MSG_FdkVolElmt
#define MSG_FdkVolElmt                      2136
#endif
#ifndef MSG_FdkCapVolElmt
#define MSG_FdkCapVolElmt                   2137
#endif
#ifndef MSG_FdkSwapVolElmt
#define MSG_FdkSwapVolElmt                  2138
#endif
#ifndef MSG_FdkCapVolCurve
#define MSG_FdkCapVolCurve                  2140
#endif
#ifndef MSG_FdkSwapVolCurve
#define MSG_FdkSwapVolCurve                 2141
#endif
#ifndef MSG_Tiv
#define MSG_Tiv                             2143
#endif
#ifndef MSG_FdkRateIndexB
#define MSG_FdkRateIndexB                   3611
#endif
#ifndef MSG_CmpstRIdx
#define MSG_CmpstRIdx                       3612
#endif
#ifndef MSG_IrCpnSchedule
#define MSG_IrCpnSchedule                   3617
#endif
#ifndef MSG_IrNotionalInfo
#define MSG_IrNotionalInfo                  3618
#endif
#ifndef MSG_IrAmortSchedule
#define MSG_IrAmortSchedule                 3620
#endif
#ifndef MSG_IrVanillaCpnB
#define MSG_IrVanillaCpnB                   3623
#endif
#ifndef MSG_IrFloaterCpn
#define MSG_IrFloaterCpn                    3624
#endif
#ifndef MSG_IrVanillaMon
#define MSG_IrVanillaMon                    3641
#endif
#ifndef MSG_IrFloaterMon
#define MSG_IrFloaterMon                    3642
#endif
#ifndef MSG_IrVanillaB
#define MSG_IrVanillaB                      3659
#endif
#ifndef MSG_IrFloater
#define MSG_IrFloater                       3660
#endif
#ifndef MSG_IrTargetSwitching
#define MSG_IrTargetSwitching               3685
#endif
#ifndef MSG_IrHwMcParam
#define MSG_IrHwMcParam                     3689
#endif
#ifndef MSG_FdkFxPointRateCurve
#define MSG_FdkFxPointRateCurve             3690
#endif
#ifndef MSG_FdkRateCurveB
#define MSG_FdkRateCurveB                   3691
#endif
#ifndef MSG_RateCurveTenor
#define MSG_RateCurveTenor                  3692
#endif
#ifndef MSG_FwdCurveTenor
#define MSG_FwdCurveTenor                   3693
#endif
#ifndef MSG_FxPointCurveTenor
#define MSG_FxPointCurveTenor               3694
#endif
#ifndef MSG_IrHwCalibParam
#define MSG_IrHwCalibParam                  3695
#endif
#ifndef MSG_RIdxCorrCoeff
#define MSG_RIdxCorrCoeff                   3696
#endif
#ifndef MSG_IrRateQuanto
#define MSG_IrRateQuanto                    3698
#endif
#ifndef MSG_IrHwCalibParamOut
#define MSG_IrHwCalibParamOut               3699
#endif
#ifndef MSG_IrEffSensMcParam
#define MSG_IrEffSensMcParam                3701
#endif
#ifndef MSG_IrSwapHwOut
#define MSG_IrSwapHwOut                     3707
#endif
#ifndef MSG_IrSwapNetPrice
#define MSG_IrSwapNetPrice                  3708
#endif
#ifndef MSG_IrNotePrice
#define MSG_IrNotePrice                     3709
#endif
#ifndef MSG_IrNoteCF
#define MSG_IrNoteCF                        3710
#endif
#ifndef MSG_IrNoteEffSens
#define MSG_IrNoteEffSens                   3712
#endif
#ifndef MSG_DeltaOut
#define MSG_DeltaOut                        3713
#endif
#ifndef MSG_VegaOut
#define MSG_VegaOut                         3714
#endif
#ifndef MSG_FxVegaOut
#define MSG_FxVegaOut                       3715
#endif
#ifndef MSG_IrSwapFlterTsHwMc
#define MSG_IrSwapFlterTsHwMc               3911
#endif

/* TAG define */
#ifndef TAG_iAppEndPeriodNo
#define TAG_iAppEndPeriodNo                 117
#endif
#ifndef TAG_iAppStartPeriodNo
#define TAG_iAppStartPeriodNo               118
#endif
#ifndef TAG_dCapRate
#define TAG_dCapRate                        166
#endif
#ifndef TAG_sCcy
#define TAG_sCcy                            170
#endif
#ifndef TAG_sCcyPair
#define TAG_sCcyPair                        171
#endif
#ifndef TAG_nDate
#define TAG_nDate                           198
#endif
#ifndef TAG_sDayCntConv
#define TAG_sDayCntConv                     200
#endif
#ifndef TAG_sFixTmPt
#define TAG_sFixTmPt                        233
#endif
#ifndef TAG_dFixedRate
#define TAG_dFixedRate                      239
#endif
#ifndef TAG_dFloorRate
#define TAG_dFloorRate                      248
#endif
#ifndef TAG_dGearing
#define TAG_dGearing                        275
#endif
#ifndef TAG_dMargin
#define TAG_dMargin                         337
#endif
#ifndef TAG_dNotionAmt
#define TAG_dNotionAmt                      343
#endif
#ifndef TAG_sNotionCcy
#define TAG_sNotionCcy                      344
#endif
#ifndef TAG_iPeriodNo
#define TAG_iPeriodNo                       383
#endif
#ifndef TAG_dRate
#define TAG_dRate                           396
#endif
#ifndef TAG_nCalcDate
#define TAG_nCalcDate                       558
#endif
#ifndef TAG_dValue
#define TAG_dValue                          580
#endif
#ifndef TAG_iVolCrvId
#define TAG_iVolCrvId                       598
#endif
#ifndef TAG_iRateCrvId
#define TAG_iRateCrvId                      599
#endif
#ifndef TAG_dDelta
#define TAG_dDelta                          612
#endif
#ifndef TAG_dGamma
#define TAG_dGamma                          613
#endif
#ifndef TAG_dVega
#define TAG_dVega                           614
#endif
#ifndef TAG_dTheta
#define TAG_dTheta                          615
#endif
#ifndef TAG_sRateType
#define TAG_sRateType                       633
#endif
#ifndef TAG_dVol
#define TAG_dVol                            636
#endif
#ifndef TAG_dCorrCoeff
#define TAG_dCorrCoeff                      642
#endif
#ifndef TAG_mTivMatur
#define TAG_mTivMatur                       695
#endif
#ifndef TAG_mTivMaturOpt
#define TAG_mTivMaturOpt                    696
#endif
#ifndef TAG_maFdkVolElmt
#define TAG_maFdkVolElmt                    722
#endif
#ifndef TAG_maFdkSwapVolElmt
#define TAG_maFdkSwapVolElmt                723
#endif
#ifndef TAG_maFdkCapVolElmt
#define TAG_maFdkCapVolElmt                 724
#endif
#ifndef TAG_maFdkSwapVolCrv
#define TAG_maFdkSwapVolCrv                 726
#endif
#ifndef TAG_maFdkCapVolCrv
#define TAG_maFdkCapVolCrv                  727
#endif
#ifndef TAG_sSeedType
#define TAG_sSeedType                       770
#endif
#ifndef TAG_sPayRcvSect
#define TAG_sPayRcvSect                     772
#endif
#ifndef TAG_sDateType
#define TAG_sDateType                       775
#endif
#ifndef TAG_sInterpMethod
#define TAG_sInterpMethod                   776
#endif
#ifndef TAG_sPriceType
#define TAG_sPriceType                      778
#endif
#ifndef TAG_sTgtOccPayoffType
#define TAG_sTgtOccPayoffType               784
#endif
#ifndef TAG_sMatur
#define TAG_sMatur                          800
#endif
#ifndef TAG_sRateMatur
#define TAG_sRateMatur                      801
#endif
#ifndef TAG_sCcy2
#define TAG_sCcy2                           803
#endif
#ifndef TAG_iNoSim
#define TAG_iNoSim                          817
#endif
#ifndef TAG_iDisCrvId
#define TAG_iDisCrvId                       822
#endif
#ifndef TAG_dMeanReversion
#define TAG_dMeanReversion                  823
#endif
#ifndef TAG_dDirtyPrice
#define TAG_dDirtyPrice                     825
#endif
#ifndef TAG_dCleanPrice
#define TAG_dCleanPrice                     826
#endif
#ifndef TAG_dAccrInterest
#define TAG_dAccrInterest                   827
#endif
#ifndef TAG_dSwapRate
#define TAG_dSwapRate                       828
#endif
#ifndef TAG_dIrr
#define TAG_dIrr                            829
#endif
#ifndef TAG_dInterestRate
#define TAG_dInterestRate                   842
#endif
#ifndef TAG_dCashFlowCapital
#define TAG_dCashFlowCapital                843
#endif
#ifndef TAG_dCashFlowInterest
#define TAG_dCashFlowInterest               844
#endif
#ifndef TAG_dCashFlow
#define TAG_dCashFlow                       845
#endif
#ifndef TAG_dDisFactor
#define TAG_dDisFactor                      846
#endif
#ifndef TAG_dDisRate
#define TAG_dDisRate                        847
#endif
#ifndef TAG_dPvCapital
#define TAG_dPvCapital                      848
#endif
#ifndef TAG_dPvInterest
#define TAG_dPvInterest                     849
#endif
#ifndef TAG_dPv
#define TAG_dPv                             850
#endif
#ifndef TAG_dFeatureProb
#define TAG_dFeatureProb                    855
#endif
#ifndef TAG_dAmortAmt
#define TAG_dAmortAmt                       857
#endif
#ifndef TAG_dFxCorrCoeff
#define TAG_dFxCorrCoeff                    862
#endif
#ifndef TAG_dFxYearVol
#define TAG_dFxYearVol                      863
#endif
#ifndef TAG_nFormerDate
#define TAG_nFormerDate                     868
#endif
#ifndef TAG_nAfterDate
#define TAG_nAfterDate                      869
#endif
#ifndef TAG_nCashflowDate
#define TAG_nCashflowDate                   1091
#endif
#ifndef TAG_dSpotFxRate
#define TAG_dSpotFxRate                     1464
#endif
#ifndef TAG_nFwdEndDate
#define TAG_nFwdEndDate                     2229
#endif
#ifndef TAG_bSpotDeltaYN
#define TAG_bSpotDeltaYN                    2328
#endif
#ifndef TAG_bAccumDeltaYN
#define TAG_bAccumDeltaYN                   2393
#endif
#ifndef TAG_bReCalibYN
#define TAG_bReCalibYN                      2655
#endif
#ifndef TAG_bDeltaYN
#define TAG_bDeltaYN                        2656
#endif
#ifndef TAG_bVegaYN
#define TAG_bVegaYN                         2657
#endif
#ifndef TAG_bThetaYN
#define TAG_bThetaYN                        2658
#endif
#ifndef TAG_sShortRateVolType
#define TAG_sShortRateVolType               2811
#endif
#ifndef TAG_dCapWeight
#define TAG_dCapWeight                      3076
#endif
#ifndef TAG_sHwVolCrvType
#define TAG_sHwVolCrvType                   3077
#endif
#ifndef TAG_maTermCapRate
#define TAG_maTermCapRate                   3209
#endif
#ifndef TAG_maTermSwapRate
#define TAG_maTermSwapRate                  3210
#endif
#ifndef TAG_sCmpndFreq3
#define TAG_sCmpndFreq3                     3265
#endif
#ifndef TAG_bFixedYN
#define TAG_bFixedYN                        3372
#endif
#ifndef TAG_dFxPoint
#define TAG_dFxPoint                        3746
#endif
#ifndef TAG_dCouponRate
#define TAG_dCouponRate                     4344
#endif
#ifndef TAG_dAccumAmt
#define TAG_dAccumAmt                       4573
#endif
#ifndef TAG_bCapRateYN
#define TAG_bCapRateYN                      4575
#endif
#ifndef TAG_iCapVolCrvId
#define TAG_iCapVolCrvId                    4576
#endif
#ifndef TAG_mCmpstRIdx
#define TAG_mCmpstRIdx                      4577
#endif
#ifndef TAG_bCmpstRIdxFixingYN
#define TAG_bCmpstRIdxFixingYN              4582
#endif
#ifndef TAG_sCmpstRIdxType
#define TAG_sCmpstRIdxType                  4583
#endif
#ifndef TAG_bCouponFixingYN
#define TAG_bCouponFixingYN                 4593
#endif
#ifndef TAG_maDeltaOut
#define TAG_maDeltaOut                      4594
#endif
#ifndef TAG_bDiscountCrvYN
#define TAG_bDiscountCrvYN                  4596
#endif
#ifndef TAG_bDiscountCrvYN2
#define TAG_bDiscountCrvYN2                 4597
#endif
#ifndef TAG_mIrEffSensMcParam
#define TAG_mIrEffSensMcParam               4599
#endif
#ifndef TAG_maFdkFxPointRateCrv
#define TAG_maFdkFxPointRateCrv             4601
#endif
#ifndef TAG_maFdkRateCrvB
#define TAG_maFdkRateCrvB                   4602
#endif
#ifndef TAG_maFdkRateIndexB
#define TAG_maFdkRateIndexB                 4603
#endif
#ifndef TAG_dFixedCmpstRIdx
#define TAG_dFixedCmpstRIdx                 4604
#endif
#ifndef TAG_iFixedPeriodNo
#define TAG_iFixedPeriodNo                  4607
#endif
#ifndef TAG_bFloorRateYN
#define TAG_bFloorRateYN                    4608
#endif
#ifndef TAG_maFwdCrvTenor
#define TAG_maFwdCrvTenor                   4609
#endif
#ifndef TAG_maFxPointCrvTenor
#define TAG_maFxPointCrvTenor               4612
#endif
#ifndef TAG_maFxVegaOut
#define TAG_maFxVegaOut                     4613
#endif
#ifndef TAG_bFxVegaYN
#define TAG_bFxVegaYN                       4614
#endif
#ifndef TAG_maIrAmortSchedule
#define TAG_maIrAmortSchedule               4616
#endif
#ifndef TAG_maIrCpnSchedule
#define TAG_maIrCpnSchedule                 4631
#endif
#ifndef TAG_mIrFloater
#define TAG_mIrFloater                      4649
#endif
#ifndef TAG_mIrFloaterCpn
#define TAG_mIrFloaterCpn                   4653
#endif
#ifndef TAG_maIrFloaterMon
#define TAG_maIrFloaterMon                  4654
#endif
#ifndef TAG_mIrHwMcParam
#define TAG_mIrHwMcParam                    4658
#endif
#ifndef TAG_maIrHwCalibParam
#define TAG_maIrHwCalibParam                4659
#endif
#ifndef TAG_maIrHwCalibParamOut
#define TAG_maIrHwCalibParamOut             4660
#endif
#ifndef TAG_maIrNoteCF
#define TAG_maIrNoteCF                      4668
#endif
#ifndef TAG_maIrNoteEffSens
#define TAG_maIrNoteEffSens                 4671
#endif
#ifndef TAG_maIrNoteEffSens2
#define TAG_maIrNoteEffSens2                4672
#endif
#ifndef TAG_maIrNotePrice
#define TAG_maIrNotePrice                   4673
#endif
#ifndef TAG_maIrNotePrice2
#define TAG_maIrNotePrice2                  4674
#endif
#ifndef TAG_mIrNotionalInfo
#define TAG_mIrNotionalInfo                 4675
#endif
#ifndef TAG_maIrRateQuanto
#define TAG_maIrRateQuanto                  4681
#endif
#ifndef TAG_maIrSwapNetEffSens
#define TAG_maIrSwapNetEffSens              4691
#endif
#ifndef TAG_maIrSwapNetPrice
#define TAG_maIrSwapNetPrice                4692
#endif
#ifndef TAG_mIrTargetSwitching
#define TAG_mIrTargetSwitching              4694
#endif
#ifndef TAG_mIrVanillaB
#define TAG_mIrVanillaB                     4700
#endif
#ifndef TAG_mIrVanillaCpnB
#define TAG_mIrVanillaCpnB                  4702
#endif
#ifndef TAG_maIrVanillaMon
#define TAG_maIrVanillaMon                  4703
#endif
#ifndef TAG_bMeanReversionYN
#define TAG_bMeanReversionYN                4708
#endif
#ifndef TAG_sPayTmPtC
#define TAG_sPayTmPtC                       4709
#endif
#ifndef TAG_maRateCrvTenor
#define TAG_maRateCrvTenor                  4711
#endif
#ifndef TAG_maRateCrvTenor2
#define TAG_maRateCrvTenor2                 4712
#endif
#ifndef TAG_sRateIndexCode
#define TAG_sRateIndexCode                  4713
#endif
#ifndef TAG_sRateIndexCode2
#define TAG_sRateIndexCode2                 4714
#endif
#ifndef TAG_sRDeltaType
#define TAG_sRDeltaType                     4715
#endif
#ifndef TAG_maRIdxCorrCoeff
#define TAG_maRIdxCorrCoeff                 4716
#endif
#ifndef TAG_sRVegaType
#define TAG_sRVegaType                      4717
#endif
#ifndef TAG_iSwapVolCrvId
#define TAG_iSwapVolCrvId                   4718
#endif
#ifndef TAG_maVegaOut
#define TAG_maVegaOut                       4719
#endif
#ifndef TAG_sIrVolType
#define TAG_sIrVolType                      4720
#endif
#ifndef TAG_iDisCrvId2
#define TAG_iDisCrvId2                      4721
#endif
#ifndef TAG_bDiagonalYN
#define TAG_bDiagonalYN                     4850
#endif
#ifndef TAG_iSwitObservedPeriodNo
#define TAG_iSwitObservedPeriodNo           5075
#endif
#ifndef TAG_bSwitOccuredYN
#define TAG_bSwitOccuredYN                  5076
#endif
#ifndef TAG_sAppPeriodType
#define TAG_sAppPeriodType                  5145
#endif
#ifndef TAG_iaAppPeriodNo
#define TAG_iaAppPeriodNo                   5146
#endif
#ifndef TAG_dMeanReversion2
#define TAG_dMeanReversion2                 5527
#endif
#ifndef TAG_dVol2
#define TAG_dVol2                           5528
#endif
#ifndef TAG_maFdkVolElmt2
#define TAG_maFdkVolElmt2                   5529
#endif

#endif /* __SVC2849_H__ */
