⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cs.h

📁 商业银行前置系统
💻 H
📖 第 1 页 / 共 2 页
字号:
    char   szAccNo[LEN_ACCNO + 1];          /* 卡号 */
    char   szExpDate[LEN_EXPDATE + 1];      /* 有效期 */
    double dAmt;                            /* 交易金额 */
    char   szComment[LEN_COMMENT + 1];      /* 摘要 */
    char   szStaffCard[LEN_STAFFCARD + 1];  /* 员工卡标识 */   
    char   szTrack2[LEN_TRACK2 + 1];        /* 第二磁道 */
    char   szTrack3[LEN_TRACK3 + 1];        /* 第三磁道 */
    char   szEntryMode[LEN_ENTRYMODE + 1];  /* 输入方式 */
    double dFee;

} CSI12STRU;

typedef CSI12STRU *       PCSI12STRU;
typedef const CSI12STRU   CCSI12STRU;
typedef const CSI12STRU * PCCSI12STRU;

/*
 * Deposit Output Area structure
 */

typedef struct tagCSO12STRU
{
    char   szAccName[LEN_ACCNAME + 1];      /* 姓名 */
    double dBal;                            /* 帐户余额 */
    double dAvailBal;                       /* 可用余额 */
    double dFee;                            /* 交易手续费 */
    char   szCityCode[LEN_CITYCODE + 1];    /* 受理行城市代码 */
    char   szAuthCode[LEN_AUTHCODE + 1];
    char   szRespSeqNo[LEN_SEQNO + 1];
    double dLocalFee;                       /* 本中心应收手续费*/

} CSO12STRU;

typedef CSO12STRU *       PCSO12STRU;
typedef const CSO12STRU   CCSO12STRU;
typedef const CSO12STRU * PCCSO12STRU;

/*
 * Withdraw Input Area structure
 */

typedef struct tagCSI13STRU
{
    char   szAccNo[LEN_ACCNO + 1];          /* 卡号 */
    char   szExpDate[LEN_EXPDATE + 1];      /* 有效期 */
    char   szAccPwd[LEN_ACCPWD + 1];        /* 密码 */
    double dAmt;                            /* 交易金额 */
    char   szEntryMode[LEN_ENTRYMODE + 1];  /* 输入方式 */
    char   szTrack2[LEN_TRACK2 + 1];        /* 第二磁道 */
    char   szTrack3[LEN_TRACK3 + 1];        /* 第三磁道 */
    char   szComment[LEN_COMMENT + 1];      /* 摘要 */
    char   szStaffCard[LEN_STAFFCARD + 1];  /* 员工卡标识 */

} CSI13STRU;

typedef CSI13STRU *       PCSI13STRU;
typedef const CSI13STRU   CCSI13STRU;
typedef const CSI13STRU * PCCSI13STRU;

/*
 * Withdraw Output Area structure
 */

typedef struct tagCSO13STRU
{
    char   szAccName[LEN_ACCNAME + 1];      /* 姓名 */
    double dBal;                            /* 帐户余额 */
    double dAvailBal;                       /* 可用余额 */
    double dFee;                            /* 交易手续费 */
    char   szCityCode[LEN_CITYCODE + 1];    /* 受理行城市代码 */
    char   szAuthCode[LEN_AUTHCODE + 1];    /* 授权码(准贷记卡) */
    char   szRespSeqNo[LEN_SEQNO + 1];
    double dLocalFee;                       /* 本中心应收手续费*/

} CSO13STRU;

typedef CSO13STRU *       PCSO13STRU;
typedef const CSO13STRU   CCSO13STRU;
typedef const CSO13STRU * PCCSO13STRU;

/*
 * Refund Input Area structure
 */

