C# 클래스 Card.HuaQing

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

공개 메소드들

메소드 설명
CheckGasCard ( Int16 com, Int32 baud ) : int
FormatGasCard ( Int16 com, Int32 baud, string kmm, string kh, string dqdm ) : int
OpenCard ( Int16 com, Int32 baud ) : int

航天卡实现,其他不用

ReadGasCard ( short com, int baud, string &kh, int &ql, decimal &money, short &cs, short &bkcs, string &dm ) : 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 klx, string meterid ) : int

비공개 메소드들

메소드 설명
asc_hex ( byte data_buffer, byte data_buffer1, Int16 length ) : Int16
csc_4442 ( int icdev, Int16 len, byte data_buffer ) : Int16
hex_asc ( byte data_buffer, byte data_buffer1, Int16 length ) : Int16
ic_exit ( int icdev ) : int
ic_init ( Int16 com, Int32 baud ) : int
srd_4442 ( int icdev, Int16 offset, Int16 len, byte data_buffer ) : Int16
swr_4442 ( int icdev, Int16 offset, Int16 len, byte data_buffer ) : Int16
wsc_4442 ( int icdev, Int16 len, byte data_buffer ) : Int16

메소드 상세

CheckGasCard() 공개 메소드

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

FormatGasCard() 공개 메소드

public FormatGasCard ( Int16 com, Int32 baud, string kmm, string kh, string dqdm ) : int
com System.Int16
baud System.Int32
kmm string
kh string
dqdm string
리턴 int

OpenCard() 공개 메소드

航天卡实现,其他不用
public OpenCard ( Int16 com, Int32 baud ) : int
com System.Int16 串口号,0代表串口1
baud System.Int32
리턴 int

ReadGasCard() 공개 메소드

public ReadGasCard ( short com, int baud, string &kh, int &ql, decimal &money, short &cs, short &bkcs, string &dm ) : int
com short
baud int
kh string
ql int
money decimal
cs short
bkcs short
dm 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 klx, string meterid ) : 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
klx int
meterid string
리턴 int