C# Class Card.KeLuoMu

Inheritance: ICard
Show file Open project: DuBin1988/newsellinggas

Public Methods

Method Description
CheckGasCard ( Int16 com, Int32 baud ) : int
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 ) : 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

Method Description
MakeGasCard ( Int16 com, byte cardNo, byte customeNo, Int16 orderNum, Int32 orderamount ) : int
ReadGasCard ( Int16 com, byte kh, byte yhh, Int32 &ql, Int32 &cs, Int32 &ljgql, Int32 &syql, Int32 &klx ) : Int16
StaticCheckGasCard ( Int16 com, byte Istrue ) : int
StaticFormatGasCard ( Int16 com, byte customeNo ) : int
StaticWriteGasCard ( Int16 com, byte cardNo, byte customeNo, Int32 orderNum, Int32 orderamount ) : Int16
Staticrd_Company ( Int16 com, byte Istrue ) : int

Method Details

CheckGasCard() public method

public CheckGasCard ( Int16 com, Int32 baud ) : int
com System.Int16
baud System.Int32
return int

CheckGasCard() public method

public CheckGasCard ( short com, int baud ) : int
com short
baud int
return int

FormatGasCard() public method

public FormatGasCard ( short com, int baud, string kmm, string kh, string dqdm ) : int
com short
baud int
kmm string
kh string
dqdm string
return int

ReadGasCard() public method

public ReadGasCard ( short com, int baud, string &kh, int &ql, decimal &money, short &cs ) : int
com short
baud int
kh string
ql int
money decimal
cs short
return int

ReadGasCard() public method

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
return int

Test() public method

public Test ( ) : string
return string

WriteGasCard() public method

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
return int

WriteNewCard() public method

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
return int