typedef struct tagCSI14STRU 
{
    char   szAccNo[LEN_ACCNO + 1];
    char   szExpDate[LEN_EXPDATE + 1]; 
    double dAmt;                            /* 退货金额 */
    char   szMerchNo[LEN_MERCHNO + 1];      /* 商户号 */
    char   szVouchNo[LEN_VOUCHNO + 1];      /* 凭证号 */
    char   szBatchNo[LEN_BATCHNO + 1];      /* 批次号 */
    char   szOrgReqId[LEN_ID + 1];  
    char   szTrack2[LEN_TRACK2 + 1];        /* 第二磁道 */
    char   szTrack3[LEN_TRACK3 + 1];        /* 第三磁道 */
    char   szEntryMode[LEN_ENTRYMODE + 1];  /* 输入方式 */

} CSI14STRU;

typedef CSI14STRU *       PCSI14STRU;
typedef const CSI14STRU   CCSI14STRU;
typedef const CSI14STRU * PCCSI14STRU;

/*
 * Refund Output Area structure
 */

typedef struct tagCSO14STRU 
{
    char   szAccName[LEN_ACCNAME + 1];
    double dBal;
    double dAvailBal;
    char   szAuthCode[LEN_AUTHCODE + 1];
    char   szRespSeqNo[LEN_SEQNO + 1];

} CSO14STRU;

typedef CSO14STRU *       PCSO14STRU;
typedef const CSO14STRU   CCSO14STRU;
typedef const CSO14STRU * PCCSO14STRU;

/*
 * QueryBal Input Area structure
 */
 
typedef struct tagCSI15STRU
{
    char szAccNo[LEN_ACCNO + 1];
    char szExpDate[LEN_EXPDATE + 1];
    char szAccPwd[LEN_ACCPWD + 1];
    char szEntryMode[LEN_ENTRYMODE + 1];    /* 输入方式 */
    char szTrack2[LEN_TRACK2 + 1];
    char szTrack3[LEN_TRACK3 + 1];

} CSI15STRU; 

typedef CSI15STRU *       PCSI15STRU;
typedef const CSI15STRU   CCSI15STRU;
typedef const CSI15STRU * PCCSI15STRU; 

/*
 * QueryBal Output Area structure
 */

typedef struct tagCSO15STRU
{
    char   szAccName[LEN_ACCNAME + 1];
    double dBal;
    double dAvailBal;
    char   szRespSeqNo[LEN_SEQNO + 1];

} CSO15STRU;

typedef CSO15STRU *       PCSO15STRU;
typedef const CSO15STRU   CCSO15STRU;
typedef const CSO15STRU * PCCSO15STRU;

/*
 * ChangePin Input Area structure
 */
 
typedef struct tagCSI16STRU
{
    char szAccNo[LEN_ACCNO + 1];
    char szEntryMode[LEN_ENTRYMODE + 1];    /* 输入方式:键盘输入001,刷卡002 */
    char szTrack2[LEN_TRACK2 + 1];
    char szTrack3[LEN_TRACK3 + 1];
    char szExpDate[LEN_EXPDATE + 1];
    char szAccPwd[LEN_ACCPWD + 1];
    char szAccNewPwd[LEN_ACCPWD + 1];

} CSI16STRU;

typedef CSI16STRU *       PCSI16STRU;
typedef const CSI16STRU   CCSI16STRU;
typedef const CSI16STRU * PCCSI16STRU; 

/*
 * Lost Input Area structure
 */
 
typedef struct tagCSI17STRU
{
    char szAccNo[LEN_ACCNO + 1];
    char szExpDate[LEN_EXPDATE + 1];
    char szAccPwd[LEN_ACCPWD + 1];
    char szCertType[LEN_CERTTYPE + 1];
    char szCertNo[LEN_CERTNO + 1];
    
} CSI17STRU; 

typedef CSI17STRU *       PCSI17STRU;
typedef const CSI17STRU   CCSI17STRU;
typedef const CSI17STRU * PCCSI17STRU; 

/*
 * Lost Output Area structure
 */

typedef struct tagCSO17STRU
{
    char   szAccName[LEN_ACCNAME + 1];    
    double dBal;
    char   szRespSeqNo[LEN_SEQNO + 1];

} CSO17STRU;

