C# Class SPH.SPH_Datacap_EMVX

Inheritance: SerialPortHandler
显示文件 Open project: CORE-POS/IS4C

Protected Properties

Property Type Description
CONNECT_TIMEOUT short
LISTEN_PORT int
sequence_no string
server_list string

Public Methods

Method Description
HandleMsg ( string msg ) : void
Read ( ) : void
SPH_Datacap_EMVX ( string p ) : System

Protected Methods

Method Description
CoordsToInt ( string coord ) : int
GetHttpBody ( string http_request ) : string
GetSignature ( ) : string
InitPDCX ( ) : string
IsCanadianDeviceType ( string device ) : bool
PadReset ( ) : string
ProcessEMV ( string xml, bool autoReset ) : string
ProcessPDC ( string xml ) : string
SecureDeviceToEmvType ( string device ) : string
SecureDeviceToPadType ( string device ) : string
SequenceNo ( ) : string
SigDataToPoints ( string data ) : List
WrapHttpResponse ( string http_response ) : string
initDevice ( ) : bool

Method Details

CoordsToInt() protected method

protected CoordsToInt ( string coord ) : int
coord string
return int

GetHttpBody() protected method

protected GetHttpBody ( string http_request ) : string
http_request string
return string

GetSignature() protected method

protected GetSignature ( ) : string
return string

HandleMsg() public method

public HandleMsg ( string msg ) : void
msg string
return void

InitPDCX() protected method

protected InitPDCX ( ) : string
return string

IsCanadianDeviceType() protected method

protected IsCanadianDeviceType ( string device ) : bool
device string
return bool

PadReset() protected method

protected PadReset ( ) : string
return string

ProcessEMV() protected method

protected ProcessEMV ( string xml, bool autoReset ) : string
xml string
autoReset bool
return string

ProcessPDC() protected method

protected ProcessPDC ( string xml ) : string
xml string
return string

Read() public method

public Read ( ) : void
return void

SPH_Datacap_EMVX() public method

public SPH_Datacap_EMVX ( string p ) : System
p string
return System

SecureDeviceToEmvType() protected method

protected SecureDeviceToEmvType ( string device ) : string
device string
return string

SecureDeviceToPadType() protected method

protected SecureDeviceToPadType ( string device ) : string
device string
return string

SequenceNo() protected method

protected SequenceNo ( ) : string
return string

SigDataToPoints() protected method

protected SigDataToPoints ( string data ) : List
data string
return List

WrapHttpResponse() protected method

protected WrapHttpResponse ( string http_response ) : string
http_response string
return string

initDevice() protected method

protected initDevice ( ) : bool
return bool

Property Details

CONNECT_TIMEOUT protected_oe property

protected short CONNECT_TIMEOUT
return short

LISTEN_PORT protected_oe property

protected int LISTEN_PORT
return int

sequence_no protected_oe property

protected string sequence_no
return string

server_list protected_oe property

protected string server_list
return string