C# Class SPH.SPH_Datacap_PDCX

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

Protected Properties

Property Type Description
CONNECT_TIMEOUT short
LISTEN_PORT int
server_list string

Public Methods

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

Protected Methods

Method Description
CoordsToInt ( string coord ) : int
GetHttpBody ( string http_request ) : string
GetSignature ( ) : string
InitPDCX ( ) : string
SecureDeviceToPadType ( string device ) : 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

Read() public method

public Read ( ) : void
return void

SPH_Datacap_PDCX() public method

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

SecureDeviceToPadType() protected method

protected SecureDeviceToPadType ( string device ) : string
device 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

server_list protected_oe property

protected string server_list
return string