typedef CSO17STRU *       PCSO17STRU;
typedef const CSO17STRU   CCSO17STRU;
typedef const CSO17STRU * PCCSO17STRU;

/* 
 * Auth Input Area 
 */

typedef struct tagCSI18STRU
{
    char   szAccNo[LEN_ACCNO + 1];          /* 卡号 */
    char   szExpDate[LEN_EXPDATE + 1];      /* 有效期 */
    double dAmt;                            /* 交易金额 */
    char   szAuthType[LEN_AUTHTYPE + 1];    /* 交易类型:消费、取现、转出 */
    char   szCertType[LEN_CERTTYPE + 1];    /* 证件类型 */
    char   szCertNo[LEN_CERTNO + 1];        /* 证件号 */
    char   szMerchNo[LEN_MERCHNO + 1];      /* 商户号 */
    char   szTrack2[LEN_TRACK2 + 1];        /* 第二磁道 */
    char   szTrack3[LEN_TRACK3 + 1];        /* 第三磁道 */
    char   szEntryMode[LEN_ENTRYMODE + 1];  /* 输入方式 */

} CSI18STRU;

typedef CSI18STRU *       PCSI18STRU;
typedef const CSI18STRU   CCSI18STRU;
typedef const CSI18STRU * PCCSI18STRU;

/* 
 * Auth Output Area
 */
 
typedef struct tagCSO18STRU
{
    char   szAuthCode[LEN_AUTHCODE + 1];    /* 授权码 */
    double dBal;                            /* 帐户余额 */
    double dAvailBal;                       /* 可用余额 */ 
    char   szCityCode[LEN_CITYCODE + 1];    /* 受理行城市代码 */
    char   szRespSeqNo[LEN_SEQNO + 1];   	

} CSO18STRU;

typedef CSO18STRU *       PCSO18STRU;
typedef const CSO18STRU   CCSO18STRU;
typedef const CSO18STRU * PCCSO18STRU;

/*
 * Cancel Input Area structure
 */
 
typedef struct tagCSI19STRU
{
    UINT   nOrgTransCode;
    char   szAccNo[LEN_ACCNO + 1];
    char   szExpDate[LEN_EXPDATE + 1];
    double dAmt;
    char   szOrgVchNo[LEN_VCHNO + 1];
    UINT   nOrgJrnNo;
    char   szTrack2[LEN_TRACK2 + 1];         /* 第二磁道 */
    char   szTrack3[LEN_TRACK3 + 1];         /* 第三磁道 */
    char   szEntryMode[LEN_ENTRYMODE + 1];   /* 输入方式 */
    char   szCancelLast[LEN_CANCELLAST + 1];

} CSI19STRU;

typedef CSI19STRU *       PCSI19STRU;
typedef const CSI19STRU   CCSI19STRU;
typedef const CSI19STRU * PCCSI19STRU;

/*
 * Functions declared in this file
 */
                    
RESULT HandleCsTransferIn(PCTIASTRU ptiastru, PTOASTRU ptoastru);
RESULT HandleCsTransferOut(PCTIASTRU ptiastru, PTOASTRU ptoastru);
RESULT HandleCsDeposit(PCTIASTRU ptiastru, PTOASTRU ptoastru);
RESULT HandleCsWithdraw(PCTIASTRU ptiastru, PTOASTRU ptoastru);
RESULT HandleCsQueryBal(PCTIASTRU ptiastru, PTOASTRU ptoastru);
RESULT HandleCsChangePin(PCTIASTRU ptiastru, PTOASTRU ptoastru);
RESULT HandleCsRefund(PCTIASTRU ptiastru, PTOASTRU ptoastru);
RESULT HandleCsLost(PCTIASTRU ptiastru, PTOASTRU ptoastru);
RESULT HandleCsCancel(PCTIASTRU ptiastru, PTOASTRU ptoastru);
RESULT HandleCsAuth(PCTIASTRU ptiastru, PTOASTRU ptoastru);

#endif /* __CS_H__ */

/* End of this file */                                                               

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -