C# Class Card.RuiSen

Inheritance: ICard
Afficher le fichier Open project: DuBin1988/newsellinggas

Méthodes publiques

Méthode Description
CheckGasCard ( short com, int baud ) : int
FormatGasCard ( short com, int baud, string kmm, string kh, string dqdm ) : int
ReadGasCard ( short com, int baud, string &kh, int &ql, decimal &money, short &cs, short &bkcs, string &dqdm ) : int
Test ( ) : string
WriteGasCard ( short com, int baud, string &kmm, string kh, string dqdm, int ql, int csql, int ccsql, short cs, int ljgql, int bjql, int czsx, int tzed, string sqrq, string cssqrq, int oldprice, int newprice, string sxrq, string sxbj ) : int
WriteNewCard ( short com, int baud, string &kmm, short kzt, string kh, string dqdm, string yhh, string tm, int ql, int csql, int ccsql, short cs, int ljgql, short bkcs, int ljyql, int bjql, int czsx, int tzed, string sqrq, string cssqrq, int oldprice, int newprice, string sxrq, string sxbj ) : int

Private Methods

Méthode Description
CloseIC ( ) : bool
FormatCard ( ) : bool
GasRollBack ( ) : bool
InitInduCard ( byte CardNo, Int32 GasV, Int32 BuyTimes, Int16 CardT ) : bool
OpenIC ( Int16 com ) : Int32
ReadInduCardInfo ( byte CardNo, Int32 &GasV, Int32 &BuyTimes ) : int
SellInduGas ( byte CardNo, Int32 GasV, Int32 BuyTimes ) : bool

Method Details

CheckGasCard() public méthode

public CheckGasCard ( short com, int baud ) : int
com short
baud int
Résultat int

FormatGasCard() public méthode

public FormatGasCard ( short com, int baud, string kmm, string kh, string dqdm ) : int
com short
baud int
kmm string
kh string
dqdm string
Résultat int

ReadGasCard() public méthode

public ReadGasCard ( short com, int baud, string &kh, int &ql, decimal &money, short &cs, short &bkcs, string &dqdm ) : int
com short
baud int
kh string
ql int
money decimal
cs short
bkcs short
dqdm string
Résultat int

Test() public méthode

public Test ( ) : string
Résultat string

WriteGasCard() public méthode

public WriteGasCard ( short com, int baud, string &kmm, string kh, string dqdm, int ql, int csql, int ccsql, short cs, int ljgql, int bjql, int czsx, int tzed, string sqrq, string cssqrq, int oldprice, int newprice, string sxrq, string sxbj ) : int
com short
baud int
kmm string
kh string
dqdm string
ql int
csql int
ccsql int
cs short
ljgql int
bjql int
czsx int
tzed int
sqrq string
cssqrq string
oldprice int
newprice int
sxrq string
sxbj string
Résultat int

WriteNewCard() public méthode

public WriteNewCard ( short com, int baud, string &kmm, short kzt, string kh, string dqdm, string yhh, string tm, int ql, int csql, int ccsql, short cs, int ljgql, short bkcs, int ljyql, int bjql, int czsx, int tzed, string sqrq, string cssqrq, int oldprice, int newprice, string sxrq, string sxbj ) : int
com short
baud int
kmm string
kzt short
kh string
dqdm string
yhh string
tm string
ql int
csql int
ccsql int
cs short
ljgql int
bkcs short
ljyql int
bjql int
czsx int
tzed int
sqrq string
cssqrq string
oldprice int
newprice int
sxrq string
sxbj string
Résultat int