public static Guid FingerMarksValidation(String tellerNO, String orgNO, DateTime orignalDate, String markType, String markInfo, ref byte[] codemsg) { FingerMarkData reqdata = new FingerMarkData(); reqdata.ReqData.TradeDate = orignalDate.ToString("yyyy-MM-dd"); reqdata.ReqData.TradeTime = orignalDate.ToString("HH:mm:ss"); reqdata.ReqData.UnionNO = orgNO.Substring(0, 3); reqdata.ReqData.TellerNO = tellerNO; reqdata.ReqData.RespCount = "0"; reqdata.ReqData.FileCount = "0"; reqdata.ReqData.AuthFlag = "0"; FingerMarkReqSubMsg submsg = new FingerMarkReqSubMsg(); submsg.OperateType = "1"; submsg.DeviceType = markType; submsg.InstNO = orgNO.Substring(0, 3); submsg.TellerNO = tellerNO; submsg.MarkInfo = markInfo; reqdata.ReqData.MarkData = submsg.ToString(); return MsgTransfer.CodeMsgToBinary(reqdata, ref codemsg); }
public static Guid FingerMarksValidation(String tellerNO, String orgNO, DateTime orignalDate, String markType, String markInfo, ref byte[] codemsg) { FingerMarkData reqdata = new FingerMarkData(); reqdata.ReqData.TradeDate = orignalDate.ToString("yyyy-MM-dd"); reqdata.ReqData.TradeTime = orignalDate.ToString("HH:mm:ss"); reqdata.ReqData.UnionNO = orgNO.Substring(0, 3); reqdata.ReqData.TellerNO = tellerNO; reqdata.ReqData.RespCount = "0"; reqdata.ReqData.FileCount = "0"; reqdata.ReqData.AuthFlag = "0"; FingerMarkReqSubMsg submsg = new FingerMarkReqSubMsg(); submsg.OperateType = "1"; submsg.DeviceType = markType; submsg.InstNO = orgNO.Substring(0, 3); submsg.TellerNO = tellerNO; submsg.MarkInfo = markInfo; reqdata.ReqData.MarkData = submsg.ToString(); try { return PreProcessFingerMarksMsg(reqdata, ref codemsg); } catch (Exception ex) { throw new Exception(MESSAGE_ENCODE_EXCEPTION, ex); } }