private static string CreateSMSMessage_EC(string brand, string pan, string date, string time, string vip_card, string vip_cif, string link_qc, string mobile, string loc_pan, string pass) { try { pan = pan.Substring(12, 4); if (vip_card == "Y" || vip_cif == "Y") { SCBPhone = "1800545438"; } else { SCBPhone = "19006538"; } string tmp_smsMessage = ""; string pass_ec = _dataAccess.Get_Pass_Encode(pass); string temp = pass_ec.Substring(4, 12) + pass_ec.Substring(0, 4); if (pass_ec != null) { tmp_smsMessage = "Chuc mung Quy khach kich hoat thanh cong the " + pan + ".Ma PIN giao dich ATM:" + temp + ".Chi tieu ngay de tan huong nhieu uu dai hap dan tai " + link_qc + ".LH " + SCBPhone; } return(tmp_smsMessage); } catch (Exception ex) { classKichHoatTheLogWriter.WriteLog("Error CreateSMSMessage_QC(), " + ex.Message); return(""); } }