C# 클래스 Card.KaiYuanYiTi

상속: ICard
파일 보기 프로젝트 열기: DuBin1988/newsellinggas

공개 메소드들

메소드 설명
CheckGasCard ( short com, int baud ) : int
FormatGasCard ( short com, int baud, string kmm, string kh, string dqdm ) : int
OpenCard ( short com, int baud ) : int
ReadGasCard ( short com, int baud, string &kh, int &ql, decimal &money, short &cs, short &bkcs, string &yhh ) : 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

비공개 메소드들

메소드 설명
ReadIcard ( Int32 com, Int32 baud, Int32 data ) : Int32
WriteIcard ( Int32 com, Int32 baud, Int32 data, Int32 IcNum, Int32 GasNum, Int32 IcardCont, Int32 IcardType ) : Int32
chk_card ( int icdev ) : Int16
ic_exit ( int icdev ) : int
ic_init ( Int16 com, Int32 baut ) : int

메소드 상세

CheckGasCard() 공개 메소드

public CheckGasCard ( short com, int baud ) : int
com short
baud int
리턴 int

FormatGasCard() 공개 메소드

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

OpenCard() 공개 메소드

public OpenCard ( short com, int baud ) : int
com short
baud int
리턴 int

ReadGasCard() 공개 메소드

public ReadGasCard ( short com, int baud, string &kh, int &ql, decimal &money, short &cs, short &bkcs, string &yhh ) : int
com short
baud int
kh string
ql int
money decimal
cs short
bkcs short
yhh string
리턴 int

Test() 공개 메소드

public Test ( ) : string
리턴 string

WriteGasCard() 공개 메소드

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
리턴 int

WriteNewCard() 공개 메소드

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
리턴 int