C# Class SPH.SPH_IngenicoRBA_Common

Inheritance: SerialPortHandler
Afficher le fichier Open project: CORE-POS/IS4C

Protected Properties

Свойство Type Description
auto_state_change bool
last_message byte[]

Méthodes publiques

Méthode Description
HandleMessageFromDevice ( byte buffer ) : void
HandleMsg ( String msg ) : void
Read ( ) : void
SPH_IngenicoRBA_Common ( ) : System
SPH_IngenicoRBA_Common ( string p ) : System
WriteMessageToDevice ( byte msg ) : void

Méthodes protégées

Méthode Description
GetCardType ( ) : byte[]
GetVariableMessage ( string var_code ) : byte[]
HardResetMessage ( ) : byte[]
OfflineMessage ( ) : byte[]
OnlineMessage ( ) : byte[]
ParseAuthMessage ( byte msg ) : void
ParseSigBlockMessage ( int status, byte msg ) : void
ParseSigLengthMessage ( int status, byte msg ) : void
PinEntryScreen ( ) : byte[]
ReadConfigMessage ( string group_num, string index_num ) : byte[]
SaveStateMessage ( ) : byte[]
ScreenLinesReset ( ) : byte[]
SetVariableMessage ( string var_code, string var_value ) : byte[]
SigRequestMessage ( ) : byte[]
SimpleMessageScreen ( string the_message ) : byte[]
StatusRequestMessage ( ) : byte[]
SwipeCardScreen ( ) : byte[]
TermApprovedScreen ( ) : byte[]
TermWaitScreen ( ) : byte[]
UpdateScreenMessage ( string update ) : byte[]
WriteConfigMessage ( string group_num, string index_num, string val ) : byte[]

Private Methods

Méthode Description
CheckLRC ( byte b ) : bool
PushOutput ( string s ) : void

Method Details

GetCardType() protected méthode

protected GetCardType ( ) : byte[]
Résultat byte[]

GetVariableMessage() protected méthode

protected GetVariableMessage ( string var_code ) : byte[]
var_code string
Résultat byte[]

HandleMessageFromDevice() public méthode

public HandleMessageFromDevice ( byte buffer ) : void
buffer byte
Résultat void

HandleMsg() public méthode

public HandleMsg ( String msg ) : void
msg String
Résultat void

HardResetMessage() protected méthode

protected HardResetMessage ( ) : byte[]
Résultat byte[]

OfflineMessage() protected méthode

protected OfflineMessage ( ) : byte[]
Résultat byte[]

OnlineMessage() protected méthode

protected OnlineMessage ( ) : byte[]
Résultat byte[]

ParseAuthMessage() protected méthode

protected ParseAuthMessage ( byte msg ) : void
msg byte
Résultat void

ParseSigBlockMessage() protected méthode

protected ParseSigBlockMessage ( int status, byte msg ) : void
status int
msg byte
Résultat void

ParseSigLengthMessage() protected méthode

protected ParseSigLengthMessage ( int status, byte msg ) : void
status int
msg byte
Résultat void

PinEntryScreen() protected méthode

protected PinEntryScreen ( ) : byte[]
Résultat byte[]

Read() public méthode

public Read ( ) : void
Résultat void

ReadConfigMessage() protected méthode

protected ReadConfigMessage ( string group_num, string index_num ) : byte[]
group_num string
index_num string
Résultat byte[]

SPH_IngenicoRBA_Common() public méthode

public SPH_IngenicoRBA_Common ( ) : System
Résultat System

SPH_IngenicoRBA_Common() public méthode

public SPH_IngenicoRBA_Common ( string p ) : System
p string
Résultat System

SaveStateMessage() protected méthode

protected SaveStateMessage ( ) : byte[]
Résultat byte[]

ScreenLinesReset() protected méthode

protected ScreenLinesReset ( ) : byte[]
Résultat byte[]

SetVariableMessage() protected méthode

protected SetVariableMessage ( string var_code, string var_value ) : byte[]
var_code string
var_value string
Résultat byte[]

SigRequestMessage() protected méthode

protected SigRequestMessage ( ) : byte[]
Résultat byte[]

SimpleMessageScreen() protected méthode

protected SimpleMessageScreen ( string the_message ) : byte[]
the_message string
Résultat byte[]

StatusRequestMessage() protected méthode

protected StatusRequestMessage ( ) : byte[]
Résultat byte[]

SwipeCardScreen() protected méthode

protected SwipeCardScreen ( ) : byte[]
Résultat byte[]

TermApprovedScreen() protected méthode

protected TermApprovedScreen ( ) : byte[]
Résultat byte[]

TermWaitScreen() protected méthode

protected TermWaitScreen ( ) : byte[]
Résultat byte[]

UpdateScreenMessage() protected méthode

protected UpdateScreenMessage ( string update ) : byte[]
update string
Résultat byte[]

WriteConfigMessage() protected méthode

protected WriteConfigMessage ( string group_num, string index_num, string val ) : byte[]
group_num string
index_num string
val string
Résultat byte[]

WriteMessageToDevice() public méthode

public WriteMessageToDevice ( byte msg ) : void
msg byte
Résultat void

Property Details

auto_state_change protected_oe property

protected bool auto_state_change
Résultat bool

last_message protected_oe property

protected byte[] last_message
Résultat byte[]