C# Класс Card.DanDongMinYong

Наследование: ICard
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
ReadInitCard ( Int16 com, Int32 baut, byte gasMetertype, Int32 &Bjql, Int32 &czsx, Int32 &tzql, Int32 &testgasvalue ) : int
StaticCheckGasCard ( Int16 com, Int32 baut ) : int
StaticFormatGasCard ( Int16 com, Int32 baut, byte kmm, Int16 klx, byte kh, byte dqdm ) : int
StaticReadGasCard ( Int16 com, Int32 baut, byte kmm, Int16 &klx, Int16 &kzt, byte kh, byte dqdm, byte yhh, byte tm, Int32 &ql, Int16 &cs, Int32 &ljgql, Int16 &bkcs, Int32 &ljyql, Int32 &syql, Int32 &bjql, Int32 &czsx, Int32 &tzed, byte sqrq, Int32 &oldprice, Int32 &newprice, byte sxrq, byte sxbj ) : int
StaticWriteGasCard ( Int16 com, Int32 baut, byte kmm, Int16 klx, byte kh, byte dqdm, byte yhh, Int32 ql, Int16 cs, Int32 ljgql, Int32 bjql, Int32 czsx, Int32 tzed, byte sqrq, Int32 oldprice, Int32 newprice, byte sxrq, byte sxbj ) : int
StaticWriteNewCard ( Int16 com, Int32 baut, byte kmm, Int16 klx, Int16 kzt, byte kh, byte dqdm, byte yhh, byte tm, Int32 ql, Int16 cs, Int32 ljgql, Int16 bkcs, Int32 ljyql, Int32 bjql, Int32 czsx, Int32 tzed, byte sqrq, Int32 oldprice, Int32 newprice, byte sxrq, byte sxbj ) : int
WriteGjkCard ( Int16 com, Int32 baut, byte kmm, int n, byte gasMetertype, Int32 bjql, Int32 czsx, Int32 tzed, Int32 Csql ) : 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

ReadGasCard() публичный Метод

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
Результат int

ReadGasCard() публичный Метод

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
Результат 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