예제 #1
0
 private void lblTuiKa_Click(object sender, EventArgs e)
 {
     SkyComm.cardInfoStruct = new CardInformationStruct();
     SkyComm.eCardAuthorizationData.Tables[0].Clear();
     SkyComm.DiagnoseID   = string.Empty;
     SkyComm.cardBlance   = 0;
     SkyComm.cardallmoney = 0;
     SkyComm.ExitCard();
     //this.Close();
 }
예제 #2
0
        public void ExitCard()
        {
            SkyComm.cardInfoStruct.CardNo = "";
            //电子卡退卡不调用退卡接口 wangchenyang case 31245 自助机健康卡改造
            var _isVirtualcard = SkyComm.cardInfoStruct.isVirtualcard;
            //身份证退卡不调用退卡接口  chenqinag Case:31784
            var _isIdentityCard = SkyComm.cardInfoStruct.isIdentityCard;

            SkyComm.cardInfoStruct = new CardInformationStruct();
            SkyComm.eCardAuthorizationData.Tables[0].Clear();
            SkyComm.DiagnoseID   = string.Empty;
            SkyComm.cardBlance   = 0;
            SkyComm.cardallmoney = 0;
            if (!_isVirtualcard && !_isIdentityCard)
            {
                SkyComm.ExitCard();
            }
        }